Commit 51f60772 authored by Geoffrey Métais's avatar Geoffrey Métais

Audioplayer: Reduce bottom margin

parent b7a859d4
......@@ -223,23 +223,21 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|start"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toTopOf="@+id/timeline"
android:layout_marginStart="@dimen/default_margin"
android:clickable="true"
android:focusable="true"
android:onClick="@{fragment::onTimeLabelClick}"
android:text="@string/time_0"
android:textSize="12sp"
android:focusable="true" />
app:layout_constraintBottom_toTopOf="@+id/timeline"
app:layout_constraintStart_toStartOf="parent" />
<SeekBar
android:id="@+id/timeline"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="@dimen/audio_player_seekbar_bottom_margin"
android:layout_marginBottom="16dp"
android:layout_marginTop="@dimen/half_default_margin"
android:focusable="true"
android:maxHeight="1dip"
android:minHeight="1dip"
......@@ -247,29 +245,32 @@
android:paddingRight="@dimen/half_default_margin"
android:progressDrawable="@drawable/po_seekbar"
android:splitTrack="false"
android:thumb="@drawable/seekbar_thumb" />
android:thumb="@drawable/seekbar_thumb"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<TextView
android:id="@+id/length"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|end"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toTopOf="@+id/timeline"
android:layout_marginEnd="@dimen/default_margin"
android:text="@string/time_0"
android:contentDescription="@string/length"
android:textSize="12sp" />
android:text="@string/time_0"
android:textSize="12sp"
app:layout_constraintBottom_toTopOf="@+id/timeline"
app:layout_constraintEnd_toEndOf="parent" />
<ImageView
android:id="@+id/shuffle"
android:layout_width="40dp"
android:layout_height="40dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintLeft_toLeftOf="@+id/time"
app:layout_constraintRight_toLeftOf="@+id/previous"
app:layout_constraintBottom_toBottomOf="@+id/play_pause"
app:layout_constraintTop_toTopOf="@+id/play_pause"
app:layout_constraintHorizontal_chainStyle="spread"
app:layout_constraintHorizontal_chainStyle="spread_inside"
android:contentDescription="@string/shuffle_title"
android:focusable="true"
android:scaleType="fitXY"
......@@ -280,7 +281,7 @@
android:id="@+id/repeat"
android:layout_width="40dp"
android:layout_height="40dp"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintRight_toRightOf="@+id/length"
app:layout_constraintLeft_toRightOf="@+id/next"
app:layout_constraintBottom_toBottomOf="@+id/play_pause"
app:layout_constraintTop_toTopOf="@+id/play_pause"
......@@ -295,7 +296,7 @@
android:id="@+id/play_pause"
android:layout_width="64dp"
android:layout_height="64dp"
app:layout_constraintBottom_toTopOf="@+id/timeline"
app:layout_constraintBottom_toTopOf="@+id/time"
app:layout_constraintLeft_toRightOf="@+id/previous"
app:layout_constraintRight_toLeftOf="@+id/next"
android:contentDescription="@string/play"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment