Skip to content

Commit

Permalink
Extracted dimens
Browse files Browse the repository at this point in the history
  • Loading branch information
wilder committed Mar 20, 2017
1 parent ed4c864 commit cf54e0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:paddingBottom="@dimen/big_margin"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<dimen name="margin">16dp</dimen>
<dimen name="mid_margin">22dp</dimen>
<dimen name="big_margin">24dp</dimen>
<dimen name="bigger_margin">32dp</dimen>
<dimen name="big_text_size">24sp</dimen>
<dimen name="medium_text_size">20sp</dimen>
<dimen name="text_size">16sp</dimen>
</resources>

0 comments on commit cf54e0d

Please sign in to comment.