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

Side by Side Diff: chrome/android/java/res/layout/payment_request_editor.xml

Issue 2137443002: Revert of [Payments] Update autofill/payments spacings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@payments_ongoing
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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <!-- PaymentRequestUI editor dialog. --> 6 <!-- PaymentRequestUI editor dialog. -->
7 <LinearLayout 7 <LinearLayout
8 xmlns:android="http://schemas.android.com/apk/res/android" 8 xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:chrome="http://schemas.android.com/apk/res-auto" 9 xmlns:chrome="http://schemas.android.com/apk/res-auto"
10 android:orientation="vertical" > 10 android:orientation="vertical" >
(...skipping 13 matching lines...) Expand all
24 <org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView 24 <org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView
25 android:id="@+id/scroll_view" 25 android:id="@+id/scroll_view"
26 android:layout_height="0dp" 26 android:layout_height="0dp"
27 android:layout_width="match_parent" 27 android:layout_width="match_parent"
28 android:layout_weight="1" > 28 android:layout_weight="1" >
29 29
30 <LinearLayout 30 <LinearLayout
31 android:id="@+id/contents" 31 android:id="@+id/contents"
32 android:layout_width="match_parent" 32 android:layout_width="match_parent"
33 android:layout_height="wrap_content" 33 android:layout_height="wrap_content"
34 android:paddingStart="@dimen/pref_autofill_content_spacing" 34 android:paddingStart="@dimen/payments_section_large_spacing"
35 android:paddingEnd="@dimen/pref_autofill_content_spacing" 35 android:paddingEnd="@dimen/payments_section_large_spacing"
36 android:orientation="vertical" /> 36 android:orientation="vertical" >
37
38 <TextView
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:layout_marginTop="8dp"
42 android:layout_marginBottom="16dp"
43 android:textColor="@color/descriptive_text_color"
44 android:textSize="12sp"
45 android:text="@string/payments_required_field_message" />
46
47 </LinearLayout>
37 48
38 </org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView> 49 </org.chromium.chrome.browser.payments.ui.FadingEdgeScrollView>
39 50
40 <!-- CANCEL and DONE buttons. --> 51 <!-- CANCEL and DONE buttons. -->
41 <org.chromium.chrome.browser.widget.DualControlLayout 52 <org.chromium.chrome.browser.widget.DualControlLayout
42 android:id="@+id/button_bar" 53 android:id="@+id/button_bar"
43 android:layout_width="match_parent" 54 android:layout_width="match_parent"
44 android:layout_height="wrap_content" 55 android:layout_height="wrap_content"
45 android:padding="@dimen/payments_section_large_spacing" 56 android:padding="@dimen/payments_section_large_spacing"
46 android:background="@android:color/white" 57 android:background="@android:color/white"
47 chrome:stackedMargin="@dimen/infobar_margin_between_stacked_buttons" 58 chrome:stackedMargin="@dimen/infobar_margin_between_stacked_buttons"
48 chrome:primaryButtonText="@string/done" 59 chrome:primaryButtonText="@string/done"
49 chrome:secondaryButtonText="@string/cancel" /> 60 chrome:secondaryButtonText="@string/cancel" />
50 61
51 </LinearLayout> 62 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698