Commit 6d28d134 authored by Mohit Mali's avatar Mohit Mali
Browse files

Fixed white color of app

parent 863a79e5
Pipeline #81469 passed with stage
in 18 minutes and 57 seconds
......@@ -178,12 +178,10 @@ class MainActivity : QkThemedActivity(), MainView {
}
// Miscellaneous views
syncingProgress?.progressTintList = ColorStateList.valueOf(getColor(R.color.tools_theme))
syncingProgress?.progressTintList = ColorStateList.valueOf(resources.getColor(R.color.tools_theme))
syncingProgress?.indeterminateTintList = ColorStateList.valueOf(getColor(R.color.tools_theme))
compose.setBackgroundTint(getColor(R.color.tools_theme))
// Set the FAB compose icon color
compose.setTint(getColor(R.color.white))
compose.setTint(getColor(R.color.tools_theme))
itemTouchCallback.adapter = conversationsAdapter
conversationsAdapter.autoScrollToStart(recyclerView)
......
......@@ -121,7 +121,7 @@ class WidgetProvider : AppWidgetProvider() {
remoteViews.setInt(R.id.toolbar, "setColorFilter", context.getColorCompat(when {
night && black -> R.color.black
night && !black -> R.color.toolbarDark
else -> R.color.toolbarLight
else -> R.color.colorPrimary
}))
remoteViews.setTextColor(R.id.title, context.getColorCompat(when (night) {
......
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
~
~ This file is part of QKSMS.
......@@ -98,10 +97,8 @@
android:elevation="8dp"
android:padding="16dp"
android:src="@drawable/ic_add_black_24dp"
android:tint="@color/white"
app:layout_constraintBottom_toTopOf="@id/bottom"
app:layout_constraintEnd_toEndOf="parent"
tools:backgroundTint="@color/tools_theme" />
app:layout_constraintEnd_toEndOf="parent" />
<View
android:layout_width="0dp"
......
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
~
~ This file is part of QKSMS.
......@@ -27,7 +26,7 @@
<color name="statusBarLight">#FFFFFF</color>
<color name="statusBarDark">#1d262b</color>
<color name="toolbarLight">#FFFFFF</color>
<color name="toolbarLight">@color/colorPrimary</color>
<color name="toolbarDark">#1d262b</color>
<color name="toolbarTranslucent">#88000000</color>
<color name="toolbarSearchBackgroundLight">#0D000000</color>
......@@ -67,5 +66,7 @@
<color name="switchTrackDisabledDark">#383838</color>
<!-- This colour should only ever be used for attrs with the tools tag -->
<color name="tools_theme">@lineageos.platform:color/color_default_primary</color>
<color name="tools_theme">@lineageos.platform:color/color_default_accent</color>
<color name="colorPrimary">@lineageos.platform:color/color_default_primary</color>
<color name="colorPrimaryDark">@lineageos.platform:color/color_default_primary_dark</color>
</resources>
......@@ -44,8 +44,9 @@
<item name="android:windowContentTransitions">true</item>
<item name="actionBarPopupTheme">@style/PopupTheme</item>
<item name="bubbleColor">@color/bubbleLight</item>
<item name="colorPrimary">@color/toolbarLight</item>
<item name="colorPrimaryDark">@color/statusBarLight</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/tools_theme</item>
<item name="composeBackground">@color/backgroundLight</item>
<item name="selectableItemBackground">@drawable/ripple</item>
<item name="switchThumbEnabled">@color/switchThumbEnabledLight</item>
......@@ -62,8 +63,8 @@
<item name="android:windowBackground">@android:color/transparent</item>
<item name="actionBarPopupTheme">@style/PopupTheme</item>
<item name="bubbleColor">@color/bubbleLight</item>
<item name="colorPrimary">@color/toolbarLight</item>
<item name="colorPrimaryDark">@color/statusBarLight</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="composeBackground">@color/backgroundLight</item>
<item name="selectableItemBackground">@drawable/ripple</item>
<item name="windowActionBar">false</item>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment