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

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

Issue 970603003: Fix padding in home page settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_width="match_parent" 7 android:layout_width="match_parent"
8 android:layout_height="match_parent" 8 android:layout_height="match_parent"
9 android:fillViewport="true" > 9 android:fillViewport="true" >
10 10
11 <LinearLayout 11 <LinearLayout
12 android:layout_width="match_parent" 12 android:layout_width="match_parent"
13 android:layout_height="wrap_content" 13 android:layout_height="wrap_content"
14 android:clickable="true" 14 android:clickable="true"
15 android:focusableInTouchMode="true" 15 android:focusableInTouchMode="true"
16 android:orientation="vertical" > 16 android:orientation="vertical" >
17 17
18 <LinearLayout 18 <LinearLayout
19 android:layout_width="match_parent" 19 android:layout_width="match_parent"
20 android:layout_height="wrap_content" 20 android:layout_height="wrap_content"
21 android:gravity="center_vertical" 21 android:gravity="center_vertical"
22 android:orientation="horizontal" 22 android:orientation="horizontal"
23 android:padding="16dp" 23 android:paddingStart="16dp"
24 android:paddingEnd="16dp"
25 android:paddingTop="16dp"
26 android:paddingBottom="16dp"
24 style="@style/PreferenceLayout" > 27 style="@style/PreferenceLayout" >
25 28
26 <TextView 29 <TextView
27 android:id="@+id/homepage_switch_label" 30 android:id="@+id/homepage_switch_label"
28 android:layout_width="0dp" 31 android:layout_width="0dp"
29 android:layout_height="wrap_content" 32 android:layout_height="wrap_content"
30 android:layout_weight="1" 33 android:layout_weight="1"
31 style="@style/PreferenceTitle" /> 34 style="@style/PreferenceTitle" />
32 35
33 <org.chromium.chrome.browser.widget.ChromeSwitchCompat 36 <org.chromium.chrome.browser.widget.ChromeSwitchCompat
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 android:layout_width="match_parent" 68 android:layout_width="match_parent"
66 android:layout_height="wrap_content" 69 android:layout_height="wrap_content"
67 android:layout_marginTop="16dp" 70 android:layout_marginTop="16dp"
68 android:layout_marginBottom="16dp" 71 android:layout_marginBottom="16dp"
69 android:layout_marginStart="16dp" 72 android:layout_marginStart="16dp"
70 android:layout_marginEnd="16dp" 73 android:layout_marginEnd="16dp"
71 android:text="@string/homepage_default_title" /> 74 android:text="@string/homepage_default_title" />
72 </LinearLayout> 75 </LinearLayout>
73 76
74 </ScrollView> 77 </ScrollView>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698