You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.2 KiB
64 lines
2.2 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
xmlns:tools="http://schemas.android.com/tools" |
|
android:layout_width="match_parent" |
|
android:layout_height="match_parent" |
|
android:background="@android:color/widget_edittext_dark" |
|
android:orientation="vertical" |
|
android:padding="@dimen/margin_medium" |
|
tools:context=".SettingsActivity"> |
|
|
|
<TextView |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:layout_marginBottom="@dimen/margin_tiny" |
|
android:clickable="false" |
|
android:text="@string/settings_section0" |
|
android:textSize="24sp" |
|
android:verticalScrollbarPosition="defaultPosition" /> |
|
|
|
<Switch |
|
android:id="@+id/autostart_enable" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:gravity="left" |
|
android:text="@string/autostart_enabled" |
|
android:textOff="@string/disabled" |
|
android:textOn="@string/enabled" /> |
|
|
|
<View |
|
android:layout_width="match_parent" |
|
android:layout_height="1dp" |
|
android:background="?android:attr/listDivider" /> |
|
<!-- |
|
<TextView |
|
android:id="@+id/settings_section2" |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:autoText="true" |
|
android:clickable="false" |
|
android:cursorVisible="false" |
|
android:text="@string/settings_section_tunnels" |
|
android:textColor="#282528" |
|
android:textStyle="bold|italic" |
|
android:verticalScrollbarPosition="defaultPosition" /> |
|
|
|
<LinearLayout |
|
android:layout_width="match_parent" |
|
android:layout_height="wrap_content" |
|
android:orientation="horizontal"> |
|
|
|
<TextView |
|
android:layout_width="wrap_content" |
|
android:layout_height="wrap_content" |
|
android:layout_weight="1" |
|
android:text="@string/add_tunnel" /> |
|
|
|
<Button |
|
android:id="@+id/add_tunnel_button" |
|
android:layout_width="wrap_content" |
|
android:layout_height="wrap_content" |
|
android:text="@string/add_tunnel_button" /> |
|
</LinearLayout> |
|
--> |
|
</LinearLayout> |