|
|
|
@ -1,5 +1,6 @@
@@ -1,5 +1,6 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
android:id="@+id/activity_main" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
@ -10,14 +11,17 @@
@@ -10,14 +11,17 @@
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="center_horizontal" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
|
android:id="@+id/mainLogo" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="140dp" |
|
|
|
|
android:src="@drawable/ic_logo" /> |
|
|
|
|
android:contentDescription="@string/app_name" |
|
|
|
|
android:src="@drawable/ic_logo" |
|
|
|
|
tools:ignore="ImageContrastCheck" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
style="@android:style/Widget.Holo.Light.TextView.SpinnerItem" |
|
|
|
@ -43,50 +47,108 @@
@@ -43,50 +47,108 @@
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="@dimen/margin_medium" /> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/appStatusText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_gravity="center"> |
|
|
|
|
|
|
|
|
|
<Button |
|
|
|
|
android:id="@+id/enableButton" |
|
|
|
|
style="@android:style/Widget.Button.Inset" |
|
|
|
|
android:layout_width="@dimen/margin_huge" |
|
|
|
|
android:layout_height="@dimen/margin_huge" |
|
|
|
|
android:layout_centerInParent="true" |
|
|
|
|
android:background="@android:drawable/presence_offline" |
|
|
|
|
android:longClickable="true" /> |
|
|
|
|
|
|
|
|
|
<Button |
|
|
|
|
android:id="@+id/disableButton" |
|
|
|
|
style="@android:style/Widget.Button.Inset" |
|
|
|
|
android:layout_width="@dimen/margin_huge" |
|
|
|
|
android:layout_height="@dimen/margin_huge" |
|
|
|
|
android:layout_centerInParent="true" |
|
|
|
|
android:background="@android:drawable/presence_online" |
|
|
|
|
android:longClickable="true" |
|
|
|
|
android:visibility="invisible" /> |
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
android:gravity="center_horizontal" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Large" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
|
|
|
|
|
<Space |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="@dimen/margin_medium" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/appStatusText" |
|
|
|
|
android:id="@+id/textView" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="center_horizontal" |
|
|
|
|
android:textColor="#DFDFDF" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
android:text="@string/services" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Medium" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
<TableLayout |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:gravity="center_horizontal"> |
|
|
|
|
|
|
|
|
|
<TableRow |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:gravity="center_horizontal"> |
|
|
|
|
|
|
|
|
|
<CheckBox |
|
|
|
|
android:id="@+id/service_httpproxy_box" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:clickable="false" |
|
|
|
|
android:text="@string/services_http_proxy" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
|
|
|
|
|
</TableRow> |
|
|
|
|
|
|
|
|
|
<TableRow |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:gravity="center_horizontal"> |
|
|
|
|
|
|
|
|
|
<CheckBox |
|
|
|
|
android:id="@+id/service_socksproxy_box" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:clickable="false" |
|
|
|
|
android:text="@string/services_socks_proxy" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
</TableRow> |
|
|
|
|
|
|
|
|
|
<TableRow |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:gravity="center_horizontal"> |
|
|
|
|
|
|
|
|
|
<CheckBox |
|
|
|
|
android:id="@+id/service_bob_box" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:clickable="false" |
|
|
|
|
android:text="@string/services_bob" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
</TableRow> |
|
|
|
|
|
|
|
|
|
<TableRow |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:gravity="center_horizontal"> |
|
|
|
|
|
|
|
|
|
<CheckBox |
|
|
|
|
android:id="@+id/service_sam_box" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:clickable="false" |
|
|
|
|
android:text="@string/services_sam" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
</TableRow> |
|
|
|
|
|
|
|
|
|
<TableRow |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:gravity="center_horizontal"> |
|
|
|
|
|
|
|
|
|
<CheckBox |
|
|
|
|
android:id="@+id/service_i2cp_box" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:clickable="false" |
|
|
|
|
android:text="@string/services_i2cp" |
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Material.Small" |
|
|
|
|
android:textColor="#DFDFDF" /> |
|
|
|
|
</TableRow> |
|
|
|
|
</TableLayout> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|