Makes the view media toolbar transparent.

This commit is contained in:
Vavassor 2017-05-11 21:31:29 -04:00
parent fa0641bfd9
commit 1815d574c8
2 changed files with 3 additions and 3 deletions

View File

@ -10,14 +10,13 @@
<com.github.chrisbanes.photoview.PhotoView <com.github.chrisbanes.photoview.PhotoView
android:id="@+id/view_media_image" android:id="@+id/view_media_image"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent" />
android:layout_below="@+id/toolbar" />
<android.support.v7.widget.Toolbar <android.support.v7.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="@color/toolbar_view_media"
app:navigationIcon="?attr/homeAsUpIndicator" /> app:navigationIcon="?attr/homeAsUpIndicator" />
<ProgressBar <ProgressBar

View File

@ -2,6 +2,7 @@
<resources> <resources>
<!--These colors are not affected by themes.--> <!--These colors are not affected by themes.-->
<color name="view_video_background">#000000</color> <color name="view_video_background">#000000</color>
<color name="toolbar_view_media">#8f000000</color>
<!--Dark Theme Colors--> <!--Dark Theme Colors-->
<color name="color_primary_dark">#4c5368</color> <color name="color_primary_dark">#4c5368</color>
<color name="color_primary_dark_dark">#363c4b</color> <!--Dark Dark--> <color name="color_primary_dark_dark">#363c4b</color> <!--Dark Dark-->