Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2012 The CyanogenMod 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 | <RelativeLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="match_parent" |
| 21 | android:gravity="center"> |
| 22 | |
| 23 | <LinearLayout |
| 24 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 25 | android:orientation="vertical" |
| 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:gravity="center" |
| 29 | android:layout_centerInParent="true"> |
| 30 | |
| 31 | <TextView |
| 32 | style="?android:attr/textAppearanceMedium" |
| 33 | android:layout_width="wrap_content" |
| 34 | android:layout_height="wrap_content" |
| 35 | android:layout_marginStart="30dip" |
| 36 | android:layout_marginEnd="30dip" |
| 37 | android:layout_marginBottom="30dip" |
| 38 | android:layout_gravity="center" |
| 39 | android:text="@string/profile_nfc_text" /> |
| 40 | |
| 41 | <ImageView |
| 42 | android:id="@+id/nfc_writer_image" |
| 43 | android:layout_width="84dp" |
| 44 | android:layout_height="84dp" |
| 45 | android:layout_gravity="center" |
| 46 | android:tint="@color/theme_accent" |
| 47 | android:src="@drawable/ic_local_offer_48px" /> |
| 48 | |
| 49 | <TextView android:id="@+id/touch_tag" |
| 50 | style="?android:attr/textAppearanceLarge" |
| 51 | android:layout_width="wrap_content" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:layout_marginTop="12dip" |
| 54 | android:layout_gravity="center" |
| 55 | android:text="@string/profile_write_touch_tag" /> |
| 56 | |
| 57 | </LinearLayout> |
| 58 | </RelativeLayout> |