Skip to content

Instantly share code, notes, and snippets.

@evanca
Last active January 8, 2018 07:40
Show Gist options
  • Select an option

  • Save evanca/8cd6c7658eb28868dd75a31e8d78de63 to your computer and use it in GitHub Desktop.

Select an option

Save evanca/8cd6c7658eb28868dd75a31e8d78de63 to your computer and use it in GitHub Desktop.
Google Developer Challenge Scholarship - Android Basics / Make Your Own Card
<?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>
@evanca
Copy link
Copy Markdown
Author

evanca commented Nov 23, 2017

2017-11-13-android emulator - nexus_5x_api_27_x86_5554

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