1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
8 <org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView
9 xmlns:android="http://schemas.android.com/apk/res/android"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:orientation="vertical"
13 android:background="@drawable/distilled_page_pref_background"
14 android:padding="10dp" >
17 android:id="@+id/radio_button_group"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:orientation="horizontal" >
23 android:id="@+id/light_mode"
24 android:text="@string/light_mode"
25 style="@style/DistilledPagePrefThemeButton" />
28 android:id="@+id/dark_mode"
29 android:text="@string/dark_mode"
30 style="@style/DistilledPagePrefThemeButton" />
32 android:id="@+id/sepia_mode"
33 android:text="@string/sepia_mode"
34 style="@style/DistilledPagePrefThemeButton" />
39 android:id="@+id/font_family"
40 android:layout_width="match_parent"
41 android:layout_height="wrap_content"
42 android:layout_weight="1"
43 android:orientation="horizontal"
44 android:padding="10dp"/>
47 android:layout_width="match_parent"
48 android:layout_height="wrap_content"
49 android:orientation="horizontal"
50 android:layout_marginTop="3dp">
53 android:id="@+id/font_size_percentage"
54 android:layout_width="wrap_content"
55 android:layout_height="match_parent"
56 android:layout_marginEnd="3dp"
57 android:layout_marginStart="3dp"
58 android:minWidth="50dp"
59 android:gravity="center"
60 android:textSize="17sp" />
63 android:layout_width="wrap_content"
64 android:layout_height="match_parent"
65 android:gravity="center_vertical"
66 android:layout_marginStart="5dp"
67 android:textSize="13sp"
68 android:text="@string/text_size_signifier" />
71 android:id="@+id/font_size"
72 android:layout_width="0dp"
73 android:layout_height="wrap_content"
74 android:layout_weight="1"
75 android:orientation="horizontal"
79 android:layout_width="wrap_content"
80 android:layout_height="match_parent"
81 android:gravity="center_vertical"
82 android:layout_marginEnd="3dp"
83 android:textSize="20sp"
84 android:text="@string/text_size_signifier" />
88 </org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView>