Bug fixes

- fixed navigation bar color bug
- added some light gradients to now playing screen
- telephone call pause bug
- more bugs
This commit is contained in:
Karim Abou Zeid 2015-04-01 17:41:11 +02:00
commit 6a2c3e565d
9 changed files with 41 additions and 19 deletions

View file

@ -1,5 +1,4 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -16,19 +15,39 @@
android:src="@drawable/default_album_art"
android:transitionName="@string/transition_album_cover"/>
<LinearLayout
android:orientation="vertical"
android:id="@+id/dummy_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<View
android:layout_width="match_parent"
android:layout_height="@dimen/statusMargin"/>
<View
android:layout_width="match_parent"
android:layout_height="?actionBarSize"/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shadow_down"
android:layout_alignBottom="@+id/dummy_toolbar"/>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/footer"
android:background="@drawable/shadow_up"/>
android:background="@drawable/shadow_up"
android:layout_alignTop="@+id/progress_container"/>
<LinearLayout
android:id="@+id/progress_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/footer"
android:layout_margin="16dp"
android:orientation="horizontal">
android:orientation="horizontal"
android:padding="16dp">
<TextView
android:id="@+id/song_current_progress"
@ -40,7 +59,7 @@
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white"
android:textSize="14dp"
android:textSize="16sp"
android:textStyle="bold"/>
<TextView
@ -51,9 +70,9 @@
android:fontFamily="sans-serif"
android:gravity="bottom|right"
android:singleLine="true"
android:textSize="14dp"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white"/>
android:textColor="@color/white"
android:textSize="16sp"/>
</LinearLayout>
@ -91,12 +110,12 @@
</LinearLayout>
<RelativeLayout
android:layout_margin="16dp"
android:id="@+id/media_controller_container"
android:layout_width="match_parent"
android:layout_height="88dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_margin="16dp"
android:background="?music_controller_container_color">
<ImageButton
@ -161,9 +180,9 @@
android:elevation="2dp"/>
<LinearLayout
android:layout_alignParentTop="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:orientation="vertical">
<ImageView