Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / homepage_editor.xml
blobb58a3894997e8721eb493e8c51e3805dba81f4ce
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     xmlns:app="http://schemas.android.com/apk/res-auto"
8     android:layout_width="match_parent"
9     android:layout_height="match_parent"
10     android:fillViewport="true" >
12     <LinearLayout
13         android:layout_width="match_parent"
14         android:layout_height="wrap_content"
15         android:orientation="vertical"
16         android:focusableInTouchMode="true" >
18         <org.chromium.chrome.browser.widget.FloatLabelLayout
19             android:id="@+id/homepage_url"
20             style="@style/PreferenceScreenLayout"
21             android:layout_width="match_parent"
22             android:layout_height="wrap_content" >
23             <EditText
24                 android:id="@+id/homepage_url_edit"
25                 android:layout_width="match_parent"
26                 android:layout_height="wrap_content"
27                 android:inputType="textUri"
28                 android:singleLine="true"
29                 android:hint="@string/options_homepage_edit_label" />
30         </org.chromium.chrome.browser.widget.FloatLabelLayout>
32         <Space style="@style/ButtonBarTopSpacer" />
33         <View style="@style/ButtonBarTopDivider" />
35         <LinearLayout style="@style/ButtonBar" >
36             <Button
37                 android:id="@+id/homepage_reset"
38                 style="@style/ButtonBarButton"
39                 android:text="@string/reset" />
41             <Button
42                 android:id="@+id/homepage_cancel"
43                 style="@style/ButtonBarButton"
44                 android:text="@string/cancel" />
46             <Button
47                 android:id="@+id/homepage_save"
48                 style="@style/ButtonBarButton"
49                 android:text="@string/save" />
50         </LinearLayout>
51     </LinearLayout>
53 </ScrollView>