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

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

Issue 2041483002: [Payments] Partially refactor the PaymentRequestUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed file Created 4 years, 6 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_result.xml
diff --git a/chrome/android/java/res/layout/payment_result.xml b/chrome/android/java/res/layout/payment_result.xml
deleted file mode 100644
index 3b90edb657b8365aa440aa2871dee6e8fa6a0f0d..0000000000000000000000000000000000000000
--- a/chrome/android/java/res/layout/payment_result.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<?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. -->
-
-<!-- Processing dialog. -->
-<org.chromium.chrome.browser.widget.BoundedLinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:chrome="http://schemas.android.com/apk/res-auto"
- android:id="@+id/waiting_container"
- android:orientation="vertical"
- android:background="@drawable/menu_bg"
- android:gravity="center"
- chrome:maxWidth="@dimen/payments_ui_max_dialog_width" >
-
- <!-- Header containing information about the site. -->
- <FrameLayout
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:minHeight="64dp" >
-
- <ImageView
- android:id="@+id/icon_view"
- android:layout_height="24dp"
- android:layout_width="24dp"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="16dp"
- android:layout_gravity="start|center_vertical"
- android:importantForAccessibility="no"
- android:scaleType="centerInside" />
-
- <LinearLayout
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:layout_marginStart="56dp"
- android:layout_marginEnd="16dp"
- android:layout_marginBottom="@dimen/payments_section_vertical_spacing"
- android:layout_marginTop="@dimen/payments_section_vertical_spacing"
- android:layout_gravity="center_vertical"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/page_title"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:ellipsize="end"
- android:maxLines="1"
- android:singleLine="true"
- android:textColor="@color/default_text_color"
- android:textSize="16sp"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/hostname"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:ellipsize="start"
- android:maxLines="1"
- android:singleLine="true"
- android:textColor="@color/descriptive_text_color"
- android:textSize="14sp" />
- </LinearLayout>
-
- </FrameLayout>
-
- <!-- Indeterminate spinny to show that things are processing. -->
- <ProgressBar
- android:id="@+id/waiting_progress"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:layout_marginTop="@dimen/payments_section_largest_spacing"
- android:layout_marginBottom="@dimen/payments_section_small_spacing" />
-
- <!-- Message describing the result of the request. -->
- <TextView
- android:id="@+id/waiting_message"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/payments_section_small_spacing"
- android:layout_marginStart="@dimen/payments_section_large_spacing"
- android:layout_marginEnd="@dimen/payments_section_large_spacing"
- android:layout_marginBottom="@dimen/payments_section_largest_spacing"
- android:text="@string/payments_processing_message"
- android:textColor="@color/descriptive_text_color"
- android:textSize="16sp" />
-
- <!-- Dismisses the dialog. -->
- <Button
- android:id="@+id/ok_button"
- android:background="?android:attr/selectableItemBackground"
- android:text="@string/ok"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:layout_marginEnd="@dimen/payments_section_small_spacing"
- android:layout_marginBottom="@dimen/payments_section_small_spacing"
- android:textColor="@color/light_active_color"
- android:visibility="gone" />
-</org.chromium.chrome.browser.widget.BoundedLinearLayout>

Powered by Google App Engine
This is Rietveld 408576698