Adjust gallery detail header button background color

This commit is contained in:
seven332 committed 2018-10-22 13:35:59 +08:00
1 parent afa45fd8d9
commit 5bd7d6fae3
4 files changed
+11 -1

No files matched your search

@@ -122,11 +122,13 @@
</RelativeLayout>
<android.support.v7.widget.CardView
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/action_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/keyline_margin"
android:layout_marginRight="@dimen/keyline_margin"
app:cardBackgroundColor="?attr/galleryDetailButtonBackgroundColor"
style="@style/CardView.Normal">
<LinearLayout
+1
View File
@@ -54,6 +54,7 @@
<attr name="tagBackgroundColor" format="color"/>
<attr name="galleryDetailHeaderBackgroundColor" format="color"/>
<attr name="galleryDetailButtonBackgroundColor" format="color"/>
<attr name="gallerySliderBackgroundColor" format="color"/>
+5 -1
View File
@@ -50,7 +50,7 @@
<color name="widget_light">@color/grey_200</color>
<color name="widget_dark">@color/grey_700</color>
<color name="widget_black">@color/grey_800</color>
<color name="widget_black">@color/grey_850</color>
<color name="tag_group_background_light">@color/colorAccent</color>
<color name="tag_group_background_dark">@color/grey_775</color>
@@ -60,6 +60,10 @@
<color name="tag_background_dark">@color/grey_775</color>
<color name="tag_background_black">@color/grey_875</color>
<color name="gallery_detail_button_background_light">@color/grey_100</color>
<color name="gallery_detail_button_background_dark">@color/grey_800</color>
<color name="gallery_detail_button_background_black">@color/grey_900</color>
<color name="red_500">#fff44336</color>
<color name="teal_500">#ff009688</color>
<color name="teal_700">#ff00796b</color>
+3
View File
@@ -45,6 +45,7 @@
<item name="tagGroupBackgroundColor">@color/tag_group_background_light</item>
<item name="tagBackgroundColor">@color/tag_background_light</item>
<item name="galleryDetailHeaderBackgroundColor">?attr/contentColorThemePrimary</item>
<item name="galleryDetailButtonBackgroundColor">@color/gallery_detail_button_background_light</item>
<item name="toolbarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
<item name="galleryDetailDivider">@drawable/divider_gallery_detail_light</item>
@@ -86,6 +87,7 @@
<item name="tagGroupBackgroundColor">@color/tag_group_background_dark</item>
<item name="tagBackgroundColor">@color/tag_background_dark</item>
<item name="galleryDetailHeaderBackgroundColor">?attr/contentColorThemePrimary</item>
<item name="galleryDetailButtonBackgroundColor">@color/gallery_detail_button_background_dark</item>
<item name="toolbarPopupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
<item name="galleryDetailDivider">@drawable/divider_gallery_detail_dark</item>
@@ -131,6 +133,7 @@
<item name="tagGroupBackgroundColor">@color/tag_group_background_black</item>
<item name="tagBackgroundColor">@color/tag_background_black</item>
<item name="galleryDetailHeaderBackgroundColor">@android:color/black</item>
<item name="galleryDetailButtonBackgroundColor">@color/gallery_detail_button_background_black</item>
<item name="toolbarPopupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
<item name="galleryDetailDivider">@drawable/divider_gallery_detail_dark</item>