| Adrian Roos | 2345831 | 2020-01-28 17:24:50 +0100 | [diff] [blame] | 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 | |
| Tiger Huang | d6ae238 | 2019-11-05 20:44:32 +0800 | [diff] [blame] | 20 | <style name="chat" parent="@style/Theme.MaterialComponents.Light"> |
| Adrian Roos | 2345831 | 2020-01-28 17:24:50 +0100 | [diff] [blame] | 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:statusBarColor">#ffffff</item> |
| 31 | <item name="android:windowLightStatusBar">true</item> |
| 32 | <item name="android:windowLightNavigationBar">true</item> |
| 33 | <item name="android:navigationBarColor">#ffffff</item> |
| 34 | |
| 35 | </style> |
| 36 | |
| 37 | <style name="bubble_base" parent=""> |
| 38 | <item name="android:textSize">20sp</item> |
| 39 | <item name="android:layout_marginBottom">16dp</item> |
| 40 | </style> |
| 41 | |
| 42 | <style name="bubble" parent="@style/bubble_base"> |
| 43 | <item name="android:layout_marginEnd">56dp</item> |
| 44 | <item name="android:background">@drawable/bubble</item> |
| 45 | <item name="android:layout_gravity">start</item> |
| 46 | </style> |
| 47 | |
| 48 | <style name="bubble_self" parent="@style/bubble_base"> |
| 49 | <item name="android:layout_marginStart">56dp</item> |
| 50 | <item name="android:background">@drawable/bubble_self</item> |
| 51 | <item name="android:layout_gravity">end</item> |
| 52 | </style> |
| 53 | |
| 54 | <color name="primaryColor">#1c3fef</color> |
| 55 | <color name="primaryLightColor">#6f6bff</color> |
| 56 | <color name="primaryDarkColor">#0016bb</color> |
| 57 | <color name="primaryTextColor">#ffffff</color> |
| 58 | |
| 59 | <color name="bubble">#eeeeee</color> |
| 60 | <color name="bubble_self">#D8DCF0</color> |
| 61 | |
| 62 | <dimen name="bubble_corner">16dp</dimen> |
| 63 | <dimen name="bubble_padding">8dp</dimen> |
| 64 | <dimen name="bubble_padding_side">16dp</dimen> |
| 65 | |
| Tiger Huang | d6ae238 | 2019-11-05 20:44:32 +0800 | [diff] [blame] | 66 | <style name="controller" parent="android:Theme.Material"> |
| 67 | <item name="android:colorPrimaryDark">#111111</item> |
| 68 | <item name="android:navigationBarColor">#111111</item> |
| 69 | <item name="android:colorPrimary">#222222</item> |
| 70 | <item name="android:colorAccent">#33ccff</item> |
| 71 | </style> |
| Adrian Roos | 2345831 | 2020-01-28 17:24:50 +0100 | [diff] [blame] | 72 | |
| 73 | </resources> |