Last active
January 8, 2018 07:40
-
-
Save evanca/8cd6c7658eb28868dd75a31e8d78de63 to your computer and use it in GitHub Desktop.
Google Developer Challenge Scholarship - Android Basics / Make Your Own Card
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 characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <RelativeLayout 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" | |
| tools:context=".MainActivity"> | |
| <ImageView | |
| android:id="@+id/photo_image_view" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:scaleType="centerCrop" | |
| android:src="@drawable/mountain" | |
| /> | |
| <TextView | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fontFamily="@font/roboto_condensed_regular" | |
| android:padding="20dp" | |
| android:text="Not All Who Wander Are Lost" | |
| android:textAllCaps="true" | |
| android:textColor="@android:color/white" | |
| android:textSize="25sp" | |
| android:gravity="center" | |
| /> | |
| </RelativeLayout> |
Author
evanca
commented
Nov 23, 2017

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment