+ <!-- First-Party Cookies. -->
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/domain_settings_first_party_cookies_imageview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="1dp"
+ android:layout_marginEnd="10dp"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/cookies_disabled"
+ tools:ignore="contentDescription" />
+
+ <Switch
+ android:id="@+id/domain_settings_first_party_cookies_switch"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp"
+ android:text="@string/first_party_cookies_enabled"
+ android:textSize="18sp" />
+ </LinearLayout>
+
+ <!-- Third-Party Cookies. -->
+ <LinearLayout
+ android:id="@+id/domain_settings_third_party_cookies_linearlayout"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/domain_settings_third_party_cookies_imageview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="1dp"
+ android:layout_marginEnd="10dp"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/cookies_disabled"
+ tools:ignore="contentDescription" />
+
+ <Switch
+ android:id="@+id/domain_settings_third_party_cookies_switch"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp"
+ android:text="@string/third_party_cookies_enabled"
+ android:textSize="18sp" />
+ </LinearLayout>
+
+ <!-- DOM Storage. -->
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/domain_settings_dom_storage_imageview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="1dp"
+ android:layout_marginEnd="10dp"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/dom_storage_disabled"
+ tools:ignore="contentDescription" />
+
+ <Switch
+ android:id="@+id/domain_settings_dom_storage_switch"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp"
+ android:text="@string/dom_storage_enabled"
+ android:textSize="18sp" />
+ </LinearLayout>
+
+ <!-- Form Data. -->
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/domain_settings_form_data_imageview"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="1dp"
+ android:layout_marginEnd="10dp"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/form_data_disabled"
+ tools:ignore="contentDescription" />
+
+ <Switch
+ android:id="@+id/domain_settings_form_data_switch"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp"
+ android:text="@string/form_data_enabled"
+ android:textSize="18sp" />
+ </LinearLayout>
+
+ <!-- User Agent. -->
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="vertical"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp" >
+
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="1dp"
+ android:layout_marginEnd="10dp"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/user_agent"
+ android:tint="@color/blue_800"
+ android:contentDescription="@string/user_agent" />
+
+ <Spinner
+ android:id="@+id/domain_settings_user_agent_spinner"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:labelFor="@+id/domain_settings_custom_user_agent_edittext"/>
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/domain_settings_user_agent_textview"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ android:layout_marginStart="43dp"
+ android:layout_marginEnd="36dp"
+ android:textSize="13sp"/>
+
+ <EditText
+ android:id="@id/domain_settings_custom_user_agent_edittext"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginStart="38dp"
+ android:layout_marginEnd="60dp"
+ android:inputType="textUri" />
+ </LinearLayout>
+
+ <!-- Font Size. -->
+ <!-- We need to add an extra `android:layout_marginBottom="14dp"` to the last `LinearLayout` or the bottom of the `ScrollView` gets cutoff if API 25. -->
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ android:layout_marginBottom="14dp" >
+
+ <ImageView
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="1dp"
+ android:layout_marginEnd="10dp"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/font_size"
+ android:tint="@color/blue_800"
+ android:contentDescription="@string/font_size" />
+
+ <Spinner
+ android:id="@+id/domain_settings_font_size_spinner"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp"/>
+ </LinearLayout>
+ </LinearLayout>
+</ScrollView>
\ No newline at end of file