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

33 lines
1.1 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_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"
2018-12-16 21:18:16 +01:00
android:paddingTop="@dimen/tiny_margin"
android:paddingRight="@dimen/tiny_margin"
2018-12-16 18:02:13 +01:00
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:lines="1"
android:padding="@dimen/tiny_margin"
android:textSize="@dimen/bigger_text_size"
tools:text="@string/internal"/>
</RelativeLayout>