diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-09-26 21:25:26 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-09-26 21:25:26 +0200 |
commit | a8a7e2c3a773e8e546c4ee6d09cf511f1d532600 (patch) | |
tree | 07374fee93756950bb640fb2b21b4e97736d2d2f /src/main | |
parent | 96250f0b823bc320b9da6063cf9b77545b153b45 (diff) |
modify media preview sizes for various screens
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/res/values-h360dp/dimens.xml | 4 | ||||
-rw-r--r-- | src/main/res/values-h500dp/dimens.xml | 4 | ||||
-rw-r--r-- | src/main/res/values-w384dp/dimens.xml | 4 | ||||
-rw-r--r-- | src/main/res/values-w585dp/dimens.xml | 3 | ||||
-rw-r--r-- | src/main/res/values/dimens.xml | 2 |
5 files changed, 16 insertions, 1 deletions
diff --git a/src/main/res/values-h360dp/dimens.xml b/src/main/res/values-h360dp/dimens.xml new file mode 100644 index 000000000..5e432c034 --- /dev/null +++ b/src/main/res/values-h360dp/dimens.xml @@ -0,0 +1,4 @@ +<resources> + <dimen name="publish_avatar_top_margin">16dp</dimen> + <dimen name="publish_avatar_size">128dp</dimen> +</resources>
\ No newline at end of file diff --git a/src/main/res/values-h500dp/dimens.xml b/src/main/res/values-h500dp/dimens.xml new file mode 100644 index 000000000..deea1124f --- /dev/null +++ b/src/main/res/values-h500dp/dimens.xml @@ -0,0 +1,4 @@ +<resources> + <dimen name="publish_avatar_top_margin">24dp</dimen> + <dimen name="publish_avatar_size">192dp</dimen> +</resources>
\ No newline at end of file diff --git a/src/main/res/values-w384dp/dimens.xml b/src/main/res/values-w384dp/dimens.xml index 430845b1c..e9350addd 100644 --- a/src/main/res/values-w384dp/dimens.xml +++ b/src/main/res/values-w384dp/dimens.xml @@ -1,5 +1,9 @@ <resources> <!-- 384dp is the screen width of the Nexus 4. Something like a Moto G is smaller but a Nexus 5X is larger --> <!-- https://material.io/devices/ --> + <dimen name="fineprint_size">12sp</dimen> + <dimen name="swipe_handle_size">48dp</dimen> <dimen name="audio_player_width">288dp</dimen> + <dimen name="avatar_on_details_screen_size">72dp</dimen> + <dimen name="media_size">64dp</dimen> <!-- ideally not larger than avatar_on_details_screen --> </resources>
\ No newline at end of file diff --git a/src/main/res/values-w585dp/dimens.xml b/src/main/res/values-w585dp/dimens.xml index 38ca33a11..067401781 100644 --- a/src/main/res/values-w585dp/dimens.xml +++ b/src/main/res/values-w585dp/dimens.xml @@ -1,3 +1,6 @@ <resources> <dimen name="activity_horizontal_margin">32dp</dimen> + <dimen name="avatar_on_details_screen_size">96dp</dimen> + <dimen name="media_size">80dp</dimen> <!-- ideally not larger than avatar_on_details_screen --> + <dimen name="browser_media_size">128dp</dimen> </resources> diff --git a/src/main/res/values/dimens.xml b/src/main/res/values/dimens.xml index e1c604d3c..c59404ccf 100644 --- a/src/main/res/values/dimens.xml +++ b/src/main/res/values/dimens.xml @@ -11,7 +11,7 @@ <dimen name="avatar_item_distance">16dp</dimen> <dimen name="media_preview_size">80dp</dimen> - <dimen name="media_size">64dp</dimen> + <dimen name="media_size">56dp</dimen> <!-- ideally not larger than avatar_on_details_screen --> <dimen name="browser_media_size">96dp</dimen> <dimen name="toolbar_elevation">4dp</dimen> |