1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:orientation="vertical"
9 style="@style/AlertDialogContent">
12 android:id="@+id/explanation"
13 android:layout_width="match_parent"
14 android:layout_height="wrap_content" />
16 <org.chromium.chrome.browser.widget.FloatLabelLayout
17 android:id="@+id/username_label"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content" >
20 <org.chromium.chrome.browser.widget.AlertDialogEditText
21 android:id="@+id/username"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:hint="@string/login_dialog_username_field"
25 android:inputType="textNoSuggestions"
26 android:imeOptions="flagNoExtractUi" />
27 </org.chromium.chrome.browser.widget.FloatLabelLayout>
29 <org.chromium.chrome.browser.widget.FloatLabelLayout
30 android:id="@+id/password_label"
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content" >
33 <org.chromium.chrome.browser.widget.AlertDialogEditText
34 android:id="@+id/password"
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:hint="@string/login_dialog_password_field"
38 android:inputType="textPassword"
39 android:imeOptions="flagNoExtractUi" />
40 </org.chromium.chrome.browser.widget.FloatLabelLayout>