aboutsummaryrefslogtreecommitdiff
path: root/ui/text/RoundedBackground-Kotlin/lib/src/main/res/values/styles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ui/text/RoundedBackground-Kotlin/lib/src/main/res/values/styles.xml')
-rw-r--r--ui/text/RoundedBackground-Kotlin/lib/src/main/res/values/styles.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/ui/text/RoundedBackground-Kotlin/lib/src/main/res/values/styles.xml b/ui/text/RoundedBackground-Kotlin/lib/src/main/res/values/styles.xml
new file mode 100644
index 00000000..9bffef3d
--- /dev/null
+++ b/ui/text/RoundedBackground-Kotlin/lib/src/main/res/values/styles.xml
@@ -0,0 +1,28 @@
+<?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>
+
+ <style name="RoundedBgTextView" parent="@android:style/Widget.TextView">
+ <item name="roundedTextHorizontalPadding">2dp</item>
+ <item name="roundedTextVerticalPadding">2dp</item>
+ <item name="roundedTextDrawable">@drawable/rounded_text_bg</item>
+ <item name="roundedTextDrawableLeft">@drawable/rounded_text_bg_left</item>
+ <item name="roundedTextDrawableMid">@drawable/rounded_text_bg_mid</item>
+ <item name="roundedTextDrawableRight">@drawable/rounded_text_bg_right</item>
+ </style>
+
+</resources>