Created
November 9, 2017 13:37
Revisions
-
ssaurel created this gist
Nov 9, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ <?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>