blob: 67895075f2d4d3f10c1ec32b436283667289cca0 [file]
<?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. -->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/scroll_view"
android:fillViewport="true" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:focusableInTouchMode="true" >
<org.chromium.chrome.browser.widget.CompatibilityTextInputLayout
android:id="@+id/homepage_url"
style="@style/PreferenceScreenLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<!-- TODO(crbug.com/900912): Fix and remove lint ignore -->
<EditText
tools:ignore="Autofill"
android:id="@+id/homepage_url_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textUri"
android:singleLine="true"
android:hint="@string/options_homepage_edit_label" />
</org.chromium.chrome.browser.widget.CompatibilityTextInputLayout>
<Space style="@style/ButtonBarTopSpacer" />
<View style="@style/ButtonBarTopDivider" />
<LinearLayout style="@style/ButtonBar" >
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/homepage_reset"
style="@style/ButtonBarButton"
android:text="@string/reset" />
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/homepage_cancel"
style="@style/ButtonBarButton"
android:text="@string/cancel" />
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/homepage_save"
style="@style/ButtonBarButton"
android:text="@string/save" />
</LinearLayout>
</LinearLayout>
</ScrollView>
<include layout="@layout/preferences_action_bar_shadow"/>
</FrameLayout>