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

Unified Diff: chrome/android/java/res/layout/homepage_preferences.xml

Issue 839663003: Upstream partner customizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed tests Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/homepage_preferences.xml
diff --git a/chrome/android/java/res/layout/homepage_preferences.xml b/chrome/android/java/res/layout/homepage_preferences.xml
new file mode 100644
index 0000000000000000000000000000000000000000..30324d7d924ff9dc4cf1926d130918dc03870144
--- /dev/null
+++ b/chrome/android/java/res/layout/homepage_preferences.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2015 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fillViewport="true"
+ style="@style/PreferenceScreenLayout" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:focusableInTouchMode="true"
+ android:orientation="vertical"
+ android:paddingTop="6dp" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="6dp"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/homepage_switch_label"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="@style/PreferenceTextAppearanceMedium" />
+
+ <android.support.v7.widget.SwitchCompat
+ android:id="@+id/homepage_switch"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textOn="@string/text_on"
+ android:textOff="@string/text_off" />
+
+ </LinearLayout>
+
+ <EditText
+ android:id="@+id/custom_uri"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="6dp"
+ android:layout_marginBottom="6dp"
+ android:hint="@string/options_startup_pages_placeholder"
+ android:inputType="textUri"
+ android:nextFocusLeft="@id/custom_uri"
+ android:nextFocusUp="@id/custom_uri"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <CheckBox
+ android:id="@+id/default_checkbox"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="6dp"
+ android:layout_marginBottom="6dp"
+ android:text="@string/homepage_default_title" />
+ </LinearLayout>
+
+</ScrollView>

Powered by Google App Engine
This is Rietveld 408576698