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

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

Issue 1962833002: [Payments] Animate the scrim and bottom sheet disappearing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More cleaning Created 4 years, 7 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 <!-- Processing dialog. --> 6 <!-- Processing dialog. -->
7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8 android:id="@+id/waiting_container" 8 android:id="@+id/waiting_container"
9 android:maxWidth="@dimen/payments_ui_max_dialog_width" 9 android:maxWidth="@dimen/payments_ui_max_dialog_width"
10 android:background="@drawable/menu_bg" 10 android:background="@drawable/menu_bg"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 </FrameLayout> 63 </FrameLayout>
64 64
65 <!-- Indeterminate spinny to show that things are processing. --> 65 <!-- Indeterminate spinny to show that things are processing. -->
66 <ProgressBar 66 <ProgressBar
67 android:id="@+id/waiting_progress" 67 android:id="@+id/waiting_progress"
68 android:layout_width="48dp" 68 android:layout_width="48dp"
69 android:layout_height="48dp" 69 android:layout_height="48dp"
70 android:layout_marginTop="@dimen/payments_section_largest_spacing" 70 android:layout_marginTop="@dimen/payments_section_largest_spacing"
71 android:layout_marginBottom="@dimen/payments_section_small_spacing" /> 71 android:layout_marginBottom="@dimen/payments_section_small_spacing" />
72 72
73 <!-- Image that shows when the request was succesful. -->
74 <ImageView
75 android:id="@+id/waiting_success"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:src="@drawable/verify_checkmark"
79 android:visibility="gone"
80 android:contentDescription="@null" />
81
82 <!-- Message describing the result of the request. --> 73 <!-- Message describing the result of the request. -->
83 <TextView 74 <TextView
84 android:id="@+id/waiting_message" 75 android:id="@+id/waiting_message"
85 android:layout_width="wrap_content" 76 android:layout_width="wrap_content"
86 android:layout_height="wrap_content" 77 android:layout_height="wrap_content"
87 android:layout_marginTop="@dimen/payments_section_small_spacing" 78 android:layout_marginTop="@dimen/payments_section_small_spacing"
88 android:layout_marginStart="@dimen/payments_section_large_spacing" 79 android:layout_marginStart="@dimen/payments_section_large_spacing"
89 android:layout_marginEnd="@dimen/payments_section_large_spacing" 80 android:layout_marginEnd="@dimen/payments_section_large_spacing"
90 android:layout_marginBottom="@dimen/payments_section_largest_spacing" 81 android:layout_marginBottom="@dimen/payments_section_largest_spacing"
91 android:text="@string/payments_processing_message" 82 android:text="@string/payments_processing_message"
92 android:textColor="@color/descriptive_text_color" 83 android:textColor="@color/descriptive_text_color"
93 android:textSize="16sp" /> 84 android:textSize="16sp" />
94 85
95 <!-- Dismisses the dialog. --> 86 <!-- Dismisses the dialog. -->
96 <Button 87 <Button
97 android:id="@+id/ok_button" 88 android:id="@+id/ok_button"
98 android:background="?android:attr/selectableItemBackground" 89 android:background="?android:attr/selectableItemBackground"
99 android:text="@string/ok" 90 android:text="@string/ok"
100 android:layout_width="wrap_content" 91 android:layout_width="wrap_content"
101 android:layout_height="wrap_content" 92 android:layout_height="wrap_content"
102 android:layout_gravity="end" 93 android:layout_gravity="end"
103 android:layout_marginEnd="@dimen/payments_section_small_spacing" 94 android:layout_marginEnd="@dimen/payments_section_small_spacing"
104 android:layout_marginBottom="@dimen/payments_section_small_spacing" 95 android:layout_marginBottom="@dimen/payments_section_small_spacing"
105 android:textColor="@color/light_active_color" 96 android:textColor="@color/light_active_color"
106 android:visibility="gone" /> 97 android:visibility="gone" />
107 </LinearLayout> 98 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698