mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
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:
commit
38d3edfe1d
31 changed files with 349 additions and 349 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue