mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Fixed the behavior of the viewpager in the player and (name) refactor
This commit is contained in:
parent
2f5e81fdef
commit
b60c5448b2
14 changed files with 82 additions and 38 deletions
|
|
@ -187,6 +187,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="@color/colorPrimary"
|
||||
app:cardElevation="0dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/player_music_command_sector">
|
||||
|
|
@ -203,9 +204,9 @@
|
|||
android:layout_marginEnd="24dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/player_big_play_pause_button"
|
||||
app:layout_constraintEnd_toStartOf="@+id/player_big_play_pause_button"
|
||||
app:layout_constraintTop_toTopOf="@+id/player_big_play_pause_button"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/player_big_play_pause_button"
|
||||
app:srcCompat="@drawable/ic_skip_previous" />
|
||||
|
||||
<ToggleButton
|
||||
|
|
@ -230,17 +231,17 @@
|
|||
android:layout_marginStart="24dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/player_big_play_pause_button"
|
||||
app:layout_constraintStart_toEndOf="@+id/player_big_play_pause_button"
|
||||
app:layout_constraintTop_toTopOf="@+id/player_big_play_pause_button"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/player_big_play_pause_button"
|
||||
app:srcCompat="@drawable/ic_skip_next" />
|
||||
|
||||
<View
|
||||
android:id="@+id/player_divider_bottom"
|
||||
style="@style/Divider"
|
||||
android:layout_marginStart="18dp"
|
||||
android:layout_marginEnd="18dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="18dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/player_big_play_pause_button" />
|
||||
|
|
@ -253,8 +254,21 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:clipToPadding="false"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="18dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/player_command_cardview" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/textButton"
|
||||
style="@style/Widget.MaterialComponents.Button.TextButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:text="Load more"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/subtitleTextColor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/player_queue_recycler_view"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue