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

Side by Side Diff: chrome/android/java/res/layout/password_entry_editor_1.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: Add flag 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 2014 The Chromium Authors. All rights reserved.
vabr (Chromium) 2016/07/19 08:44:38 nit: 2016
dozsa 2016/07/19 10:01:04 Done.
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_1"
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
18 <TextView
19 android:text="@string/password_entry_editor_link"
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 android:weightSum="1" >
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
vabr (Chromium) 2016/07/19 08:44:38 Just for my own understanding: what is the purpose
dozsa 2016/07/19 10:01:04 Yes, I'm using them so that the copy/view buttons
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/clipboard_black" />
56
57 </LinearLayout>
58
59 <TextView
60 android:text="@string/password_entry_editor_username"
61 android:textColor="@color/google_blue_700"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_marginTop="5dp"
65 android:layout_marginStart="15dp"
66 android:gravity="center_vertical"
67 android:textAppearance="?android:attr/textAppearanceMedium" />
68
69 <LinearLayout
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
72 android:orientation="horizontal"
73 android:weightSum="1" >
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
84 <View
85 android:layout_width="0dp"
86 android:layout_height="0dp"
87 android:layout_weight="1" />
88
89 <ImageButton
90 style="?android:attr/buttonStyleSmall"
91 android:layout_width="match_parent"
92 android:layout_height="wrap_content"
93 android:layout_gravity="end"
94 android:layout_marginTop="10dp"
95 android:layout_marginEnd="15dp"
96 android:src="@drawable/clipboard_black" />
97
98 </LinearLayout>
99
100 <TextView
101 android:text="@string/password_entry_editor_password"
102 android:textColor="@color/google_blue_700"
103 android:layout_width="wrap_content"
104 android:layout_height="wrap_content"
105 android:layout_marginTop="5dp"
106 android:layout_marginStart="15dp"
107 android:gravity="center_vertical"
108 android:textAppearance="?android:attr/textAppearanceMedium" />
109
110 <LinearLayout
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:orientation="horizontal"
114 android:weightSum="1" >
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/eye_black" />
138
139 <ImageButton
140 style="?android:attr/buttonStyleSmall"
141 android:layout_width="match_parent"
142 android:layout_height="wrap_content"
143 android:layout_gravity="end"
144 android:layout_marginTop="10dp"
145 android:layout_marginEnd="15dp"
146 android:src="@drawable/clipboard_black" />
147
148 </LinearLayout>
149
150 </LinearLayout>
151
152 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698