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

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

Issue 606153002: [android] Password generation UI for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove debug log. Created 6 years, 2 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
Index: chrome/android/java/res/layout/password_generation_popup_suggestion.xml
diff --git a/chrome/android/java/res/layout/password_generation_popup_suggestion.xml b/chrome/android/java/res/layout/password_generation_popup_suggestion.xml
new file mode 100644
index 0000000000000000000000000000000000000000..72651822f9faff621edbd7cce294d33276b088b4
--- /dev/null
+++ b/chrome/android/java/res/layout/password_generation_popup_suggestion.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 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.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <RelativeLayout android:id="@+id/password_generation_suggestion"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <ImageView android:id="@+id/password_generation_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/password_generation_icon_vertical_margin"
+ android:layout_marginBottom="@dimen/password_generation_icon_vertical_margin"
+ android:layout_marginStart="@dimen/password_generation_horizontal_margin"
+ android:layout_marginEnd="@dimen/password_generation_horizontal_margin"
+ android:src="@drawable/infobar_savepassword_autologin"/>
+
+ <TextView android:id="@+id/password_generation_title"
+ android:layout_toEndOf="@id/password_generation_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/password_generation_text_vertical_margin"
+ android:paddingEnd="@dimen/password_generation_horizontal_margin"
+ android:singleLine="true"
+ android:textStyle="bold"
+ android:textColor="@color/default_text_color"
+ android:textSize="@dimen/password_generation_text_size"
+ android:includeFontPadding="false"/>
+
+ <TextView android:id="@+id/password_generation_password"
+ android:layout_toEndOf="@id/password_generation_icon"
+ android:layout_below="@id/password_generation_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingBottom="@dimen/password_generation_text_vertical_margin"
+ android:paddingEnd="@dimen/password_generation_horizontal_margin"
+ android:singleLine="true"
+ android:textColor="@color/default_text_color"
+ android:textSize="@dimen/password_generation_text_size"
+ android:includeFontPadding="false"/>
+
+ </RelativeLayout>
+
+ <View android:id="@+id/password_generation_divider"
+ android:layout_below="@id/password_generation_suggestion"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/password_generation_divider_height"
+ android:background="@color/password_generation_divider_color"/>
please use gerrit instead 2014/10/22 18:40:51 I've originally placed the divider outside of the
+
+</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698