Add textview for volume control.

This commit is contained in:
me
2025-07-19 15:00:26 -07:00
parent 4f64ca49b7
commit e79ee82193
3 changed files with 40 additions and 11 deletions
+20 -6
View File
@@ -158,13 +158,27 @@
</TableLayout>
<SeekBar
android:id="@+id/seekBar"
android:layout_width="match_parent"
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/tblButtons"
android:layout_alignParentBottom="true"
android:layout_marginVertical="@dimen/activity_vertical_margin"
android:layout_centerHorizontal="true"/>
android:layout_alignParentBottom="true">
<SeekBar
android:id="@+id/seekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/activity_vertical_margin"
android:layout_centerInParent="true"
android:indeterminate="false"/>
<TextView
android:id="@+id/tvSeekbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/seekBar"
android:layout_centerHorizontal="true"
android:text="@string/tvSeekBar"
android:textSize="14sp" />
</RelativeLayout>
</RelativeLayout>
+2
View File
@@ -35,4 +35,6 @@
<string name="action_millis">Enable Millisecs</string>
<string name="action_enable_ads">Enable Ads</string>
<string name="action_exit">Exit</string>
<string name="tvSeekBar">Media Volume: </string>
</resources>