ui: increase seekbar height
Make the seekbar more touchable by increasing it's height. This should have no measurable impact since I did some layout black magic and made the rest of the layout slightly inset into the SeekBar's bounds. This is not a nice solution. Hopefully I'll be able to make a dedicated view with a Seeker with the same insetting things later on.
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<style name="Widget.Auxio.Button.AppWidget" parent="Widget.Auxio.Button.AppWidget.V31">
|
||||
<item name="android:minHeight">@dimen/size_btn_small</item>
|
||||
<item name="android:scaleType">fitCenter</item>
|
||||
<item name="android:padding">@dimen/spacing_small</item>
|
||||
<item name="android:padding">10dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Widget panel -->
|
||||
|
||||
@@ -36,14 +36,13 @@
|
||||
<style name="Widget.Auxio.SeekBar" parent="Widget.AppCompat.SeekBar">
|
||||
<item name="android:clickable">true</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:paddingStart">@dimen/spacing_mid_large</item>
|
||||
<item name="android:paddingEnd">@dimen/spacing_mid_large</item>
|
||||
<item name="android:progressBackgroundTint">?attr/colorAccent</item>
|
||||
<item name="android:progressTint">?attr/colorAccent</item>
|
||||
<item name="android:splitTrack">false</item>
|
||||
<item name="android:thumbOffset">@dimen/offset_thumb</item>
|
||||
<item name="android:thumbTint">?attr/colorAccent</item>
|
||||
<item name="android:enabled">true</item>
|
||||
<item name="android:minHeight">@dimen/size_btn_small</item>
|
||||
<item name="android:theme">@style/ThemeOverlay.SeekbarHalo</item>
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user