| <?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"> |
| <org.chromium.components.browser_ui.widget.text.AlertDialogEditText |
| android:id="@+id/passphrase" |
| android:hint="@string/sync_enter_custom_passphrase_hint" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:inputType="textPassword" |
| android:singleLine="true" |
| android:imeOptions="actionNext" /> |
| <org.chromium.components.browser_ui.widget.text.AlertDialogEditText |
| android:id="@+id/confirm_passphrase" |
| android:hint="@string/sync_enter_custom_passphrase_hint_confirm" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:inputType="textPassword" |
| android:singleLine="true" |
| android:imeOptions="actionDone" /> |
| <org.chromium.ui.widget.TextViewWithClickableSpans |
| android:id="@+id/custom_passphrase_instructions" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="25dp" |
| android:layout_marginTop="25dp" |
| android:text="@string/legacy_sync_encryption_create_passphrase" |
| android:textAppearance="@style/TextAppearance.TextMedium.Secondary" |
| /> |
| </LinearLayout> |
| </ScrollView> |