mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 11:38:51 +01:00
Fix gradient behind compose bar, and message bubble color
This commit is contained in:
@@ -124,7 +124,9 @@ class ComposeActivity : QkActivity<ComposeViewModel>(), ComposeView {
|
||||
.subscribe { color -> messageBackground.setBackgroundTint(color) }
|
||||
|
||||
disposables += colors.composeBackground
|
||||
.subscribe { color -> window.decorView.setBackgroundColor(color) }
|
||||
.doOnNext { color -> composeBar.setBackgroundTint(color) }
|
||||
.doOnNext { color -> window.decorView.setBackgroundColor(color) }
|
||||
.subscribe()
|
||||
|
||||
window.callback = ComposeWindowCallback(window.callback, this)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:centerColor="#e5000000"
|
||||
android:endColor="#00000000"
|
||||
android:startColor="#e5000000" />
|
||||
|
||||
</shape>
|
||||
@@ -49,6 +49,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@drawable/compose_bar_background"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<color name="textTertiaryDark">#80ffffff</color>
|
||||
|
||||
<color name="bubbleLight">#FFFFFF</color>
|
||||
<color name="bubbleDark">#0CFFFFFF</color>
|
||||
<color name="bubbleDark">#242a2f</color>
|
||||
|
||||
<color name="separatorLight">#0C000000</color>
|
||||
<color name="separatorDark">#0CFFFFFF</color>
|
||||
|
||||
Reference in New Issue
Block a user