2009-10-21 23:17:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-02-01 17:49:10 +00:00
|
|
|
|
|
|
|
<LinearLayout android:gravity="center_vertical|center_horizontal"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical" android:layout_width="match_parent"
|
2015-02-02 04:35:57 +00:00
|
|
|
android:layout_height="match_parent"
|
2015-06-22 16:25:37 +00:00
|
|
|
|
2015-02-02 04:35:57 +00:00
|
|
|
>
|
2015-02-02 16:26:43 +00:00
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<android.support.v4.widget.DrawerLayout
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/content_frame"
|
|
|
|
>
|
|
|
|
|
2015-02-01 17:49:10 +00:00
|
|
|
<LinearLayout android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:orientation="vertical" android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-02-02 16:26:43 +00:00
|
|
|
|
2015-02-01 17:49:10 +00:00
|
|
|
>
|
2015-02-02 16:26:43 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
2015-02-01 17:49:10 +00:00
|
|
|
|
2014-03-03 15:37:01 +00:00
|
|
|
<!--
|
2011-05-17 02:03:07 +00:00
|
|
|
<TextView android:id="@+id/lblStatus"
|
2015-02-01 17:49:10 +00:00
|
|
|
android:text="status status status"
|
2011-05-17 03:08:30 +00:00
|
|
|
android:gravity="center_horizontal"
|
2014-11-29 04:52:57 +00:00
|
|
|
android:textSize="20sp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-02-01 17:49:10 +00:00
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginLeft="40dp"
|
|
|
|
android:layout_marginRight="40dp"
|
2011-05-17 02:03:07 +00:00
|
|
|
android:textColor="#ffffff"
|
2015-02-01 17:49:10 +00:00
|
|
|
android:maxLines="1"
|
2013-08-19 15:17:11 +00:00
|
|
|
android:fontFamily="sans-serif-light"
|
2011-05-17 02:03:07 +00:00
|
|
|
/>
|
2015-02-01 17:49:10 +00:00
|
|
|
-->
|
|
|
|
|
2012-10-04 05:56:12 +00:00
|
|
|
<RelativeLayout
|
2012-10-21 10:02:54 +00:00
|
|
|
android:id="@+id/rowTrafficDown"
|
2015-02-01 17:49:10 +00:00
|
|
|
android:layout_width="match_parent"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
2012-10-21 10:02:54 +00:00
|
|
|
android:paddingLeft="3sp"
|
|
|
|
android:paddingRight="3sp"
|
|
|
|
|
2012-10-04 05:56:12 +00:00
|
|
|
>
|
2011-07-03 08:39:49 +00:00
|
|
|
<TextView
|
2012-10-21 10:02:54 +00:00
|
|
|
android:id="@+id/trafficLabelDown"
|
2012-09-30 13:07:37 +00:00
|
|
|
android:layout_width="wrap_content"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2012-10-21 10:02:54 +00:00
|
|
|
android:textSize="15sp"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:text="@string/main_layout_download"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="center_vertical"
|
2013-08-19 15:17:11 +00:00
|
|
|
android:fontFamily="sans-serif-light" />
|
2012-10-21 10:02:54 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/trafficLabelUp"
|
2012-09-30 13:07:37 +00:00
|
|
|
android:layout_width="wrap_content"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:layout_alignParentRight="true"
|
2012-10-21 10:02:54 +00:00
|
|
|
android:text="@string/main_layout_upload"
|
|
|
|
android:textSize="15sp"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="center_vertical"
|
2013-08-19 15:17:11 +00:00
|
|
|
android:fontFamily="sans-serif-light" />
|
2012-10-21 10:02:54 +00:00
|
|
|
|
2012-10-04 05:56:12 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/rowTrafficUp"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-10-21 10:02:54 +00:00
|
|
|
android:paddingLeft="3sp"
|
|
|
|
android:paddingRight="3sp"
|
|
|
|
android:paddingBottom="3sp"
|
|
|
|
|
2012-10-04 05:56:12 +00:00
|
|
|
>
|
2011-07-03 08:39:49 +00:00
|
|
|
<TextView
|
2012-10-21 10:02:54 +00:00
|
|
|
android:id="@+id/trafficDown"
|
2012-09-30 13:07:37 +00:00
|
|
|
android:layout_width="wrap_content"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2012-10-21 10:02:54 +00:00
|
|
|
android:textSize="15sp"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="center_vertical"
|
2013-08-19 15:17:11 +00:00
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
/>
|
2015-02-02 16:26:43 +00:00
|
|
|
|
2011-07-03 08:39:49 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/trafficUp"
|
2012-09-30 13:07:37 +00:00
|
|
|
android:layout_width="wrap_content"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:layout_alignParentRight="true"
|
2012-10-21 10:02:54 +00:00
|
|
|
android:textSize="15sp"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="center_vertical"
|
2013-08-19 15:17:11 +00:00
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
/>
|
2012-10-04 05:56:12 +00:00
|
|
|
</RelativeLayout>
|
2015-02-01 17:49:10 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2015-06-22 16:25:37 +00:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/pbConnecting"
|
|
|
|
style="?android:attr/progressBarStyleLarge"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="60dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
|
|
|
|
android:layout_gravity="center_horizontal|center_vertical"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
2015-02-02 16:26:43 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-06-22 16:25:37 +00:00
|
|
|
android:id="@+id/frameMain"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_gravity="center_horizontal|center_vertical"
|
|
|
|
>
|
|
|
|
<org.torproject.android.ui.ImageProgressView
|
|
|
|
android:id="@+id/imgStatus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight=".8"
|
|
|
|
|
|
|
|
android:padding="0dp"
|
|
|
|
android:layout_margin="0dp"
|
|
|
|
android:src="@drawable/toroff" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblStatus"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:text=""
|
|
|
|
android:lines="2"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_margin="0dp"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
/>
|
2015-02-01 17:49:10 +00:00
|
|
|
|
2015-02-02 16:26:43 +00:00
|
|
|
<LinearLayout android:gravity="center_horizontal"
|
|
|
|
android:orientation="horizontal" android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-30 18:21:33 +00:00
|
|
|
|
2015-06-22 16:25:37 +00:00
|
|
|
android:layout_gravity="bottom"
|
2015-02-02 16:26:43 +00:00
|
|
|
>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnBrowser"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-16 15:40:48 +00:00
|
|
|
android:text="@string/menu_verify_browser"
|
2015-12-30 18:21:33 +00:00
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
2015-04-12 01:19:42 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
2015-02-02 16:26:43 +00:00
|
|
|
/>
|
|
|
|
|
2015-02-14 07:30:02 +00:00
|
|
|
|
2015-02-04 19:55:42 +00:00
|
|
|
<ToggleButton
|
2015-02-02 16:26:43 +00:00
|
|
|
android:id="@+id/btnVPN"
|
2015-12-30 18:21:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
2015-02-02 16:26:43 +00:00
|
|
|
android:layout_height="wrap_content"
|
2015-02-14 07:30:02 +00:00
|
|
|
android:textOff="@string/menu_vpn"
|
2015-12-16 14:59:00 +00:00
|
|
|
android:textOn="@string/menu_vpn"
|
2015-02-15 06:22:15 +00:00
|
|
|
android:layout_margin="3dp"
|
2015-04-12 01:19:42 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
2015-02-02 16:26:43 +00:00
|
|
|
/>
|
2015-03-17 17:04:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
<ToggleButton
|
|
|
|
android:id="@+id/btnBridges"
|
2015-12-30 18:21:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
2015-03-17 17:04:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textOff="@string/bridges"
|
|
|
|
android:textOn="@string/bridges"
|
2015-12-30 18:21:33 +00:00
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
2015-04-12 01:19:42 +00:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
2015-03-17 17:04:20 +00:00
|
|
|
/>
|
2016-01-07 04:42:08 +00:00
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spinnerCountry"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
2015-02-02 16:26:43 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
2015-06-22 16:25:37 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2015-02-02 16:26:43 +00:00
|
|
|
</LinearLayout>
|
2015-02-01 17:49:10 +00:00
|
|
|
</LinearLayout>
|
2015-06-22 16:25:37 +00:00
|
|
|
|
2015-02-02 16:26:43 +00:00
|
|
|
<LinearLayout
|
2015-02-04 17:36:24 +00:00
|
|
|
android:layout_width="320dp"
|
2015-02-02 16:26:43 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/left_drawer"
|
2015-02-04 17:36:24 +00:00
|
|
|
android:layout_gravity="start"
|
|
|
|
android:background="#333333"
|
2015-02-02 16:26:43 +00:00
|
|
|
>
|
2015-02-04 17:36:24 +00:00
|
|
|
<TextView
|
2012-10-01 07:06:15 +00:00
|
|
|
android:id="@+id/orbotLog"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:gravity="left"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:textIsSelectable="true"
|
2015-02-04 17:36:24 +00:00
|
|
|
android:fontFamily="monospace"
|
2012-10-01 07:06:15 +00:00
|
|
|
/>
|
2015-02-04 17:36:24 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-02-01 17:49:10 +00:00
|
|
|
|
2009-10-21 23:17:45 +00:00
|
|
|
|