Fixed artist and album viewers from previous commits, need to re-add translucent status bars there for Lollipop and KitKat

This commit is contained in:
Aidan Follestad 2015-04-18 01:18:46 -05:00
commit 872987bfc5
4 changed files with 43 additions and 24 deletions

View file

@ -16,9 +16,7 @@
android:id="@+id/list_background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/colorBackground"
android:elevation="@dimen/toolbar_elevation"
tools:ignore="UnusedAttribute" />
android:background="?android:attr/colorBackground" />
<com.github.ksoichiro.android.observablescrollview.ObservableRecyclerView
android:id="@+id/list"
@ -32,7 +30,9 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
android:orientation="vertical"
android:elevation="@dimen/toolbar_elevation"
tools:ignore="UnusedAttribute">
<TextView
android:id="@+id/album_title"
@ -62,6 +62,13 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/statusBar"
android:layout_width="match_parent"
android:layout_height="@dimen/statusMargin"
android:background="@android:color/transparent"
tools:ignore="ContentDescription" />
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
style="@style/Toolbar"
@ -77,4 +84,4 @@
android:layout_marginRight="16dp"
tools:ignore="RtlHardcoded" />
</FrameLayout>
</FrameLayout>

View file

@ -16,9 +16,7 @@
android:id="@+id/list_background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/colorBackground"
android:elevation="@dimen/toolbar_elevation"
tools:ignore="UnusedAttribute" />
android:background="?android:attr/colorBackground" />
<com.github.ksoichiro.android.observablescrollview.ObservableListView
android:id="@+id/list"
@ -62,6 +60,13 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/statusBar"
android:layout_width="match_parent"
android:layout_height="@dimen/statusMargin"
android:background="@android:color/transparent"
tools:ignore="ContentDescription" />
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
style="@style/Toolbar"
@ -77,4 +82,4 @@
android:layout_marginRight="16dp"
tools:ignore="RtlHardcoded" />
</FrameLayout>
</FrameLayout>