Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chrome/android/java/res/layout/distilled_page_prefs_view.xml

Issue 483183002: Add font family selector ui for distilled page viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 3
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView 8 <org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView
9 xmlns:android="http://schemas.android.com/apk/res/android" 9 xmlns:android="http://schemas.android.com/apk/res/android"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
(...skipping 16 matching lines...) Expand all
27 <RadioButton 27 <RadioButton
28 android:id="@+id/dark_mode" 28 android:id="@+id/dark_mode"
29 android:text="@string/dark_mode" 29 android:text="@string/dark_mode"
30 style="@style/DistilledPagePrefThemeButton" /> 30 style="@style/DistilledPagePrefThemeButton" />
31 <RadioButton 31 <RadioButton
32 android:id="@+id/sepia_mode" 32 android:id="@+id/sepia_mode"
33 android:text="@string/sepia_mode" 33 android:text="@string/sepia_mode"
34 style="@style/DistilledPagePrefThemeButton" /> 34 style="@style/DistilledPagePrefThemeButton" />
35 35
36 </RadioGroup> 36 </RadioGroup>
37
38 <Spinner
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"/>
45
37 <LinearLayout 46 <LinearLayout
38 android:layout_width="match_parent" 47 android:layout_width="match_parent"
39 android:layout_height="wrap_content" 48 android:layout_height="wrap_content"
40 android:orientation="horizontal" 49 android:orientation="horizontal"
41 android:layout_marginTop="3dp"> 50 android:layout_marginTop="3dp">
42 51
43 <TextView 52 <TextView
44 android:id="@+id/font_size_percentage" 53 android:id="@+id/font_size_percentage"
45 android:layout_width="wrap_content" 54 android:layout_width="wrap_content"
46 android:layout_height="match_parent" 55 android:layout_height="match_parent"
(...skipping 23 matching lines...) Expand all
70 android:layout_width="wrap_content" 79 android:layout_width="wrap_content"
71 android:layout_height="match_parent" 80 android:layout_height="match_parent"
72 android:gravity="center_vertical" 81 android:gravity="center_vertical"
73 android:layout_marginEnd="3dp" 82 android:layout_marginEnd="3dp"
74 android:textSize="20sp" 83 android:textSize="20sp"
75 android:text="@string/text_size_signifier" /> 84 android:text="@string/text_size_signifier" />
76 85
77 </LinearLayout> 86 </LinearLayout>
78 87
79 </org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView> 88 </org.chromium.chrome.browser.dom_distiller.DistilledPagePrefsView>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/distilled_page_font_family_spinner.xml ('k') | chrome/android/java/res/values/arrays.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698