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,7 +6,14 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="1px">
|
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
|
<ImageView
|
||||||
android:id="@+id/dir_pin"
|
android:id="@+id/dir_pin"
|
||||||
|
@ -29,7 +36,9 @@
|
||||||
android:id="@+id/dir_bottom_holder"
|
android:id="@+id/dir_bottom_holder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignLeft="@+id/tmb_wrapper"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_alignRight="@+id/tmb_wrapper"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="@dimen/small_margin"
|
android:paddingBottom="@dimen/small_margin"
|
||||||
|
|
|
@ -6,7 +6,14 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="1px">
|
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
|
<ImageView
|
||||||
android:id="@+id/play_outline"
|
android:id="@+id/play_outline"
|
||||||
|
@ -23,7 +30,9 @@
|
||||||
android:id="@+id/photo_name"
|
android:id="@+id/photo_name"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignLeft="@+id/tmb_wrapper"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_alignRight="@+id/tmb_wrapper"
|
||||||
android:background="@drawable/gradient_background"
|
android:background="@drawable/gradient_background"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:maxLines="3"
|
android:maxLines="3"
|
||||||
|
|
Loading…
Reference in a new issue