OSDN Git Service

Merge changes from topic "am-b95e3cad-9610-4d9b-96a8-a82f585400e6" into oc-dev am...
[android-x86/packages-apps-Settings.git] / res / layout / nfc_payment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2015 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18         android:layout_width="match_parent"
19         android:layout_height="match_parent"
20         android:orientation="vertical">
21
22     <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
23         android:layout_width="match_parent"
24         android:layout_height="match_parent">
25         <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
26             xmlns:tools="http://schemas.android.com/tools"
27             android:layout_width="match_parent"
28             android:layout_height="match_parent"
29             android:orientation="vertical" >
30             <ImageView
31                 android:id="@+id/nfc_payment_tap_image"
32                 android:layout_width="fill_parent"
33                 android:layout_height="wrap_content"
34                 android:gravity="center"
35                 android:visibility="gone"
36                 android:src="@drawable/tapandpay_emptystate"/>
37             <TextView
38                 android:id="@+id/nfc_payment_empty_text"
39                 android:layout_width="fill_parent"
40                 android:layout_height="wrap_content"
41                 android:gravity="center"
42                 android:textSize="24sp"
43                 android:visibility="gone"
44                 android:paddingTop="32dp"
45                 android:text="@string/nfc_payment_no_apps"/>
46         </LinearLayout>
47         <ListView android:id="@android:id/list"
48             android:drawSelectorOnTop="false"
49             android:layout_width="match_parent"
50             android:layout_height="match_parent"
51             android:clipToPadding="false"
52             android:scrollbarStyle="@integer/preference_scrollbar_style" />
53 <!--
54         <ListView
55             android:id="@android:id/list"
56             android:layout_width="match_parent"
57             android:layout_height="match_parent"
58             android:clipToPadding="false"
59             android:scrollbarStyle="@integer/preference_scrollbar_style" />
60 -->
61     </FrameLayout>
62 </LinearLayout>