ui: add basic bar actions [#108]
Add the ability to customize the bar action to the repeat mode or shuffle state. This is a much smaller implementation than what I planned, mostly because other options did not make much sense (queue) or were superceded by better options (clear state). Resolves #108.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/playback_play_pause"
|
||||
style="@style/Widget.Auxio.Button.Icon.Small"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -65,13 +65,12 @@
|
||||
android:contentDescription="@string/desc_play_pause"
|
||||
app:icon="@drawable/sel_playing_state_24" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/playback_skip_next"
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/playback_secondary_action"
|
||||
style="@style/Widget.Auxio.Button.Icon.Small"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/desc_play_pause"
|
||||
app:icon="@drawable/ic_skip_next_24" />
|
||||
tools:icon="@drawable/ic_skip_next_24" />
|
||||
</LinearLayout>
|
||||
|
||||
</org.oxycblt.auxio.playback.ForcedLTRFrameLayout>
|
||||
|
||||
Reference in New Issue
Block a user