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

Unified Diff: chrome/android/java/res/layout/password_entry_editor_interactive.xml

Issue 2232893002: Display text prompting user to set screen lock in order to view password in PasswordEntryEditor Base URL: https://chromium.googlesource.com/chromium/src.git@reauthentication
Patch Set: Revert display condition Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values-v21/styles.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/password_entry_editor_interactive.xml
diff --git a/chrome/android/java/res/layout/password_entry_editor_interactive.xml b/chrome/android/java/res/layout/password_entry_editor_interactive.xml
index ef69ef249e07f59aa273e03e48495099e8e68c91..b44b8e2f4239f96c22fa03dca9849333f4701f45 100644
--- a/chrome/android/java/res/layout/password_entry_editor_interactive.xml
+++ b/chrome/android/java/res/layout/password_entry_editor_interactive.xml
@@ -103,15 +103,21 @@
<TextView
android:text="@string/password_entry_editor_password"
- android:textColor="@color/google_blue_700"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ style="@style/PasswordEntryEditorTextView"
android:layout_marginTop="5dp"
android:layout_marginStart="15dp"
- android:gravity="center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium" />
+ android:gravity="center_vertical" />
+
+ <TextView
+ android:id="@+id/password_entry_editor_set_device_lock"
+ android:text="@string/password_entry_editor_set_device_lock_prompt"
+ style="@style/PasswordEntryEditorTextView"
+ android:layout_marginTop="10dp"
+ android:layout_marginStart="15dp"
+ android:visibility="gone" />
<LinearLayout
+ android:id="@+id/password_entry_editor_display_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
@@ -119,8 +125,8 @@
<TextView
android:id="@+id/password_entry_editor_password"
android:textColor="@color/default_text_color"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:layout_marginStart="15dp"
android:inputType="textPassword"
« no previous file with comments | « no previous file | chrome/android/java/res/values-v21/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698