Skip to content

Commit

Permalink
Make the speed bar expand to available space
Browse files Browse the repository at this point in the history
  • Loading branch information
ditek committed Feb 2, 2022
1 parent 248091f commit f6de648
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/src/main/res/layout/player_toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

<SeekBar
android:id="@+id/speed_bar"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="@dimen/toolbar_height"
android:layout_weight="2"
android:max="150"
Expand All @@ -68,7 +68,7 @@
style="@style/DisabledToolbarButton"
android:enabled="false"
android:text="MIDI"
android:layout_width="wrap_content"
android:layout_width="70dp"
android:textSize="16sp" />

<View
Expand Down Expand Up @@ -99,9 +99,8 @@
<ImageButton
android:id="@+id/btn_settings"
style="@style/ToolbarButtonStyle"
android:layout_weight="0.5"
android:contentDescription="@string/settings"
android:src="@drawable/ic_settings"
android:layout_width="wrap_content"
/>
android:src="@drawable/ic_settings" />
</LinearLayout>
<!--</merge>-->

0 comments on commit f6de648

Please sign in to comment.