11<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2- xmlns : tools =" http://schemas.android.com/tools"
3- android : id =" @+id/ListEntriesLayout"
4- android : layout_width =" fill_parent"
5- android : layout_height =" fill_parent"
6- android : layout_gravity =" center"
7- android : gravity =" top"
8- android : orientation =" vertical"
9- android : paddingBottom =" @dimen/activity_vertical_margin "
10- android : paddingLeft =" @dimen/activity_horizontal_margin "
11- android : paddingRight =" @dimen/activity_horizontal_margin "
12- android : paddingTop =" @dimen/activity_vertical_margin "
13- tools : context =" org.astonbitecode.rustkeylock.MainActivity" >
2+ xmlns : tools =" http://schemas.android.com/tools"
3+ android : id =" @+id/ListEntriesLayout"
4+ android : layout_width =" fill_parent"
5+ android : layout_height =" fill_parent"
6+ android : layout_gravity =" center"
7+ android : gravity =" top"
8+ android : orientation =" vertical"
9+ android : paddingBottom =" 16dp "
10+ android : paddingLeft =" 16dp "
11+ android : paddingRight =" 16dp "
12+ android : paddingTop =" 16dp "
13+ tools : context =" org.astonbitecode.rustkeylock.MainActivity" >
1414
15- <TextView
16- android : id =" @+id/listMenuLabel"
17- android : layout_width =" wrap_content"
18- android : layout_height =" wrap_content"
19- android : text =" Passwords"
20- android : textAppearance =" ?android:attr/textAppearanceLarge" />
15+ <RelativeLayout
16+ android : layout_width =" match_parent"
17+ android : layout_height =" wrap_content"
18+ android : orientation =" horizontal"
19+ android : weightSum =" 3" >
20+ <Button
21+ android : id =" @+id/mainMenuButton"
22+ android : layout_width =" wrap_content"
23+ android : layout_height =" wrap_content"
24+ android : layout_alignParentLeft =" true"
25+ android : background =" @android:color/transparent"
26+ android : drawableTop =" @drawable/home"
27+ android : text =" Home" />
2128
22- <Button
23- android : id =" @+id/addNewButton"
24- android : layout_width =" wrap_content"
25- android : layout_height =" wrap_content"
26- android : layout_gravity =" right"
27- android : background =" @android:color/transparent"
28- android : drawableTop =" @drawable/newimage"
29- android : text =" New" />
29+ <TextView
30+ android : id =" @+id/listMenuLabel"
31+ android : layout_width =" wrap_content"
32+ android : layout_height =" wrap_content"
33+ android : text =" Passwords"
34+ android : layout_centerInParent =" true"
35+ android : textAppearance =" ?android:attr/textAppearanceLarge" />
36+
37+ <Button
38+ android : id =" @+id/addNewButton"
39+ android : layout_width =" wrap_content"
40+ android : layout_height =" wrap_content"
41+ android : layout_alignParentRight =" true"
42+ android : background =" @android:color/transparent"
43+ android : drawableTop =" @drawable/newimage"
44+ android : text =" New" />
45+ </RelativeLayout >
3046
3147 <EditText
32- android : id =" @+id/editFilter"
33- android : layout_width =" match_parent"
34- android : layout_height =" wrap_content"
35- android : layout_columnSpan =" 2"
36- android : hint =" Filter the displayed passwords..."
37- android : inputType =" text" />
48+ android : id =" @+id/editFilter"
49+ android : layout_width =" match_parent"
50+ android : layout_height =" wrap_content"
51+ android : layout_columnSpan =" 2"
52+ android : hint =" Filter the displayed passwords..."
53+ android : inputType =" text" />
3854
3955 <ListView
40- android : id =" @android:id/list"
41- android : layout_width =" fill_parent"
42- android : layout_height =" fill_parent" >
56+ android : id =" @android:id/list"
57+ android : layout_width =" fill_parent"
58+ android : layout_height =" fill_parent" >
4359 </ListView >
4460
4561</LinearLayout >
0 commit comments