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

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

Issue 2163693002: [Merge M-53] Credit card editor for PaymentRequest UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: 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..c774dfe4b90b229c9a1030df6bdf362749166905
--- /dev/null
+++ b/chrome/android/java/res/layout/payment_request_editor_label.xml
@@ -0,0 +1,49 @@
+<?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/top_label"
+ 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/mid_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/top_label"
+ android:layout_toStartOf="@id/icon"
+ android:layout_alignParentStart="true"
+ android:textAppearance="@style/PreferenceFloatLabelTextAppearance" />
+
+ <TextView
+ android:id="@+id/bottom_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/mid_label"
+ android:layout_toStartOf="@id/icon"
+ android:layout_alignParentStart="true"
+ android:textAppearance="@style/PreferenceFloatLabelTextAppearance" />
+
+</RelativeLayout>
« no previous file with comments | « chrome/android/java/res/layout/payment_request_editor_icons.xml ('k') | chrome/android/java/res/values/dimens.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698