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

@ -4,5 +4,5 @@
<gradient
android:angle="90"
android:endColor="#34000000"
android:startColor="@android:color/transparent" />
android:startColor="#00000000" />
</shape>

View file

@ -2,7 +2,7 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="90"
android:endColor="@android:color/transparent"
android:startColor="#34000000"/>
android:angle="270"
android:endColor="#34000000"
android:startColor="#00000000" />
</shape>

View file

@ -54,12 +54,11 @@
android:fontFamily="sans-serif-medium"
android:gravity="bottom|left"
android:singleLine="true"
android:textSize="14dp"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white"/>
android:textColor="@color/white"
android:textSize="16sp"/>
<TextView
android:textSize="14dp"
android:id="@+id/song_total_time"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@ -68,7 +67,8 @@
android:gravity="bottom|right"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/white"/>
android:textColor="@color/white"
android:textSize="16sp"/>
</LinearLayout>

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

View file

@ -12,7 +12,7 @@
<color name="materialmusic_music_controller_container_color">@color/grey_300</color>
<color name="materialmusic_navigation_drawer_background_color">@color/grey_300</color>
<color name="materialmusic_separator_color">#0C000000</color>
<color name="materialmusic_default_bar_color">@color/white</color>
<color name="materialmusic_default_bar_color">@color/grey_300</color>
<color name="materialmusic_themed_drawable_color">#8A000000</color>
<color name="materialmusic_themed_drawable_activated_color">@color/materialmusic_accent_color</color>
<color name="list_item_selector_activated">#D0D0D0</color>