Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aab6ef4c authored by Gitsaibot's avatar Gitsaibot Committed by Jochen Sprickerhof
Browse files

Change the background of the month heading(on tablets) according to the selected theme

parent db4984c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
    android:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/month_other_bgcolor">
    android:background="?attr/month_other_bgcolor">

    <TextView android:id="@+id/wk_label"
        android:layout_width="24dip"
+1 −0
Original line number Diff line number Diff line
@@ -43,5 +43,6 @@
        <attr name="minus_button" format="reference"/>
        <attr name="ic_menu_email" format="reference"/>
        <attr name="calendar_future_bg_color" format="color"/>
        <attr name="month_other_bgcolor" format="color"/>
    </declare-styleable>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -241,7 +241,7 @@
    <color name="month_event_extra_other_color_black">#000000</color>
    <color name="month_today_bgcolor_black">#6efffffa</color>
    <color name="month_focus_month_bgcolor_black">#212121</color>
    <color name="month_other_bgcolor_black">#000000</color>
    <color name="month_other_bgcolor_black">#ff111111</color>
    <color name="today_highlight_color_black">#0033b5e5</color>
    <color name="day_clicked_background_color_black">#FF33B5E5</color>
    <color name="month_day_names_color_black">#ffffff</color>
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
        <item name="minus_button">@drawable/ic_menu_remove_field_holo_light</item>
        <item name="ic_menu_email">@drawable/ic_menu_email_holo_light</item>
        <item name="calendar_future_bg_color">@color/calendar_future_bg_color</item>
        <item name="month_other_bgcolor">@color/month_other_bgcolor</item>
    </style>

    <style name="Base.CalendarAppThemeWithActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
        <item name="minus_button">@drawable/ic_menu_remove_field_holo_light_dark</item>
        <item name="ic_menu_email">@drawable/event_info_mail_button_dark</item>
        <item name="calendar_future_bg_color">@color/calendar_future_bg_color_dark</item>
        <item name="month_other_bgcolor">@color/month_other_bgcolor_dark</item>
    </style>

    <style name="CalendarAppThemeBlack" parent="Theme.AppCompat.NoActionBar">
@@ -69,6 +70,7 @@
        <item name="app_bar_color">@color/app_bar_black</item>
        <item name="minus_button">@drawable/ic_menu_remove_field_holo_light_dark</item>
        <item name="calendar_future_bg_color">@color/calendar_future_bg_color_black</item>
        <item name="month_other_bgcolor">@color/month_other_bgcolor_black</item>
    </style>