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. -->
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" >
12 android:layout_width="match_parent"
13 android:layout_height="wrap_content"
14 android:clickable="true"
15 android:focusableInTouchMode="true"
16 android:orientation="vertical" >
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
21 android:gravity="center_vertical"
22 android:orientation="horizontal"
23 android:paddingStart="16dp"
24 android:paddingEnd="16dp"
25 android:paddingTop="16dp"
26 android:paddingBottom="16dp"
27 style="@style/PreferenceLayout" >
30 android:id="@+id/homepage_switch_label"
31 android:layout_width="0dp"
32 android:layout_height="wrap_content"
33 android:layout_weight="1"
34 style="@style/PreferenceTitle" />
36 <org.chromium.chrome.browser.widget.ChromeSwitchCompat
37 android:id="@+id/homepage_switch"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:textOn="@string/text_on"
41 android:textOff="@string/text_off" />
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:contentDescription="@null"
49 android:src="?android:attr/listDivider"
50 android:scaleType="fitXY" />
53 android:id="@+id/custom_uri"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:layout_marginTop="16dp"
57 android:layout_marginStart="16dp"
58 android:layout_marginEnd="16dp"
59 android:hint="@string/options_startup_pages_placeholder"
60 android:inputType="textUri"
61 android:nextFocusLeft="@id/custom_uri"
62 android:nextFocusUp="@id/custom_uri"
63 android:singleLine="true"
64 android:textAppearance="?android:attr/textAppearanceMedium" />
67 android:id="@+id/default_checkbox"
68 android:layout_width="match_parent"
69 android:layout_height="wrap_content"
70 android:layout_marginTop="16dp"
71 android:layout_marginBottom="16dp"
72 android:layout_marginStart="16dp"
73 android:layout_marginEnd="16dp"
74 android:text="@string/homepage_default_title" />