<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:orientation="vertical"
|
android:background="@drawable/bg">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="100dp"
|
android:gravity="center"
|
android:layout_gravity="center"
|
android:text="HDL-WaveSeekBar"
|
android:textColor="#fff"
|
android:textSize="32sp"
|
android:textStyle="bold"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<com.hdl.widget.HDLWaveSeekBar
|
android:id="@+id/mHDLWaveSeekBar"
|
android:layout_width="120dp"
|
android:layout_height="240dp"
|
android:layout_marginTop="20dp"
|
android:layout_gravity="center"
|
app:wave_color="@color/app_background_blue2"
|
app:wave_border_color="@color/app_background_blue3"
|
android:background="@color/white"/>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<Button
|
android:id="@+id/btn_0"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="设置 20"
|
android:layout_gravity="bottom"
|
android:layout_marginBottom="5dp"/>
|
|
<TextView
|
android:id="@+id/txt_progress"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="Progress"
|
android:textColor="#fff"
|
android:textSize="25sp"
|
android:textStyle="bold"
|
/>
|
<Button
|
android:id="@+id/btn_90"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="设置 90"
|
android:layout_gravity="bottom"
|
android:layout_marginBottom="5dp"/>
|
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|