Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: chrome/android/java/res/layout/password_entry_editor_interactive.xml

Issue 2156613002: Modify PasswordEntryEditor UI to display account credentials in a user-friendly manner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename icons Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 android:weightSum="1" >
Bernhard Bauer 2016/07/21 09:06:40 Remove the weightSum and the space here as well.
dozsa 2016/07/21 09:43:42 Done.
116
117 <TextView
118 android:id="@+id/password_entry_editor_password"
119 android:textColor="@color/default_text_color"
120 android:layout_width="fill_parent"
121 android:layout_height="wrap_content"
122 android:layout_marginTop="10dp"
123 android:layout_marginStart="15dp"
124 android:textAppearance="?android:attr/textAppearanceMedium" />
125
126 <View
127 android:layout_width="0dp"
128 android:layout_height="0dp"
129 android:layout_weight="1" />
130
131 <ImageButton
132 style="?android:attr/buttonStyleSmall"
133 android:layout_width="match_parent"
134 android:layout_height="wrap_content"
135 android:layout_gravity="end"
136 android:layout_marginTop="10dp"
137 android:layout_marginEnd="15dp"
138 android:src="@drawable/ic_visibility"
139 android:contentDescription="@string/password_entry_editor_view_s tored_password" />
140
141 <ImageButton
142 style="?android:attr/buttonStyleSmall"
143 android:layout_width="match_parent"
144 android:layout_height="wrap_content"
145 android:layout_gravity="end"
146 android:layout_marginTop="10dp"
147 android:layout_marginEnd="15dp"
148 android:src="@drawable/ic_content_copy"
149 android:contentDescription="@string/password_entry_editor_copy_s tored_password" />
150
151 </LinearLayout>
152
153 </LinearLayout>
154
155 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698