1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<resources> 19 20 <style name="base" parent="@style/Theme.MaterialComponents.Light"> 21 <item name="windowActionBar">false</item> 22 <item name="windowNoTitle">true</item> 23 24 <item name="colorPrimary">@color/primaryColor</item> 25 <item name="colorPrimaryDark">@color/primaryDarkColor</item> 26 <item name="colorSecondary">?attr/colorPrimary</item> 27 <item name="colorOnSecondary">@color/primaryTextColor</item> 28 29 <!-- Window decor --> 30 <item name="android:windowLightStatusBar">true</item> 31 <item name="android:windowLightNavigationBar">true</item> 32 33 </style> 34 35 <style name="bubble_base" parent=""> 36 <item name="android:textSize">20sp</item> 37 <item name="android:layout_marginBottom">16dp</item> 38 </style> 39 40 <style name="bubble" parent="@style/bubble_base"> 41 <item name="android:layout_marginEnd">56dp</item> 42 <item name="android:background">@drawable/bubble</item> 43 <item name="android:layout_gravity">start</item> 44 </style> 45 46 <style name="bubble_self" parent="@style/bubble_base"> 47 <item name="android:layout_marginStart">56dp</item> 48 <item name="android:background">@drawable/bubble_self</item> 49 <item name="android:layout_gravity">end</item> 50 </style> 51 52 <color name="primaryColor">#1c3fef</color> 53 <color name="primaryLightColor">#6f6bff</color> 54 <color name="primaryDarkColor">#0016bb</color> 55 <color name="primaryTextColor">#ffffff</color> 56 57 <color name="bubble">#eeeeee</color> 58 <color name="bubble_self">#D8DCF0</color> 59 60 <dimen name="bubble_corner">16dp</dimen> 61 <dimen name="bubble_padding">8dp</dimen> 62 <dimen name="bubble_padding_side">16dp</dimen> 63 64</resources> 65