|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<include layout="@layout/toolbar_settings" />
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrollView1"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutFlash"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView1"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:text="@string/flash"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbFlash"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutAdBlock"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:text="@string/block_ads"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbAdblock"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutImages"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:text="@string/block"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbImageBlock"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutEnableJS"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:text="@string/java"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbJavascript"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutUseOrbot"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:text="@string/enable_orbot"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbOrbot"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutColorMode"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:text="@string/color_mode"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbColorMode"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutGeneral"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView7"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/settings_general"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutBookmarks"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/bookmark_settings"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutDisplay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView8"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/settings_display"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutPrivacy"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView9"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/settings_privacy"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutAdvanced"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView10"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/settings_advanced"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/layoutAbout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/listChoiceBackgroundIndicator"
|
|
|
|
android:minHeight="60dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:paddingTop="10dp" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView11"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/settings_about"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/isImportAvailable"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:text="@string/settings_about_explain"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/light" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:background="#cdcdcd" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|