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

Unified Diff: res/layout/preferences.xml

Issue 8493083: ABP/Android UI (Closed)
Patch Set: ABP/Android UI Created Oct. 12, 2012, 1:24 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « res/layout/configuration.xml ('k') | res/menu/menu_preferences.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: res/layout/preferences.xml
===================================================================
new file mode 100755
--- /dev/null
+++ b/res/layout/preferences.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ style="@android:style/ButtonBar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:contentDescription="@string/app_name"
+ android:paddingRight="3dip"
+ android:src="@drawable/ic_launcher" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_weight="1"
+ android:fadingEdge="horizontal"
+ android:singleLine="true"
+ android:text="@string/app_name"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:gravity="right"
+ android:orientation="horizontal" >
+
+ <ImageButton
+ android:id="@+id/btn_help"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/help"
+ android:onClick="onHelp"
+ android:src="@drawable/ic_menu_help" />
+
+ <ImageButton
+ android:id="@+id/btn_about"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/about"
+ android:onClick="onAbout"
+ android:src="@drawable/ic_menu_info_details" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/txt_configuration"
+ style="@style/MessageText"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:drawSelectorOnTop="false"
+ android:scrollbarAlwaysDrawVerticalTrack="true" />
+
+</LinearLayout>
« no previous file with comments | « res/layout/configuration.xml ('k') | res/menu/menu_preferences.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld