mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-13 18:33:20 +01:00
Changing color of the live location icon
This commit is contained in:
parent
fb764028c9
commit
8bcc594320
@ -139,4 +139,8 @@
|
||||
<color name="vctr_presence_indicator_offline_light">@color/palette_gray_100</color>
|
||||
<color name="vctr_presence_indicator_offline_dark">@color/palette_gray_450</color>
|
||||
|
||||
<!-- Location sharing colors -->
|
||||
<attr name="vctr_live_location" format="color" />
|
||||
<color name="vctr_live_location_light">@color/palette_prune</color>
|
||||
<color name="vctr_live_location_dark">@color/palette_prune</color>
|
||||
</resources>
|
||||
|
@ -145,6 +145,8 @@
|
||||
|
||||
<item name="android:actionButtonStyle">@style/Widget.Vector.ActionButton</item>
|
||||
|
||||
<!-- Location sharing -->
|
||||
<item name="vctr_live_location">@color/vctr_live_location_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Vector.Dark" parent="Base.Theme.Vector.Dark" />
|
||||
|
@ -146,6 +146,8 @@
|
||||
|
||||
<item name="android:actionButtonStyle">@style/Widget.Vector.ActionButton</item>
|
||||
|
||||
<!-- Location sharing -->
|
||||
<item name="vctr_live_location">@color/vctr_live_location_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Vector.Light" parent="Base.Theme.Vector.Light" />
|
||||
|
@ -6,9 +6,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
||||
|
||||
<!-- TODO add strings and correct icons -->
|
||||
<!-- TODO add dividers -->
|
||||
|
||||
<im.vector.app.features.location.view.LocationSharingOptionView
|
||||
android:id="@+id/locationSharingOptionPinned"
|
||||
android:layout_width="0dp"
|
||||
@ -65,7 +62,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:icon="@drawable/ic_attachment_location_live_white"
|
||||
app:iconBackground="@drawable/circle"
|
||||
app:iconBackgroundTint="?colorPrimary"
|
||||
app:iconBackgroundTint="?vctr_live_location"
|
||||
app:iconDescription="@string/a11y_location_share_option_user_live_icon"
|
||||
app:iconPadding="3dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
Loading…
Reference in New Issue
Block a user