diff options
Diffstat (limited to 'res/layout/home_button.xml')
-rw-r--r-- | res/layout/home_button.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/res/layout/home_button.xml b/res/layout/home_button.xml new file mode 100644 index 0000000..1854d55 --- /dev/null +++ b/res/layout/home_button.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:background="@drawable/home_button_bg" + android:clickable="true" + > + + <ImageView tools:ignore="ContentDescription" + android:id="@+id/icon" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginBottom="14dip" + android:scaleType="center" + /> + + <TextView + android:id="@+id/label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_alignParentBottom="true" + android:layout_marginBottom="14dip" + android:textColor="@color/home_button_label" + /> + +</RelativeLayout> |