| 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> |