aboutsummaryrefslogtreecommitdiff
path: root/core-ui/src/main/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'core-ui/src/main/res/values')
-rw-r--r--core-ui/src/main/res/values/attr.xml41
-rw-r--r--core-ui/src/main/res/values/colors.xml6
-rw-r--r--core-ui/src/main/res/values/styles.xml20
3 files changed, 67 insertions, 0 deletions
diff --git a/core-ui/src/main/res/values/attr.xml b/core-ui/src/main/res/values/attr.xml
new file mode 100644
index 0000000..49be8d9
--- /dev/null
+++ b/core-ui/src/main/res/values/attr.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName">
+
+ <declare-styleable name="BoundedCardView">
+ <attr name="maxHeight" format="dimension" />
+ <attr name="maxHeightPercent" format="float" />
+ </declare-styleable>
+
+ <declare-styleable name="TextSlider">
+ <attr name="animation_type" format="enum">
+ <enum name="none" value="1000" />
+ <enum name="slide_horizontal" value="1001" />
+ <enum name="slide_vertical" value="1002" />
+ </attr>
+ </declare-styleable>
+
+ <declare-styleable name="InkPageIndicator">
+ <attr name="dotDiameter" format="dimension" />
+ <attr name="dotGap" format="dimension" />
+ <attr name="animationDuration" format="integer" />
+ <attr name="pageIndicatorColor" format="color" />
+ <attr name="currentPageIndicatorColor" format="color" />
+ </declare-styleable>
+
+ <declare-styleable name="ElasticDragDismissFrameLayout">
+ <attr name="dragDismissDistance" format="dimension" />
+ <attr name="dragDismissFraction" format="float" />
+ <attr name="dragDismissScale" format="float" />
+ <attr name="dragElasticity" format="float" />
+ </declare-styleable>
+
+ <declare-styleable name="CutoutView">
+ <attr name="foregroundColor" format="color" />
+ <attr name="android:text" />
+ <attr name="android:drawable" />
+ <attr name="android:minHeight" />
+ <attr name="heightPercentageToScreen" format="float" />
+ <attr name="font"/>
+ </declare-styleable>
+
+</resources> \ No newline at end of file
diff --git a/core-ui/src/main/res/values/colors.xml b/core-ui/src/main/res/values/colors.xml
new file mode 100644
index 0000000..6d51597
--- /dev/null
+++ b/core-ui/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+<resources>
+ <color name="kau_shadow_overlay">#80000000</color>
+
+ <color name="kau_about_page_indicator_dark">#80ffffff</color>
+ <color name="kau_about_page_indicator_dark_selected">#fff</color>
+</resources>
diff --git a/core-ui/src/main/res/values/styles.xml b/core-ui/src/main/res/values/styles.xml
new file mode 100644
index 0000000..f9fd7d4
--- /dev/null
+++ b/core-ui/src/main/res/values/styles.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <style name="Kau" parent="Theme.AppCompat.NoActionBar" />
+
+ <style name="Kau.Translucent">
+ <item name="android:windowBackground">@color/kau_shadow_overlay</item>
+ <item name="android:colorBackgroundCacheHint">@null</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowIsFloating">false</item>
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowDrawsSystemBarBackgrounds">true</item>
+ </style>
+
+ <style name="Kau.Translucent.NoAnimation">
+ <item name="android:windowAnimationStyle">@null</item>
+ </style>
+
+</resources> \ No newline at end of file