summaryrefslogtreecommitdiff
path: root/res/layout/home_button.xml
blob: 1854d55bd5eaa4391f270197c8ce6b6191a1d6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>