Skip to content

Commit

Permalink
Style the image (step 24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChocolateCharlie committed Jan 1, 2018
1 parent 72e9886 commit 5c0d46f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
android:layout_height="match_parent"
tools:context="com.example.happybirthday.MainActivity">

<!-- Background image -->
<ImageView
android:src="@drawable/androidparty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />

<!-- Top Left "Happy Birthday Willy !" -->
<TextView
android:text="Happy Birthday Willy !"
Expand All @@ -31,10 +38,4 @@
android:fontFamily="sans-serif-light"
android:textColor="@android:color/white" />

<!-- Background image -->
<ImageView
android:src="@drawable/androidparty"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</RelativeLayout>

0 comments on commit 5c0d46f

Please sign in to comment.