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

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

Issue 2116583002: Credit card editor for PaymentRequest UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address first round of comments from dfalcantara@. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/payment_request_editor_label.xml
diff --git a/chrome/android/java/res/layout/payment_request_editor_label.xml b/chrome/android/java/res/layout/payment_request_editor_label.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3e3cd23dac74f8041c44c5c3638f1317f2992b49
--- /dev/null
+++ b/chrome/android/java/res/layout/payment_request_editor_label.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2016 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="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/pref_autofill_content_spacing"
+ android:layout_marginStart="@dimen/pref_autofill_field_horizontal_padding"
+ android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_padding">
+
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentEnd="true"
+ android:layout_centerVertical="true"
+ android:importantForAccessibility="no" />
+
+ <TextView
+ android:id="@+id/topLabel"
gone 2016/07/14 22:36:36 top_label, mid_label, bottom_label Convention is
please use gerrit instead 2016/07/15 00:24:37 Done.
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toStartOf="@id/icon"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentTop="true"
+ android:textAppearance="@style/PreferenceFloatLabelTextAppearance" />
+
+ <TextView
+ android:id="@+id/midLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/topLabel"
+ android:layout_toStartOf="@id/icon"
+ android:layout_alignParentStart="true"
+ android:textAppearance="@style/PreferenceFloatLabelTextAppearance" />
+
+ <TextView
+ android:id="@+id/bottomLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/midLabel"
+ android:layout_toStartOf="@id/icon"
+ android:layout_alignParentStart="true"
+ android:textAppearance="@style/PreferenceFloatLabelTextAppearance" />
+</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698