2009-10-21 23:17:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-06-21 03:46:06 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2011-04-17 06:03:32 +00:00
|
|
|
android:id="@+id/viewMain"
|
2012-06-21 03:46:06 +00:00
|
|
|
|
|
|
|
android:paddingTop="0sp">
|
2010-02-08 20:39:42 +00:00
|
|
|
|
2012-10-01 07:06:15 +00:00
|
|
|
<org.torproject.android.RandomColorCircleView android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"></org.torproject.android.RandomColorCircleView>
|
2012-06-21 03:46:06 +00:00
|
|
|
|
2010-02-08 20:39:42 +00:00
|
|
|
<RelativeLayout android:id="@+id/layoutHeaderMain"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:background="#A0909090">
|
2011-05-17 02:03:07 +00:00
|
|
|
<ImageView android:id="@+id/radioModeImage"
|
2010-02-08 20:39:42 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-06-29 15:41:13 +00:00
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginRight="3dp"
|
2010-02-08 20:39:42 +00:00
|
|
|
android:gravity="right"
|
|
|
|
android:layout_toRightOf="@+id/radioModeLabel"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:src="@drawable/tor25"
|
|
|
|
/>
|
|
|
|
<TextView android:id="@+id/radioModeText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-02-27 11:50:35 +00:00
|
|
|
android:text="@string/powered_by"
|
2012-06-29 15:41:13 +00:00
|
|
|
android:layout_marginTop="8dp"
|
2010-02-08 20:39:42 +00:00
|
|
|
android:layout_marginRight="0px"
|
|
|
|
android:gravity="right"
|
|
|
|
android:layout_toLeftOf="@+id/radioModeImage"
|
2011-05-17 02:03:07 +00:00
|
|
|
android:textColor="#cccccc" />
|
2010-02-08 20:39:42 +00:00
|
|
|
</RelativeLayout>
|
2012-06-21 03:46:06 +00:00
|
|
|
<LinearLayout android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:orientation="vertical" android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
|
2012-10-01 07:06:15 +00:00
|
|
|
<org.torproject.android.ImageProgressView
|
2011-05-17 02:03:07 +00:00
|
|
|
android:id="@+id/imgStatus"
|
2011-05-17 03:08:30 +00:00
|
|
|
android:layout_width="fill_parent"
|
2012-06-28 04:46:54 +00:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:layout_weight="1"
|
2011-05-17 02:03:07 +00:00
|
|
|
android:src="@drawable/toroff"
|
2012-06-21 03:46:06 +00:00
|
|
|
android:layout_gravity="center_horizontal" />
|
2011-05-17 02:03:07 +00:00
|
|
|
|
|
|
|
<TextView android:id="@+id/lblStatus"
|
|
|
|
android:text="@string/press_to_start"
|
2011-05-17 03:08:30 +00:00
|
|
|
android:gravity="center_horizontal"
|
2011-05-17 02:03:07 +00:00
|
|
|
android:textStyle="bold"
|
2011-05-17 03:08:30 +00:00
|
|
|
android:layout_width="fill_parent"
|
2012-06-28 04:46:54 +00:00
|
|
|
android:layout_height="wrap_content"
|
2012-10-01 07:06:15 +00:00
|
|
|
android:layout_marginBottom="50dp"
|
2011-05-17 02:03:07 +00:00
|
|
|
android:textColor="#ffffff"
|
|
|
|
/>
|
2012-10-01 07:06:15 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<SlidingDrawer
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:id="@+id/SlidingDrawer"
|
|
|
|
android:handle="@+id/slideButton"
|
|
|
|
android:content="@+id/trafficRow"
|
|
|
|
android:padding="10dip"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:gravity="bottom"
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/slideButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:text="@string/menu_log" ></Button>
|
|
|
|
|
2011-07-03 08:39:49 +00:00
|
|
|
<RelativeLayout android:id="@+id/trafficRow"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="top"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:visibility="invisible"
|
2012-09-30 13:07:37 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:layout_marginTop="6dp"
|
2012-10-01 07:06:15 +00:00
|
|
|
android:background="#ee333333">
|
2012-10-04 05:56:12 +00:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/rowTrafficDown" android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
2011-07-03 08:39:49 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/trafficDownLabel"
|
|
|
|
android:textColor="#FFFFFFFF"
|
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"
|
|
|
|
android:textSize="20sp"
|
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"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:textStyle="bold" />
|
2012-10-04 05:56:12 +00:00
|
|
|
|
2011-07-03 08:39:49 +00:00
|
|
|
<TextView
|
2012-10-04 05:56:12 +00:00
|
|
|
android:id="@+id/trafficDown"
|
|
|
|
android:textColor="#FF00B627"
|
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"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:gravity="center_vertical"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:textStyle="bold" />
|
2012-10-04 05:56:12 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/rowTrafficUp"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/rowTrafficDown"
|
|
|
|
>
|
2011-07-03 08:39:49 +00:00
|
|
|
<TextView
|
2012-10-04 05:56:12 +00:00
|
|
|
android:id="@+id/trafficUpLabel"
|
|
|
|
android:textColor="#FFFFFFFF"
|
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"
|
|
|
|
android:text="@string/main_layout_upload"
|
2012-09-30 18:27:46 +00:00
|
|
|
android:textSize="20sp"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="center_vertical"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/trafficUp"
|
2012-09-30 13:07:37 +00:00
|
|
|
android:textColor="#FF00B627"
|
|
|
|
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-09-30 18:27:46 +00:00
|
|
|
android:textSize="20sp"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:gravity="center_vertical"
|
2011-07-03 08:39:49 +00:00
|
|
|
android:textStyle="bold" />
|
2012-10-04 05:56:12 +00:00
|
|
|
</RelativeLayout>
|
2012-10-01 07:06:15 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/orbotLog"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:gravity="left"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
2012-10-04 05:56:12 +00:00
|
|
|
android:layout_below="@+id/rowTrafficUp"
|
2012-10-01 07:06:15 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
/>
|
2012-09-30 12:44:25 +00:00
|
|
|
</RelativeLayout>
|
2012-10-01 07:06:15 +00:00
|
|
|
</SlidingDrawer>
|
2012-06-21 03:46:06 +00:00
|
|
|
|
|
|
|
</FrameLayout>
|
2009-10-21 23:17:45 +00:00
|
|
|
|