main: band-aid split screen mode layouts
Split screen layouts in android are completely borked. You can resize Auxio down to the point where the UI is completely unusable, and there is NO WAY TO SET A MINIMUM HEIGHT. This is also not to mention that smallestScreenWidthDp is completely busted too and still uses the size of the whole screen! Just band-aid the first issue so that when the layout becomes so small as to result in a messed up UI, just show a splash that says that the app can't work at the specific window size.
This commit is contained in:
@@ -36,8 +36,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/playback_cover"
|
||||
style="@style/Widget.Auxio.Image.Large"
|
||||
style="@style/Widget.Auxio.Image.Full"
|
||||
android:layout_marginStart="@dimen/spacing_mid_large"
|
||||
android:layout_marginTop="@dimen/spacing_mid_large"
|
||||
android:contentDescription="@{@string/desc_album_cover(song.name)}"
|
||||
app:albumArt="@{song}"
|
||||
app:layout_constraintBottom_toTopOf="@+id/playback_seek_bar"
|
||||
@@ -156,6 +157,7 @@
|
||||
app:layout_constraintEnd_toEndOf="@+id/playback_seek_bar"
|
||||
app:layout_constraintStart_toStartOf="@+id/playback_seek_bar"
|
||||
app:layout_constraintTop_toBottomOf="@+id/playback_seek_bar"
|
||||
android:layout_marginBottom="@dimen/spacing_mid_large"
|
||||
tools:src="@drawable/ic_play" />
|
||||
|
||||
<ImageButton
|
||||
|
||||
Reference in New Issue
Block a user