Merge pull request #1027 from psh/consistent-sizes-with-dimens

Tech-improvement: Better use of dimens.xml for common sizes
This commit is contained in:
neslihanturan 2018-01-01 20:35:34 +03:00 committed by GitHub
commit 38d3edfe1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 349 additions and 349 deletions

View file

@ -1,4 +1,25 @@
<resources>
<dimen name="bottom_peak_height">240dp</dimen>
<!-- Standard margin / padding for the containing activity -->
<dimen name="activity_margin_horizontal">16dp</dimen>
<dimen name="activity_margin_vertical">16dp</dimen>
<!-- Standard margins / padding -->
<dimen name="huge_gap">48dp</dimen>
<dimen name="large_gap">32dp</dimen>
<dimen name="standard_gap">16dp</dimen>
<dimen name="small_gap">8dp</dimen>
<dimen name="tiny_gap">4dp</dimen>
<!-- Component sizes -->
<dimen name="overflow_button_dimen">48dp</dimen>
<dimen name="half_standard_height">24dp</dimen>
<dimen name="quarter_standard_height">12dp</dimen>
<!-- Text sizes -->
<dimen name="heading_text_size">24sp</dimen>
<dimen name="subheading_text_size">20sp</dimen>
<dimen name="normal_text">16sp</dimen>
<dimen name="description_text_size">14sp</dimen>
</resources>

View file

@ -211,4 +211,6 @@
<string name="nearby_location_has_not_changed">Location has not changed.</string>
<string name="nearby_location_not_available">Location not available.</string>
<string name="location_permission_rationale_nearby">Permission required to display a list of nearby places</string>
<string name="get_directions">GET DIRECTIONS</string>
<string name="read_article">READ ARTICLE</string>
</resources>