aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/res/values
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-08 20:25:23 -0700
committerAllan Wang <me@allanwang.ca>2017-07-08 20:25:23 -0700
commit81996038462de1be86643e95d262933c4b96c551 (patch)
tree39423b28217251e7051f86e9e4f80c47bcba20b2 /core/src/main/res/values
parent880d433e475e5be4e5d91afac145b490f9a959b7 (diff)
downloadkau-81996038462de1be86643e95d262933c4b96c551.tar.gz
kau-81996038462de1be86643e95d262933c4b96c551.tar.bz2
kau-81996038462de1be86643e95d262933c4b96c551.zip
Move components to separate modules
Diffstat (limited to 'core/src/main/res/values')
-rw-r--r--core/src/main/res/values/attr.xml41
-rw-r--r--core/src/main/res/values/colors.xml6
-rw-r--r--core/src/main/res/values/dimens.xml1
-rw-r--r--core/src/main/res/values/dimens_search.xml27
-rw-r--r--core/src/main/res/values/strings_about.xml2
-rw-r--r--core/src/main/res/values/styles.xml25
6 files changed, 1 insertions, 101 deletions
diff --git a/core/src/main/res/values/attr.xml b/core/src/main/res/values/attr.xml
deleted file mode 100644
index 49be8d9..0000000
--- a/core/src/main/res/values/attr.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml
deleted file mode 100644
index 6d51597..0000000
--- a/core/src/main/res/values/colors.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<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/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml
index 5bf6da4..a459443 100644
--- a/core/src/main/res/values/dimens.xml
+++ b/core/src/main/res/values/dimens.xml
@@ -10,7 +10,6 @@
<dimen name="kau_splash_logo">16dp</dimen>
<dimen name="kau_progress_bar_height">1dip</dimen>
<dimen name="kau_account_image_size">100dp</dimen>
- <dimen name="kau_color_circle_size">56dp</dimen>
<dimen name="kau_status_bar_height">24dp</dimen>
<dimen name="kau_drag_dismiss_distance">112dp</dimen> <!-- 2 * ?android:actionBarSize -->
diff --git a/core/src/main/res/values/dimens_search.xml b/core/src/main/res/values/dimens_search.xml
deleted file mode 100644
index acf79cb..0000000
--- a/core/src/main/res/values/dimens_search.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-
- <dimen name="kau_search_height">46dp</dimen>
-
- <dimen name="kau_search_base_margin">4dp</dimen>
- <dimen name="kau_search_base_corners">2dp</dimen>
- <dimen name="kau_search_key_line_8">8dp</dimen>
- <dimen name="kau_search_key_line_16">16dp</dimen>
- <dimen name="kau_search_divider">1dp</dimen>
-
- <dimen name="kau_search_item_margin_text">24dp</dimen>
- <dimen name="kau_search_item_height">56dp</dimen>
- <dimen name="kau_search_icon">56dp</dimen>
- <dimen name="kau_search_progress">24dp</dimen>
- <dimen name="kau_search_text_micro">12sp</dimen>
- <dimen name="kau_search_text_small">14sp</dimen>
- <dimen name="kau_search_text_medium">16sp</dimen>
- <dimen name="kau_search_reveal">24dp</dimen>
-
- <dimen name="kau_search_filter_margin_top">4dp</dimen>
- <dimen name="kau_search_filter_margin_start">12dp</dimen>
-
- <dimen name="kau_search_menu_item_margin">1dp</dimen>
- <dimen name="kau_search_menu_item_margin_left_right">2dp</dimen>
-
-</resources> \ No newline at end of file
diff --git a/core/src/main/res/values/strings_about.xml b/core/src/main/res/values/strings_about.xml
index e659fc3..4c3c38d 100644
--- a/core/src/main/res/values/strings_about.xml
+++ b/core/src/main/res/values/strings_about.xml
@@ -1,5 +1,5 @@
<resources xmlns:tools="http://schemas.android.com/tools">
- <string name="library_kau_libraryVersion" tools:ignore="ResourceName">1.4</string>
+ <string name="library_kau_libraryVersion" tools:ignore="ResourceName">1.5</string>
<string name="define_kau" tools:ignore="ResourceName" />
<!-- Author section -->
diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml
deleted file mode 100644
index 71d88a2..0000000
--- a/core/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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>
-
- <style name="Kau.Translucent.About">
- <item name="android:windowEnterTransition">@transition/kau_enter_slide_top</item>
- <item name="android:windowReturnTransition">@transition/kau_about_return_upwards</item>
- </style>
-
-</resources> \ No newline at end of file