<?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright © 2019 Damyan Ivanov.
+ ~ Copyright © 2020 Damyan Ivanov.
~ This file is part of MoLe.
~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
- android:endColor="@color/backgroundColor"
- android:startColor="@color/backgroundColorTransparent"
+ android:endColor="?android:attr/colorBackground"
+ android:startColor="@android:color/transparent"
+ android:type="linear"
android:angle="270"
/>
</shape>
\ No newline at end of file
android:layout_marginEnd="@dimen/fab_margin"
android:layout_marginBottom="@dimen/fab_margin"
android:padding="@dimen/fab_margin"
- android:tint="@android:color/white"
+ android:tint="?android:attr/colorBackground"
android:visibility="visible"
app:backgroundTint="?colorAccent"
app:layout_constraintBottom_toBottomOf="parent"
android:id="@+id/main_app_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/backgroundColor"
+ android:background="?android:attr/colorBackground"
android:orientation="vertical"
android:theme="@style/AppTheme.AppBarOverlay"
tools:context=".ui.activity.MainActivity">
android:paddingStart="4dp"
android:paddingEnd="4dp"
android:text="---------"
- android:textColor="@android:color/white"
+ android:textColor="?android:attr/colorBackground"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
tools:ignore="HardcodedText" />
android:paddingStart="4dp"
android:paddingEnd="4dp"
android:text="--.--.----"
- android:textColor="@android:color/white"
+ android:textColor="?android:attr/colorBackground"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
tools:ignore="HardcodedText" />
<color name="colorPrimary">#935FF2</color>
<color name="colorPrimaryDark">#3e148c</color>
<color name="colorAccent">#653BD0</color>
- <color name="drawer_background">#ffffffff</color>
<color name="table_row_dark_bg">#286c33d4</color>
<color name="table_row_light_bg">#28ddcbff</color>
<color name="header_border">#804a148c</color>
<!-- target primary color: #935FF2 -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="colorPrimary">#935FF2</item>
+ <item name="colorOnPrimary">?android:attr/colorBackground</item>
<item name="colorAccent">#653BD0</item>
- <item name="drawer_background">#ffffffff</item>
+ <item name="drawer_background">?android:attr/popupBackground</item>
<item name="table_row_dark_bg">#286c33d4</item>
<item name="table_row_light_bg">#28ddcbff</item>
<item name="windowActionBar">false</item>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
- <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
+ <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.DayNight" />
<style name="nav_button">
<item name="android:layout_width">match_parent</item>