OLD | NEW |
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 Loading... |
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> |
OLD | NEW |