mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-30 10:54:58 +01:00
Fix jump-to-unread style for non-Element themes
Change-Id: If203eb8af60542eff57269dfe318b754b1e83b10
This commit is contained in:
parent
37b729c1d1
commit
0b8b9d3cad
@ -47,4 +47,14 @@
|
||||
<item name="boxStrokeColor">@color/edit_text_outline_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Vector.JumpToUnread.SC.Dark" parent="Widget.Vector.JumpToUnread.Dark">
|
||||
<item name="chipBackgroundColor">@color/background_floating_sc</item>
|
||||
<item name="closeIconTint">?vctr_content_quaternary</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Vector.JumpToUnread.SC.Light" parent="Widget.Vector.JumpToUnread.Light">
|
||||
<item name="chipBackgroundColor">@color/background_floating_sc_light</item>
|
||||
<item name="closeIconTint">?vctr_content_secondary</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
@ -95,6 +95,8 @@
|
||||
|
||||
<!-- Broken login screen outline color on dark theme otherwise? -->
|
||||
<item name="textInputStyle">@style/Widget.Vector.TextInputLayout.Dark.SC</item>
|
||||
|
||||
<item name="vctr_jump_to_unread_style">@style/Widget.Vector.JumpToUnread.SC.Dark</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Base.SC.Dark">
|
||||
|
@ -92,6 +92,8 @@
|
||||
|
||||
<item name="android:statusBarColor">@color/background_black_sc</item>
|
||||
<item name="android:navigationBarColor">@color/background_black_sc</item>
|
||||
|
||||
<item name="vctr_jump_to_unread_style">@style/Widget.Vector.JumpToUnread.SC.Light</item>
|
||||
</style>
|
||||
|
||||
<!-- Default AppTheme for usage where settings don't apply -->
|
||||
|
@ -5,6 +5,6 @@
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M12,2C6.4771,2 2,6.4771 2,12C2,17.5228 6.4771,22 12,22C17.5228,22 22,17.5228 22,12C22,6.4771 17.5228,2 12,2ZM11.2929,6.2929C11.3888,6.197 11.4993,6.1247 11.6172,6.0759L12.7071,6.2929L12.7075,6.2933L16.7071,10.2929C17.0976,10.6834 17.0976,11.3166 16.7071,11.7071C16.3166,12.0976 15.6834,12.0976 15.2929,11.7071L13,9.4142L13,17C13,17.5523 12.5523,18 12,18C11.4477,18 11,17.5523 11,17L11,9.4142L8.7071,11.7071C8.3166,12.0976 7.6834,12.0976 7.2929,11.7071C6.9024,11.3166 6.9024,10.6834 7.2929,10.2929L11.2929,6.2929ZM11.6172,6.0759L12.705,6.2908C12.5242,6.1111 12.2751,6 12,6C11.8644,6 11.7351,6.027 11.6172,6.0759Z"
|
||||
android:fillColor="#0DBD8B"
|
||||
android:fillColor="#808080"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
|
@ -131,6 +131,7 @@
|
||||
android:id="@+id/jumpToReadMarkerView"
|
||||
style="?vctr_jump_to_unread_style"
|
||||
app:chipIcon="@drawable/ic_jump_to_unread"
|
||||
app:chipIconTint="?colorPrimary"
|
||||
app:closeIcon="@drawable/ic_close_24dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
Loading…
x
Reference in New Issue
Block a user