Android SeekBar
SeekBar:
SeekBar is a widget used in GUI, for creating a draggable slider or pointer through which the user can specify a specific value on a scale.
Potentially, it is applied to control setting or value that could include volume, brightness, or the progress in media plane.
Example:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".SeekBarExample"
android:padding="16dp"
android:gravity="center"
android:orientation="vertical">
<SeekBar
android:id="@+id/seekbar1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp" />
</LinearLayout>
Output