Created
November 9, 2017 13:37
Main Activity for the NFC Reader on the SSaurel's Channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.ssaurel.nfcreader.MainActivity"> | |
<ImageView | |
android:id="@+id/logo" | |
android:layout_width="200dp" | |
android:layout_height="200dp" | |
android:layout_marginTop="50dp" | |
android:src="@drawable/logo" | |
android:layout_centerHorizontal="true"/> | |
<TextView | |
android:id="@+id/text" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:text="Hold a tag against the back of your device" | |
android:textStyle="bold" | |
android:textSize="20sp" | |
android:layout_marginLeft="20dp" | |
android:layout_marginRight="20dp" | |
android:layout_marginTop="50dp" | |
android:gravity="center_horizontal" | |
android:layout_below="@id/logo"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment