Dmitry Donskoy 2019-06-28 13:34:55 +03:00 committed by Aleksandr Zatsepin
parent 72ff98bd59
commit f45839c0bc
4 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:angle="270"
android:startColor="#b4d0ebff"
android:endColor="#00ffffff" />
</shape>

View file

@ -21,7 +21,7 @@
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:background="@drawable/bookmark_subscription_screen_bg"
android:background="?attr/bookmarkSubscriptionScreenBg"
android:padding="@dimen/margin_base"
android:layout_width="match_parent"
android:layout_height="wrap_content">

View file

@ -76,6 +76,7 @@
<attr name="adsRemovalOptionsBg" format="reference"/>
<attr name="adsRemovalOptionsDivider" format="color"/>
<attr name="icClearRounded" format="reference"/>
<attr name="bookmarkSubscriptionScreenBg" format="reference"/>
<declare-styleable name="AnchorBottomSheetBehavior_Layout">
<attr name="behavior_anchorOffset" format="dimension" />

View file

@ -146,6 +146,7 @@
<item name="android:textAppearanceMedium">@style/TextAppearance.Medium</item>
<item name="android:textAppearanceLarge">@style/TextAppearance.Large</item>
<item name="drivingOptionsViewBg">@color/light_green</item>
<item name="bookmarkSubscriptionScreenBg">@drawable/bookmark_subscription_screen_bg</item>
</style>
<!-- Night theme -->
@ -295,5 +296,6 @@
<item name="android:textAppearanceMedium">@style/TextAppearance.Medium</item>
<item name="android:textAppearanceLarge">@style/TextAppearance.Large</item>
<item name="drivingOptionsViewBg">@color/driving_options_bg_black</item>
<item name="bookmarkSubscriptionScreenBg">@drawable/bookmark_subscription_screen_bg_night</item>
</style>
</resources>