limit audio player width on small screens

This commit is contained in:
Daniel Gultsch 2017-09-27 10:21:34 +02:00
parent acd4b149f5
commit 9b4149a63d
3 changed files with 3 additions and 1 deletions

View file

@ -33,7 +33,7 @@
<RelativeLayout <RelativeLayout
android:id="@+id/audio_player" android:id="@+id/audio_player"
android:layout_width="288dp" android:layout_width="@dimen/audio_player_width"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
> >

View file

@ -3,4 +3,5 @@
<!-- https://material.io/devices/ --> <!-- https://material.io/devices/ -->
<dimen name="fineprint_size">12sp</dimen> <dimen name="fineprint_size">12sp</dimen>
<dimen name="swipe_handle_size">48dp</dimen> <dimen name="swipe_handle_size">48dp</dimen>
<dimen name="audio_player_width">288dp</dimen>
</resources> </resources>

View file

@ -5,5 +5,6 @@
<dimen name="infocard_padding">16dp</dimen> <dimen name="infocard_padding">16dp</dimen>
<dimen name="image_button_padding">8dp</dimen> <dimen name="image_button_padding">8dp</dimen>
<dimen name="fineprint_size">11sp</dimen> <dimen name="fineprint_size">11sp</dimen>
<dimen name="audio_player_width">224dp</dimen>
<dimen name="swipe_handle_size">32dp</dimen> <dimen name="swipe_handle_size">32dp</dimen>
</resources> </resources>