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.
8 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content">
12 <RelativeLayout android:id="@+id/password_generation_suggestion"
13 android:layout_width="wrap_content"
14 android:layout_height="wrap_content">
16 <ImageView android:id="@+id/password_generation_icon"
17 android:layout_width="wrap_content"
18 android:layout_height="wrap_content"
19 android:layout_marginTop="13dp"
20 android:layout_marginBottom="13dp"
21 android:layout_marginStart="@dimen/password_generation_horizontal_margin"
22 android:layout_marginEnd="@dimen/password_generation_horizontal_margin"
23 android:src="@drawable/infobar_savepassword_autologin"
24 android:contentDescription="@null" />
26 <TextView android:id="@+id/password_generation_title"
27 android:layout_toEndOf="@id/password_generation_icon"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:paddingTop="@dimen/password_generation_text_vertical_margin"
31 android:paddingEnd="@dimen/password_generation_horizontal_margin"
32 android:singleLine="true"
33 android:textStyle="bold"
34 android:textColor="@color/default_text_color"
35 android:textSize="@dimen/password_generation_text_size"
36 android:includeFontPadding="false"/>
38 <TextView android:id="@+id/password_generation_password"
39 android:layout_toEndOf="@id/password_generation_icon"
40 android:layout_below="@id/password_generation_title"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:paddingBottom="@dimen/password_generation_text_vertical_margin"
44 android:paddingEnd="@dimen/password_generation_horizontal_margin"
45 android:singleLine="true"
46 android:textColor="@color/default_text_color"
47 android:textSize="@dimen/password_generation_text_size"
48 android:includeFontPadding="false"/>
52 <View android:id="@+id/password_generation_divider"
53 android:layout_below="@id/password_generation_suggestion"
54 android:layout_width="wrap_content"
55 android:layout_height="@dimen/password_generation_divider_height"
56 android:background="@color/password_generation_divider_color"/>