summaryrefslogtreecommitdiff
path: root/ui/common/src/main/res
diff options
context:
space:
mode:
authorTacoTheDank <SkytkRSfan3895@gmail.com>2022-06-04 20:17:12 -0400
committerTacoTheDank <SkytkRSfan3895@gmail.com>2022-06-04 20:17:12 -0400
commitfafe85ddd6b938c3ba4bf47fd34d8352660d75fd (patch)
tree7e6bc6ab23aa4f33ce3a01f9bfaff4b51d992555 /ui/common/src/main/res
parentfd066a648ba46762267acb9fd1042d1c2f851303 (diff)
downloadAntennaPod-fafe85ddd6b938c3ba4bf47fd34d8352660d75fd.zip
Integrate TriangleLabelView locally into project
Diffstat (limited to 'ui/common/src/main/res')
-rw-r--r--ui/common/src/main/res/values/attrs.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/ui/common/src/main/res/values/attrs.xml b/ui/common/src/main/res/values/attrs.xml
new file mode 100644
index 000000000..f3334fe77
--- /dev/null
+++ b/ui/common/src/main/res/values/attrs.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <declare-styleable name="TriangleLabelView">
+ <attr name="backgroundColor" format="color" />
+ <attr name="primaryTextColor" format="color" />
+ <attr name="primaryText" format="string" />
+ <attr name="primaryTextSize" format="dimension" />
+
+ <attr name="labelTopPadding" format="dimension" />
+ <attr name="labelCenterPadding" format="dimension" />
+ <attr name="labelBottomPadding" format="dimension" />
+
+ <attr name="corner">
+ <enum name="leftTop" value="1" />
+ <enum name="rightTop" value="2" />
+ </attr>
+ </declare-styleable>
+</resources>