| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright 2018 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <resources> |
| |
| <!-- Base application theme. --> |
| <style name="Theme.RoundedBackground" parent="Theme.AppCompat.Light"> |
| <item name="colorPrimary">@color/colorPrimary</item> |
| <item name="colorPrimaryDark">@color/colorPrimaryDark</item> |
| <item name="colorAccent">@color/colorAccent</item> |
| </style> |
| |
| <style name="Widget.RoundedBackground" parent="android:Widget"/> |
| |
| <style name="Widget.RoundedBackground.SampleTextView"> |
| <item name="android:lineSpacingExtra">2dp</item> |
| <item name="android:lineSpacingMultiplier">1.5</item> |
| <item name="android:padding">4dp</item> |
| <item name="android:textSize">18sp</item> |
| <item name="android:includeFontPadding">true</item> |
| <item name="roundedTextHorizontalPadding">2dp</item> |
| <item name="roundedTextVerticalPadding">2dp</item> |
| </style> |
| |
| <style name="Widget.RoundedBackground.Divider"> |
| <item name="android:background">#CCC</item> |
| <item name="android:padding">2dp</item> |
| </style> |
| </resources> |