| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 android:layout_width="match_parent" | 7 android:layout_width="match_parent" |
| 8 android:layout_height="match_parent" | 8 android:layout_height="match_parent" |
| 9 android:fillViewport="true" > | 9 android:fillViewport="true" > |
| 10 | 10 |
| 11 <LinearLayout | 11 <LinearLayout |
| 12 android:id="@+id/password_entry_editor_interactive" | 12 android:id="@+id/password_entry_editor_interactive" |
| 13 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
| 14 android:layout_height="wrap_content" | 14 android:layout_height="wrap_content" |
| 15 android:orientation="vertical" | 15 android:orientation="vertical" |
| 16 android:title="@string/password_entry_editor_title"> | 16 android:title="@string/password_entry_editor_title"> |
| 17 | 17 |
| 18 <TextView | 18 <include layout="@layout/password_entry_editor_site_row"/> |
| 19 android:text="@string/password_entry_editor_site_title" | |
| 20 android:textColor="@color/google_blue_700" | |
| 21 android:layout_width="wrap_content" | |
| 22 android:layout_height="wrap_content" | |
| 23 android:layout_marginTop="10dp" | |
| 24 android:layout_marginStart="15dp" | |
| 25 android:gravity="center_vertical" | |
| 26 android:textAppearance="?android:attr/textAppearanceMedium" /> | |
| 27 | |
| 28 <LinearLayout | |
| 29 android:layout_width="wrap_content" | |
| 30 android:layout_height="wrap_content" | |
| 31 android:orientation="horizontal"> | |
| 32 | |
| 33 <TextView | |
| 34 android:id="@+id/password_entry_editor_url" | |
| 35 android:textColor="@color/default_text_color" | |
| 36 android:layout_width="fill_parent" | |
| 37 android:layout_height="wrap_content" | |
| 38 android:layout_marginTop="10dp" | |
| 39 android:layout_marginStart="15dp" | |
| 40 android:textAppearance="?android:attr/textAppearanceMedium" /> | |
| 41 | |
| 42 <View | |
| 43 android:layout_width="0dp" | |
| 44 android:layout_height="0dp" | |
| 45 android:layout_weight="1" /> | |
| 46 | |
| 47 <ImageButton | |
| 48 android:id="@+id/password_entry_editor_copy_site" | |
| 49 android:background="@null" | |
| 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 style="?android:attr/buttonStyleSmall" /> | |
| 58 | |
| 59 </LinearLayout> | |
| 60 | 19 |
| 61 <TextView | 20 <TextView |
| 62 android:text="@string/password_entry_editor_username_title" | 21 android:text="@string/password_entry_editor_username_title" |
| 63 android:textColor="@color/google_blue_700" | 22 android:textColor="@color/google_blue_700" |
| 64 android:layout_width="wrap_content" | 23 android:layout_width="wrap_content" |
| 65 android:layout_height="wrap_content" | 24 android:layout_height="wrap_content" |
| 66 android:layout_marginTop="5dp" | 25 android:layout_marginTop="5dp" |
| 67 android:layout_marginStart="15dp" | 26 android:layout_marginStart="15dp" |
| 68 android:gravity="center_vertical" | 27 android:gravity="center_vertical" |
| 69 android:textAppearance="?android:attr/textAppearanceMedium" /> | 28 android:textAppearance="?android:attr/textAppearanceMedium" /> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 android:layout_marginEnd="15dp" | 111 android:layout_marginEnd="15dp" |
| 153 android:src="@drawable/ic_content_copy" | 112 android:src="@drawable/ic_content_copy" |
| 154 android:contentDescription="@string/password_entry_editor_copy_s
tored_password" | 113 android:contentDescription="@string/password_entry_editor_copy_s
tored_password" |
| 155 style="?android:attr/buttonStyleSmall" /> | 114 style="?android:attr/buttonStyleSmall" /> |
| 156 | 115 |
| 157 </LinearLayout> | 116 </LinearLayout> |
| 158 | 117 |
| 159 </LinearLayout> | 118 </LinearLayout> |
| 160 | 119 |
| 161 </ScrollView> | 120 </ScrollView> |
| OLD | NEW |