blob: 734eda7e2afc85362d6af6026eb43466a4072ae2 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 The Chromium Authors
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="wrap_content"
android:overScrollMode="ifContentScrolls">
<LinearLayout
android:orientation="vertical"
style="@style/AlertDialogContent">
<TextView
android:id="@+id/prompt_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="25dp" />
<org.chromium.components.browser_ui.widget.text.AlertDialogEditText
android:id="@+id/passphrase"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/sync_enter_custom_passphrase_hint"
android:inputType="textPassword"
android:singleLine="true"
android:imeOptions="actionNext"
android:textAlignment="viewStart" />
<!--
Sets this TextView as a polite accessibility live region. Changes to
its text, such as "Verifying..." or "Incorrect passphrase", will be
announced by TalkBack without interrupting the user's current task.
-->
<TextView
android:id="@+id/verifying"
android:gravity="center_horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:accessibilityLiveRegion="polite"/>
<org.chromium.ui.widget.TextViewWithClickableSpans
android:id="@+id/reset_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:textAppearance="@style/TextAppearance.TextMedium.Secondary" />
</LinearLayout>
</ScrollView>