diff options
| author | Martijn Coenen <maco@google.com> | 2015-04-21 13:47:55 +0200 |
|---|---|---|
| committer | Martijn Coenen <maco@google.com> | 2015-04-28 08:17:22 +0000 |
| commit | fe58b534f6a1bf63dadb18dae13c59ed8a014eec (patch) | |
| tree | 12d3512f9cbccdfc42a853249b71a7dda1675d0f /res/layout/nfc_payment.xml | |
| parent | 79670bbe68dbc6c6cc1da9f1d093dabb8099e7f5 (diff) | |
| download | packages_apps_Settings-fe58b534f6a1bf63dadb18dae13c59ed8a014eec.zip packages_apps_Settings-fe58b534f6a1bf63dadb18dae13c59ed8a014eec.tar.gz packages_apps_Settings-fe58b534f6a1bf63dadb18dae13c59ed8a014eec.tar.bz2 | |
New Tap & Pay UX.
Change-Id: Icbffe0f58d2c37d5691357c13a14ab9a40e53249
Diffstat (limited to 'res/layout/nfc_payment.xml')
| -rw-r--r-- | res/layout/nfc_payment.xml | 101 |
1 files changed, 59 insertions, 42 deletions
diff --git a/res/layout/nfc_payment.xml b/res/layout/nfc_payment.xml index d6f9fa4..f56d2a4 100644 --- a/res/layout/nfc_payment.xml +++ b/res/layout/nfc_payment.xml @@ -1,45 +1,62 @@ -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent"> - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:gravity="center_vertical" - android:orientation="vertical" > - <ImageView - android:id="@+id/nfc_payment_tap_image" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:visibility="gone" - android:src="@drawable/nfc_payment_empty_state"/> - <TextView - android:id="@+id/nfc_payment_empty_text" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:textSize="24sp" - android:visibility="gone" - android:paddingTop="16dp" - android:text="@string/nfc_payment_no_apps"/> - <TextView - android:id="@+id/nfc_payment_learn_more" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:clickable="true" - android:textSize="20sp" - android:textStyle="italic" - android:visibility="gone" - android:textColor="@android:color/holo_blue_light" - android:paddingTop="16dp" - android:text="@string/nfc_payment_learn_more"/> - </LinearLayout> - <ListView - android:id="@android:id/list" +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginTop="5dp" /> + android:orientation="vertical"> -</FrameLayout> + <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + <ImageView + android:id="@+id/nfc_payment_tap_image" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:visibility="gone" + android:src="@drawable/tapandpay_emptystate"/> + <TextView + android:id="@+id/nfc_payment_empty_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:textSize="24sp" + android:visibility="gone" + android:paddingTop="32dp" + android:text="@string/nfc_payment_no_apps"/> + </LinearLayout> + <ListView android:id="@android:id/list" + android:drawSelectorOnTop="false" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" + android:scrollbarStyle="@integer/preference_scrollbar_style" /> +<!-- + <ListView + android:id="@android:id/list" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" + android:scrollbarStyle="@integer/preference_scrollbar_style" /> +--> + </FrameLayout> +</LinearLayout> |
