mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
Add required resources.
This commit is contained in:
parent
03a8289a13
commit
453aa28380
5 changed files with 52 additions and 0 deletions
|
@ -18,4 +18,26 @@
|
||||||
<item name="android:gravity">center</item>
|
<item name="android:gravity">center</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="TextAppearance.Vector.Body.BottomSheetDisplayName">
|
||||||
|
<item name="android:textSize">16sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="TextAppearance.Vector.Body.BottomSheetRemainingTime">
|
||||||
|
<item name="android:textSize">12sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="TextAppearance.Vector.Body.BottomSheetLastUpdatedAt">
|
||||||
|
<item name="android:textSize">12sp</item>
|
||||||
|
<item name="android:textColor">?vctr_content_tertiary</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="Widget.Vector.Button.Text.BottomSheetStopSharing">
|
||||||
|
<item name="android:foreground">?selectableItemBackground</item>
|
||||||
|
<item name="android:background">@android:color/transparent</item>
|
||||||
|
<item name="android:textAppearance">@style/TextAppearance.Vector.Body.Medium</item>
|
||||||
|
<item name="android:textColor">?colorError</item>
|
||||||
|
<item name="android:padding">0dp</item>
|
||||||
|
<item name="android:gravity">center</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
14
vector/sampledata/live_location_users.json
Normal file
14
vector/sampledata/live_location_users.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"displayName": "Amandine",
|
||||||
|
"remainingTime": "9min left",
|
||||||
|
"lastUpdatedAt": "Updated 12min ago"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "You",
|
||||||
|
"remainingTime": "19min left",
|
||||||
|
"lastUpdatedAt": "Updated 1min ago"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<corners
|
||||||
|
android:topLeftRadius="16dp"
|
||||||
|
android:topRightRadius="16dp" />
|
||||||
|
<solid android:color="?android:colorBackground" />
|
||||||
|
</shape>
|
6
vector/src/main/res/drawable/ic_bottom_sheet_handle.xml
Normal file
6
vector/src/main/res/drawable/ic_bottom_sheet_handle.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<size android:width="36dp" android:height="6dp" />
|
||||||
|
<solid android:color="?vctr_content_quinary" />
|
||||||
|
<corners android:radius="3dp" />
|
||||||
|
</shape>
|
|
@ -3037,6 +3037,8 @@
|
||||||
<string name="live_location_sharing_notification_description">Location sharing is in progress</string>
|
<string name="live_location_sharing_notification_description">Location sharing is in progress</string>
|
||||||
<string name="labs_enable_live_location">Enable Live Location Sharing</string>
|
<string name="labs_enable_live_location">Enable Live Location Sharing</string>
|
||||||
<string name="labs_enable_live_location_summary">Temporary implementation: locations persist in room history</string>
|
<string name="labs_enable_live_location_summary">Temporary implementation: locations persist in room history</string>
|
||||||
|
<string name="live_location_bottom_sheet_stop_sharing">Stop sharing</string>
|
||||||
|
<string name="live_location_bottom_sheet_last_updated_at">Updated %1$s ago</string>
|
||||||
|
|
||||||
<string name="message_bubbles">Show Message bubbles</string>
|
<string name="message_bubbles">Show Message bubbles</string>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue