FossifyGalleryVisibilityPatch/app/src/main/res/layout/widget.xml

40 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-12-16 18:02:13 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/widget_holder"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/widget_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/widget_round_background" />
<ImageView
android:id="@+id/widget_imageview"
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-12-16 21:10:06 +01:00
android:layout_above="@+id/widget_folder_name"
android:layout_centerInParent="true"
android:paddingLeft="@dimen/tiny_margin"
android:paddingTop="@dimen/small_margin"
android:paddingRight="@dimen/tiny_margin"
android:paddingBottom="@dimen/small_margin"
tools:src="@mipmap/ic_launcher" />
<TextView
android:id="@+id/widget_folder_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-12-16 21:10:06 +01:00
android:layout_alignParentBottom="true"
android:ellipsize="end"
android:gravity="center"
android:includeFontPadding="false"
android:lines="1"
android:padding="@dimen/tiny_margin"
android:textSize="@dimen/bigger_text_size"
tools:text="@string/internal" />
</RelativeLayout>