Chromium Code Reviews| Index: chrome/android/java/res/layout/password_entry_editor_site_row.xml |
| diff --git a/chrome/android/java/res/layout/password_entry_editor_site_row.xml b/chrome/android/java/res/layout/password_entry_editor_site_row.xml |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7ef95735810af8f4877687ecae474bfb1149da40 |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/password_entry_editor_site_row.xml |
| @@ -0,0 +1,54 @@ |
| +<?xml version="1.0" encoding="utf-8"?> |
| +<!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| + Use of this source code is governed by a BSD-style license that can be |
| + found in the LICENSE file. --> |
| + |
| +<LinearLayout |
| + xmlns:android="http://schemas.android.com/apk/res/android" |
| + xmlns:tools="http://schemas.android.com/tools" |
| + android:layout_width="match_parent" |
| + android:layout_height="wrap_content" |
| + android:orientation="vertical"> |
| + |
| + <TextView |
| + android:text="@string/password_entry_editor_site_title" |
| + android:textColor="@color/google_blue_700" |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:layout_marginTop="10dp" |
| + android:layout_marginStart="15dp" |
| + android:gravity="center_vertical" |
| + android:textAppearance="?android:attr/textAppearanceMedium" /> |
|
Theresa
2017/07/10 15:12:50
nit: add a blank line after this one.
melandory
2017/07/10 16:19:37
Done.
|
| + <LinearLayout |
| + android:layout_width="wrap_content" |
| + android:layout_height="wrap_content" |
| + android:orientation="horizontal"> |
| + |
| + <TextView |
| + android:id="@+id/password_entry_editor_url" |
| + android:textColor="@color/default_text_color" |
| + android:layout_width="fill_parent" |
| + android:layout_height="wrap_content" |
| + android:layout_marginTop="10dp" |
| + android:layout_marginStart="15dp" |
| + android:textAppearance="?android:attr/textAppearanceMedium" /> |
| + |
| + <View |
| + android:layout_width="0dp" |
| + android:layout_height="0dp" |
| + android:layout_weight="1" /> |
| + |
| + <ImageButton |
| + android:id="@+id/password_entry_editor_copy_site" |
| + android:background="@null" |
| + android:layout_width="match_parent" |
| + android:layout_height="wrap_content" |
| + android:layout_gravity="end" |
| + android:layout_marginTop="10dp" |
| + android:layout_marginEnd="15dp" |
| + android:src="@drawable/ic_content_copy" |
| + android:contentDescription="@string/password_entry_editor_copy_stored_site" |
| + style="?android:attr/buttonStyleSmall" /> |
| + </LinearLayout> |
| + |
| +</LinearLayout> |