mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
make sure the folder or image name doesnt stretch beyond the image
This commit is contained in:
parent
2e54fc02f3
commit
39196be6d5
2 changed files with 20 additions and 2 deletions
|
@ -6,7 +6,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="1px">
|
||||
|
||||
<include layout="@layout/directory_tmb"/>
|
||||
<FrameLayout
|
||||
android:id="@+id/tmb_wrapper"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<include layout="@layout/directory_tmb"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dir_pin"
|
||||
|
@ -29,7 +36,9 @@
|
|||
android:id="@+id/dir_bottom_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/tmb_wrapper"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignRight="@+id/tmb_wrapper"
|
||||
android:gravity="bottom"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/small_margin"
|
||||
|
|
|
@ -6,7 +6,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="1px">
|
||||
|
||||
<include layout="@layout/photo_video_tmb"/>
|
||||
<FrameLayout
|
||||
android:id="@+id/tmb_wrapper"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<include layout="@layout/photo_video_tmb"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/play_outline"
|
||||
|
@ -23,7 +30,9 @@
|
|||
android:id="@+id/photo_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/tmb_wrapper"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignRight="@+id/tmb_wrapper"
|
||||
android:background="@drawable/gradient_background"
|
||||
android:gravity="bottom"
|
||||
android:maxLines="3"
|
||||
|
|
Loading…
Reference in a new issue