Fixed layout alignment bug
This commit is contained in:
parent
b3a061c342
commit
36d9facc48
1 changed files with 13 additions and 8 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout android:id="@+id/player_footer_frame"
|
||||||
android:id="@+id/player_footer_frame"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
@ -8,9 +7,9 @@
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:background="#33000000"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/progress_container_height">
|
android:layout_height="@dimen/progress_container_height"
|
||||||
|
android:background="#33000000">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/player_song_current_progress"
|
android:id="@+id/player_song_current_progress"
|
||||||
|
|
@ -63,8 +62,8 @@
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginEnd="-8dp"
|
android:layout_marginEnd="-8dp"
|
||||||
android:layout_marginRight="-8dp"
|
android:layout_marginRight="-8dp"
|
||||||
android:layout_toLeftOf="@+id/player_play_pause_fab"
|
android:layout_toLeftOf="@+id/dummy_fab"
|
||||||
android:layout_toStartOf="@+id/player_play_pause_fab"
|
android:layout_toStartOf="@+id/dummy_fab"
|
||||||
android:background="?round_selector"
|
android:background="?round_selector"
|
||||||
android:padding="22dp"
|
android:padding="22dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
|
@ -77,8 +76,8 @@
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_marginLeft="-8dp"
|
android:layout_marginLeft="-8dp"
|
||||||
android:layout_marginStart="-8dp"
|
android:layout_marginStart="-8dp"
|
||||||
android:layout_toEndOf="@+id/player_play_pause_fab"
|
android:layout_toEndOf="@+id/dummy_fab"
|
||||||
android:layout_toRightOf="@+id/player_play_pause_fab"
|
android:layout_toRightOf="@+id/dummy_fab"
|
||||||
android:background="?round_selector"
|
android:background="?round_selector"
|
||||||
android:padding="22dp"
|
android:padding="22dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
|
@ -112,6 +111,12 @@
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_shuffle_white_36dp" />
|
android:src="@drawable/ic_shuffle_white_36dp" />
|
||||||
|
|
||||||
|
<Space
|
||||||
|
android:id="@+id/dummy_fab"
|
||||||
|
android:layout_width="56dp"
|
||||||
|
android:layout_height="56dp"
|
||||||
|
android:layout_centerInParent="true" />
|
||||||
|
|
||||||
<android.support.design.widget.FloatingActionButton
|
<android.support.design.widget.FloatingActionButton
|
||||||
android:id="@+id/player_play_pause_fab"
|
android:id="@+id/player_play_pause_fab"
|
||||||
style="@style/PlayPauseFab"
|
style="@style/PlayPauseFab"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue