OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 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 |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 android:layout_width="match_parent" |
| 8 android:layout_height="match_parent" |
| 9 android:fillViewport="true" |
| 10 style="@style/PreferenceScreenLayout" > |
| 11 |
| 12 <LinearLayout |
| 13 android:layout_width="match_parent" |
| 14 android:layout_height="wrap_content" |
| 15 android:clickable="true" |
| 16 android:focusableInTouchMode="true" |
| 17 android:orientation="vertical" |
| 18 android:paddingTop="6dp" > |
| 19 |
| 20 <LinearLayout |
| 21 android:layout_width="match_parent" |
| 22 android:layout_height="wrap_content" |
| 23 android:layout_margin="6dp" |
| 24 android:orientation="horizontal" > |
| 25 |
| 26 <TextView |
| 27 android:id="@+id/homepage_switch_label" |
| 28 android:layout_width="0dp" |
| 29 android:layout_weight="1" |
| 30 android:layout_height="wrap_content" |
| 31 android:singleLine="true" |
| 32 android:textAppearance="@style/PreferenceTextAppearanceMedium" /
> |
| 33 |
| 34 <android.support.v7.widget.SwitchCompat |
| 35 android:id="@+id/homepage_switch" |
| 36 android:layout_width="wrap_content" |
| 37 android:layout_height="wrap_content" |
| 38 android:textOn="@string/text_on" |
| 39 android:textOff="@string/text_off" /> |
| 40 |
| 41 </LinearLayout> |
| 42 |
| 43 <EditText |
| 44 android:id="@+id/custom_uri" |
| 45 android:layout_width="match_parent" |
| 46 android:layout_height="wrap_content" |
| 47 android:layout_marginTop="6dp" |
| 48 android:layout_marginBottom="6dp" |
| 49 android:hint="@string/options_startup_pages_placeholder" |
| 50 android:inputType="textUri" |
| 51 android:nextFocusLeft="@id/custom_uri" |
| 52 android:nextFocusUp="@id/custom_uri" |
| 53 android:singleLine="true" |
| 54 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 55 |
| 56 <CheckBox |
| 57 android:id="@+id/default_checkbox" |
| 58 android:layout_width="match_parent" |
| 59 android:layout_height="wrap_content" |
| 60 android:layout_marginTop="6dp" |
| 61 android:layout_marginBottom="6dp" |
| 62 android:text="@string/homepage_default_title" /> |
| 63 </LinearLayout> |
| 64 |
| 65 </ScrollView> |
OLD | NEW |