Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: res/layout/preferences.xml

Issue 8363097: ABP/Android preferences UI (Closed) Base URL: https://hg.adblockplus.org/adblockplusandroid/
Patch Set: Created Sept. 14, 2012, 8:20 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="fill_parent"
4 android:layout_height="fill_parent"
5 android:orientation="vertical" >
6
7 <LinearLayout
8 style="@android:style/ButtonBar"
9 android:layout_width="fill_parent"
10 android:layout_height="wrap_content"
11 android:orientation="horizontal" >
12
13 <ImageView
14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content"
16 android:layout_gravity="center"
17 android:contentDescription="@string/app_name"
18 android:paddingRight="3dip"
19 android:src="@drawable/ic_launcher" />
20
21 <TextView
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:layout_gravity="center"
25 android:layout_weight="1"
26 android:fadingEdge="horizontal"
27 android:singleLine="true"
28 android:text="@string/app_name"
29 android:textAppearance="?android:attr/textAppearanceLarge" />
30
31 <LinearLayout
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_weight="0"
35 android:gravity="right"
36 android:orientation="horizontal" >
37
38 <ImageButton
39 android:id="@+id/btn_help"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:contentDescription="@string/help"
43 android:onClick="onHelp"
44 android:src="@drawable/ic_menu_help" />
45
46 <ImageButton
47 android:id="@+id/btn_about"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:contentDescription="@string/about"
51 android:onClick="onAbout"
52 android:src="@drawable/ic_menu_info_details" />
53 </LinearLayout>
54 </LinearLayout>
55
56 <TextView
57 android:id="@+id/txt_configuration"
58 style="@style/MessageText"
59 android:layout_width="fill_parent"
60 android:layout_height="wrap_content"
61 android:visibility="gone" />
62
63 <ListView
64 android:id="@android:id/list"
65 android:layout_width="fill_parent"
66 android:layout_height="fill_parent"
67 android:drawSelectorOnTop="false"
68 android:scrollbarAlwaysDrawVerticalTrack="true" />
69
70 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld