summaryrefslogtreecommitdiffstats
path: root/res/layout/nav_bar.xml
blob: 5130c93ec13fcb6c159c94b8e64ef557363a6e7f (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:padding="25dp"
    android:orientation="vertical">
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        android:layout_gravity="center"
        android:layout_weight="0.2"
        android:text="@string/navigation_bar_help_text"
        android:textSize="14sp" />
    <LinearLayout
        android:layout_weight="0.8"
        android:layout_width="match_parent"
        android:gravity="center_horizontal"
        android:layout_height="0dp">
        <LinearLayout
            android:id="@+id/navbar_restore"
            android:layout_marginRight="25dp"
            style="?android:attr/borderlessButtonStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:gravity="center"
            android:background="@drawable/ripple_drawable">
            <ImageView
                android:paddingBottom="15dp"
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:src="@drawable/ic_navbar_restore" />
            <TextView
                android:gravity="center_horizontal"
                android:textAllCaps="true"
                android:text="@string/navigation_restore_button_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="14sp" />
        </LinearLayout>
        <LinearLayout
            android:visibility="gone"
            android:id="@+id/navbar_save"
            style="?android:attr/borderlessButtonStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:gravity="center"
            android:background="@drawable/ripple_drawable">
            <ImageView
                android:paddingBottom="15dp"
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:src="@drawable/ic_navbar_save" />
            <TextView
                android:textAllCaps="true"
                android:text="@string/navigation_save_button_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="14sp" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/navbar_edit"
            style="?android:attr/borderlessButtonStyle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:gravity="center"
            android:background="@drawable/ripple_drawable">
            <ImageView
                android:paddingBottom="15dp"
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:src="@drawable/ic_navbar_edit" />
            <TextView
                android:textAllCaps="true"
                android:text="@string/navigation_edit_button_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="14sp" />
        </LinearLayout>
    </LinearLayout>
</LinearLayout>