Skip to content

Commit

Permalink
Merge pull request #226 from mozilla/gh-221
Browse files Browse the repository at this point in the history
Use layout weight to scale welcome image based on available screen space
  • Loading branch information
ryanwarsaw committed Oct 5, 2016
2 parents a466383 + cddbfd0 commit 0adf4e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/res/layout/activity_welcome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
android:layout_marginBottom="15dp"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_width="200dp"
android:layout_height="200dp" />
android:layout_height="0dp"
android:layout_weight="1"/>

<TextView
android:layout_width="match_parent"
Expand Down

0 comments on commit 0adf4e7

Please sign in to comment.