[or-cvs] r21762: {projects} added new list layout resources for transproxy app chooser v (in projects/android/trunk/Orbot/res: layout values)

Nathan Freitas nathan at freitas.net
Sat Feb 27 23:57:22 UTC 2010


Author: n8fr8
Date: 2010-02-27 23:57:22 +0000 (Sat, 27 Feb 2010)
New Revision: 21762

Added:
   projects/android/trunk/Orbot/res/layout/layout_apps.xml
   projects/android/trunk/Orbot/res/layout/layout_apps_item.xml
Modified:
   projects/android/trunk/Orbot/res/values/strings.xml
Log:
added new list layout resources for transproxy app chooser view

Added: projects/android/trunk/Orbot/res/layout/layout_apps.xml
===================================================================
--- projects/android/trunk/Orbot/res/layout/layout_apps.xml	                        (rev 0)
+++ projects/android/trunk/Orbot/res/layout/layout_apps.xml	2010-02-27 23:57:22 UTC (rev 21762)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:duplicateParentState="false">
+<TextView android:text="Check the apps you wish to route through Tor:"
+				android:layout_width="fill_parent" 
+				android:layout_height="wrap_content"
+				android:textSize="16sp"					
+				android:textColor="#00ff00"
+				android:padding="3px" />
+	<ListView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/applistview"></ListView>
+</LinearLayout>

Added: projects/android/trunk/Orbot/res/layout/layout_apps_item.xml
===================================================================
--- projects/android/trunk/Orbot/res/layout/layout_apps_item.xml	                        (rev 0)
+++ projects/android/trunk/Orbot/res/layout/layout_apps_item.xml	2010-02-27 23:57:22 UTC (rev 21762)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:orientation="horizontal"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    >
+
+<CheckBox android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/itemcheck"></CheckBox>
+<TextView android:layout_height="wrap_content" android:id="@+id/itemtext" android:text="uid:packages" android:layout_width="fill_parent"
+android:textSize="18sp"
+></TextView>
+</LinearLayout>

Modified: projects/android/trunk/Orbot/res/values/strings.xml
===================================================================
--- projects/android/trunk/Orbot/res/values/strings.xml	2010-02-27 23:56:46 UTC (rev 21761)
+++ projects/android/trunk/Orbot/res/values/strings.xml	2010-02-27 23:57:22 UTC (rev 21762)
@@ -23,7 +23,9 @@
 <string name="menu_settings">Settings</string>
 <string name="menu_log">Log</string>
 <string name="menu_info">Info</string>
+<string name="menu_apps">Apps</string>
 
+
 <string name="button_help">Help</string>
 <string name="button_close">Close</string>
 <string name="button_about">About</string>



More information about the tor-commits mailing list