couple UI updates to the directory list view

This commit is contained in:
tibbi 2017-09-29 20:24:35 +02:00
parent c9e355eecf
commit 2ee425e21d

View file

@ -31,10 +31,10 @@
android:layout_toRightOf="@+id/dir_thumbnail" android:layout_toRightOf="@+id/dir_thumbnail"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
android:paddingLeft="@dimen/small_margin" android:paddingLeft="6dp"
android:paddingRight="@dimen/small_margin" android:paddingRight="6dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="@dimen/normal_text_size"/> android:textSize="@dimen/bigger_text_size"/>
<TextView <TextView
android:id="@+id/photo_cnt" android:id="@+id/photo_cnt"
@ -46,28 +46,31 @@
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="@dimen/smaller_text_size"/> android:textSize="@dimen/smaller_text_size"/>
<ImageView <LinearLayout
android:id="@+id/dir_pin" android:id="@+id/dir_icon_holder"
android:layout_width="@dimen/selection_check_size" android:layout_width="wrap_content"
android:layout_height="@dimen/selection_check_size" android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_margin="@dimen/small_margin" android:layout_marginRight="@dimen/small_margin"
android:background="@drawable/circle_black_background" android:gravity="end"
android:padding="@dimen/small_margin" android:orientation="horizontal">
android:src="@drawable/ic_pin"/>
<ImageView <ImageView
android:id="@+id/dir_sd_card" android:id="@+id/dir_sd_card"
android:layout_width="@dimen/sd_card_icon_size" android:layout_width="@dimen/sd_card_icon_size"
android:layout_height="@dimen/sd_card_icon_size" android:layout_height="@dimen/sd_card_icon_size"
android:layout_alignParentBottom="true"
android:layout_toLeftOf="@+id/dir_pin"
android:paddingBottom="@dimen/small_margin" android:paddingBottom="@dimen/small_margin"
android:paddingEnd="@dimen/small_margin"
android:paddingRight="@dimen/small_margin"
android:src="@drawable/ic_sd_card" android:src="@drawable/ic_sd_card"
android:visibility="gone"/> android:visibility="gone"/>
<ImageView
android:id="@+id/dir_pin"
android:layout_width="@dimen/sd_card_icon_size"
android:layout_height="@dimen/sd_card_icon_size"
android:paddingBottom="@dimen/small_margin"
android:src="@drawable/ic_pin"
android:visibility="gone"/>
</LinearLayout>
</RelativeLayout> </RelativeLayout>