blob: 5a972acfb34b711c830c673a93161a4302558f3c (
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
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center" >
<Button
android:id="@+id/chs_footer_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/chs_footer_new_layout"
android:layout_alignTop="@+id/chs_footer_new_layout"
android:background="@android:drawable/list_selector_background"
android:drawableLeft="@android:drawable/ic_input_add"
android:drawablePadding="10dp"
android:gravity="center_vertical"
android:text="@string/add_new_set"
android:textAppearance="@android:style/TextAppearance.Large"
android:textColor="?android:textColorPrimary" />
<RelativeLayout
android:id="@+id/chs_footer_new_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:visibility="invisible" >
<ImageButton
android:id="@+id/chs_footer_cancel_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/chs_footer_field"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:background="@android:drawable/list_selector_background"
android:padding="10dp"
android:src="@android:drawable/ic_delete" />
<EditText
android:id="@+id/chs_footer_field"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="3dp"
android:layout_marginTop="6dp"
android:layout_toLeftOf="@+id/chs_footer_create_button"
android:layout_toRightOf="@+id/chs_footer_cancel_button"
android:hint="@string/name"
android:inputType="textCapWords"
android:singleLine="true" />
<ImageButton
android:id="@+id/chs_footer_create_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/chs_footer_field"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@android:drawable/list_selector_background"
android:padding="10dp"
android:src="@android:drawable/ic_input_add" />
</RelativeLayout>
</RelativeLayout>
|