mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +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,8 +6,15 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="1px">
|
||||
|
||||
<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"
|
||||
android:layout_width="@dimen/pin_size"
|
||||
|
@ -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,8 +6,15 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="1px">
|
||||
|
||||
<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"
|
||||
android:layout_width="@dimen/play_outline_size"
|
||||
|
@ -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