<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@drawable/distilled_page_pref_background"
android:padding="10dp" >
<RadioGroup
android:id="@+id/radio_button_group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<RadioButton
android:id="@+id/light_mode"
android:text="@string/light_mode"
style="@style/DistilledPagePrefThemeButton" />
<RadioButton
android:id="@+id/dark_mode"
android:text="@string/dark_mode"
style="@style/DistilledPagePrefThemeButton" />
<RadioButton
android:id="@+id/sepia_mode"
android:text="@string/sepia_mode"
style="@style/DistilledPagePrefThemeButton" />
</RadioGroup>
<Spinner
android:id="@+id/font_family"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="horizontal"
android:padding="10dp"
android:layout_marginTop="24dp"
android:layout_marginBottom="12dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="3dp">
<TextView
android:id="@+id/font_size_percentage"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginEnd="3dp"
android:layout_marginStart="3dp"
android:minWidth="50dp"
android:gravity="center_vertical"
android:textSize="17sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:layout_marginStart="5dp"
android:textSize="13sp"
android:text="@string/text_size_signifier" />
<SeekBar
android:id="@+id/font_size"
android:layout_width="0dp"
android:layout_height="48dp"
android:maxHeight="48dp"
android:layout_gravity="center"
android:layout_weight="1"
android:orientation="horizontal"
android:max="30" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:layout_marginEnd="3dp"
android:textSize="20sp"
android:text="@string/text_size_signifier" />
</LinearLayout>
</org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView>