OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 android:layout_width="match_parent" |
| 8 android:layout_height="match_parent" |
| 9 android:fillViewport="true" > |
| 10 |
| 11 <LinearLayout |
| 12 android:id="@+id/password_entry_editor_interactive" |
| 13 android:layout_width="match_parent" |
| 14 android:layout_height="wrap_content" |
| 15 android:orientation="vertical" |
| 16 android:title="@string/password_entry_editor_title" |
| 17 android:visibility="gone"> |
| 18 |
| 19 <TextView |
| 20 android:text="@string/password_entry_editor_site_title" |
| 21 android:textColor="@color/google_blue_700" |
| 22 android:layout_width="wrap_content" |
| 23 android:layout_height="wrap_content" |
| 24 android:layout_marginTop="10dp" |
| 25 android:layout_marginStart="15dp" |
| 26 android:gravity="center_vertical" |
| 27 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 28 |
| 29 <LinearLayout |
| 30 android:layout_width="wrap_content" |
| 31 android:layout_height="wrap_content" |
| 32 android:orientation="horizontal"> |
| 33 |
| 34 <TextView |
| 35 android:id="@+id/password_entry_editor_url" |
| 36 android:textColor="@color/default_text_color" |
| 37 android:layout_width="fill_parent" |
| 38 android:layout_height="wrap_content" |
| 39 android:layout_marginTop="10dp" |
| 40 android:layout_marginStart="15dp" |
| 41 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 42 |
| 43 <View |
| 44 android:layout_width="0dp" |
| 45 android:layout_height="0dp" |
| 46 android:layout_weight="1" /> |
| 47 |
| 48 <ImageButton |
| 49 style="?android:attr/buttonStyleSmall" |
| 50 android:layout_width="match_parent" |
| 51 android:layout_height="wrap_content" |
| 52 android:layout_gravity="end" |
| 53 android:layout_marginTop="10dp" |
| 54 android:layout_marginEnd="15dp" |
| 55 android:src="@drawable/ic_content_copy" |
| 56 android:contentDescription="@string/password_entry_editor_copy_s
tored_site" /> |
| 57 |
| 58 </LinearLayout> |
| 59 |
| 60 <TextView |
| 61 android:text="@string/password_entry_editor_username_title" |
| 62 android:textColor="@color/google_blue_700" |
| 63 android:layout_width="wrap_content" |
| 64 android:layout_height="wrap_content" |
| 65 android:layout_marginTop="5dp" |
| 66 android:layout_marginStart="15dp" |
| 67 android:gravity="center_vertical" |
| 68 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 69 |
| 70 <LinearLayout |
| 71 android:layout_width="wrap_content" |
| 72 android:layout_height="wrap_content" |
| 73 android:orientation="horizontal"> |
| 74 |
| 75 <TextView |
| 76 android:id="@+id/password_entry_editor_name" |
| 77 android:textColor="@color/default_text_color" |
| 78 android:layout_width="fill_parent" |
| 79 android:layout_height="wrap_content" |
| 80 android:layout_marginTop="10dp" |
| 81 android:layout_marginStart="15dp" |
| 82 android:textAppearance="?android:attr/textAppearanceMedium" |
| 83 android:contentDescription="@string/password_entry_editor_copy_s
tored_username" /> |
| 84 |
| 85 <View |
| 86 android:layout_width="0dp" |
| 87 android:layout_height="0dp" |
| 88 android:layout_weight="1" /> |
| 89 |
| 90 <ImageButton |
| 91 style="?android:attr/buttonStyleSmall" |
| 92 android:layout_width="match_parent" |
| 93 android:layout_height="wrap_content" |
| 94 android:layout_gravity="end" |
| 95 android:layout_marginTop="10dp" |
| 96 android:layout_marginEnd="15dp" |
| 97 android:src="@drawable/ic_content_copy" /> |
| 98 |
| 99 </LinearLayout> |
| 100 |
| 101 <TextView |
| 102 android:text="@string/password_entry_editor_password" |
| 103 android:textColor="@color/google_blue_700" |
| 104 android:layout_width="wrap_content" |
| 105 android:layout_height="wrap_content" |
| 106 android:layout_marginTop="5dp" |
| 107 android:layout_marginStart="15dp" |
| 108 android:gravity="center_vertical" |
| 109 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 110 |
| 111 <LinearLayout |
| 112 android:layout_width="wrap_content" |
| 113 android:layout_height="wrap_content" |
| 114 android:orientation="horizontal"> |
| 115 |
| 116 <TextView |
| 117 android:id="@+id/password_entry_editor_password" |
| 118 android:textColor="@color/default_text_color" |
| 119 android:layout_width="fill_parent" |
| 120 android:layout_height="wrap_content" |
| 121 android:layout_marginTop="10dp" |
| 122 android:layout_marginStart="15dp" |
| 123 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 124 |
| 125 <View |
| 126 android:layout_width="0dp" |
| 127 android:layout_height="0dp" |
| 128 android:layout_weight="1" /> |
| 129 |
| 130 <ImageButton |
| 131 style="?android:attr/buttonStyleSmall" |
| 132 android:layout_width="match_parent" |
| 133 android:layout_height="wrap_content" |
| 134 android:layout_gravity="end" |
| 135 android:layout_marginTop="10dp" |
| 136 android:layout_marginEnd="15dp" |
| 137 android:src="@drawable/ic_visibility" |
| 138 android:contentDescription="@string/password_entry_editor_view_s
tored_password" /> |
| 139 |
| 140 <ImageButton |
| 141 style="?android:attr/buttonStyleSmall" |
| 142 android:layout_width="match_parent" |
| 143 android:layout_height="wrap_content" |
| 144 android:layout_gravity="end" |
| 145 android:layout_marginTop="10dp" |
| 146 android:layout_marginEnd="15dp" |
| 147 android:src="@drawable/ic_content_copy" |
| 148 android:contentDescription="@string/password_entry_editor_copy_s
tored_password" /> |
| 149 |
| 150 </LinearLayout> |
| 151 |
| 152 </LinearLayout> |
| 153 |
| 154 </ScrollView> |
OLD | NEW |