aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/main/res/values')
-rw-r--r--library/src/main/res/values/attr.xml3
-rw-r--r--library/src/main/res/values/dimens.xml7
-rw-r--r--library/src/main/res/values/ids.xml2
-rw-r--r--library/src/main/res/values/styles.xml2
4 files changed, 11 insertions, 3 deletions
diff --git a/library/src/main/res/values/attr.xml b/library/src/main/res/values/attr.xml
index daeb5e3..49be8d9 100644
--- a/library/src/main/res/values/attr.xml
+++ b/library/src/main/res/values/attr.xml
@@ -29,9 +29,10 @@
<attr name="dragElasticity" format="float" />
</declare-styleable>
- <declare-styleable name="CutoutTextView">
+ <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"/>
diff --git a/library/src/main/res/values/dimens.xml b/library/src/main/res/values/dimens.xml
index d45643e..5bf6da4 100644
--- a/library/src/main/res/values/dimens.xml
+++ b/library/src/main/res/values/dimens.xml
@@ -28,5 +28,10 @@
<dimen name="kau_about_header_height">224dp</dimen>
-
+ <!-- avatar should be a 40dp asset in a 48dp touch target & optically aligned with standard padding -->
+ <dimen name="kau_avatar_size">40dp</dimen>
+ <dimen name="kau_avatar_bounds">48dp</dimen>
+ <dimen name="kau_avatar_padding">4dp</dimen> <!-- (avatar_bounds - avatar_size) / 2 -->
+ <dimen name="kau_avatar_margin">12dp</dimen> <!-- padding_normal - avatar_padding -->
+ <dimen name="kau_avatar_ripple_radius">20dp</dimen> <!-- avatar_size / 2 -->
</resources>
diff --git a/library/src/main/res/values/ids.xml b/library/src/main/res/values/ids.xml
index a21175a..fe0d411 100644
--- a/library/src/main/res/values/ids.xml
+++ b/library/src/main/res/values/ids.xml
@@ -8,6 +8,8 @@
<item name="kau_item_pref_sub_item" type="id" />
<item name="kau_item_pref_plain_text" type="id" />
<item name="kau_item_search" type="id" />
+ <item name="kau_item_cutout" type="id" />
+ <item name="kau_item_card" type="id" />
<item name="kau_item_about_library" type="id" />
<item name="kau_item_about_main" type="id" />
</resources> \ No newline at end of file
diff --git a/library/src/main/res/values/styles.xml b/library/src/main/res/values/styles.xml
index 6f5e3c1..2067c6d 100644
--- a/library/src/main/res/values/styles.xml
+++ b/library/src/main/res/values/styles.xml
@@ -14,7 +14,7 @@
</style>
<style name="Kau.Translucent.About">
- <item name="android:windowEnterTransition">@transition/kau_about_enter</item>
+ <item name="android:windowEnterTransition">@transition/kau_enter_slide_top</item>
<item name="android:windowReturnTransition">@transition/kau_about_return_upwards</item>
</style>