From d52c787508bf5ba0023946228468731a82a1132d Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 28 Jun 2017 17:08:20 -0700 Subject: Beginning of overlaying about activity --- .../src/main/res/layout/kau_about_item_library.xml | 24 ++--- .../src/main/res/layout/kau_about_item_main.xml | 106 --------------------- .../res/layout/kau_about_section_libraries.xml | 27 ++++++ .../src/main/res/layout/kau_about_section_main.xml | 47 +++++++++ library/src/main/res/layout/kau_activity_about.xml | 49 ++++------ library/src/main/res/layout/kau_activity_kpref.xml | 2 +- .../main/res/layout/kau_recycler_textslider.xml | 34 +++++++ library/src/main/res/layout/kau_search_view.xml | 2 +- .../src/main/res/transition/kau_about_enter.xml | 38 ++++++++ .../res/transition/kau_about_return_downward.xml | 49 ++++++++++ .../res/transition/kau_about_return_upwards.xml | 50 ++++++++++ library/src/main/res/values/attr.xml | 23 +++++ library/src/main/res/values/colors.xml | 5 +- library/src/main/res/values/dimens.xml | 15 +++ library/src/main/res/values/strings.xml | 3 +- library/src/main/res/values/strings_about.xml | 11 ++- library/src/main/res/values/strings_commons.xml | 1 + library/src/main/res/values/styles.xml | 21 ++++ 18 files changed, 354 insertions(+), 153 deletions(-) delete mode 100644 library/src/main/res/layout/kau_about_item_main.xml create mode 100644 library/src/main/res/layout/kau_about_section_libraries.xml create mode 100644 library/src/main/res/layout/kau_about_section_main.xml create mode 100644 library/src/main/res/layout/kau_recycler_textslider.xml create mode 100644 library/src/main/res/transition/kau_about_enter.xml create mode 100644 library/src/main/res/transition/kau_about_return_downward.xml create mode 100644 library/src/main/res/transition/kau_about_return_upwards.xml create mode 100644 library/src/main/res/values/styles.xml (limited to 'library/src/main/res') diff --git a/library/src/main/res/layout/kau_about_item_library.xml b/library/src/main/res/layout/kau_about_item_library.xml index 0ae4d3c..0129512 100644 --- a/library/src/main/res/layout/kau_about_item_library.xml +++ b/library/src/main/res/layout/kau_about_item_library.xml @@ -1,11 +1,11 @@ @@ -25,7 +25,7 @@ android:paddingRight="8dp"> + tools:text="Author" /> - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/library/src/main/res/layout/kau_about_section_libraries.xml b/library/src/main/res/layout/kau_about_section_libraries.xml new file mode 100644 index 0000000..45c271b --- /dev/null +++ b/library/src/main/res/layout/kau_about_section_libraries.xml @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/library/src/main/res/layout/kau_about_section_main.xml b/library/src/main/res/layout/kau_about_section_main.xml new file mode 100644 index 0000000..32b3f19 --- /dev/null +++ b/library/src/main/res/layout/kau_about_section_main.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + diff --git a/library/src/main/res/layout/kau_activity_about.xml b/library/src/main/res/layout/kau_activity_about.xml index a42cbe8..a2db0e9 100644 --- a/library/src/main/res/layout/kau_activity_about.xml +++ b/library/src/main/res/layout/kau_activity_about.xml @@ -1,34 +1,27 @@ - + android:layout_height="match_parent" + app:kau_dragDismissDistance="@dimen/kau_drag_dismiss_distance" + app:kau_dragDismissScale="0.95" + tools:context=".about.AboutActivityBase"> - + - + - - - - - + diff --git a/library/src/main/res/layout/kau_activity_kpref.xml b/library/src/main/res/layout/kau_activity_kpref.xml index 2281c45..b3c0f78 100644 --- a/library/src/main/res/layout/kau_activity_kpref.xml +++ b/library/src/main/res/layout/kau_activity_kpref.xml @@ -24,7 +24,7 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> - + + + + + + + + + + + diff --git a/library/src/main/res/layout/kau_search_view.xml b/library/src/main/res/layout/kau_search_view.xml index 4083f44..cd1c4bd 100644 --- a/library/src/main/res/layout/kau_search_view.xml +++ b/library/src/main/res/layout/kau_search_view.xml @@ -8,7 +8,7 @@ android:id="@+id/search_shadow" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/kau_search_full_shadow" + android:background="@color/kau_shadow_overlay" android:visibility="gone" /> + + + + + + + + + + + + + + + + + + + diff --git a/library/src/main/res/transition/kau_about_return_downward.xml b/library/src/main/res/transition/kau_about_return_downward.xml new file mode 100644 index 0000000..b040b1b --- /dev/null +++ b/library/src/main/res/transition/kau_about_return_downward.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/library/src/main/res/transition/kau_about_return_upwards.xml b/library/src/main/res/transition/kau_about_return_upwards.xml new file mode 100644 index 0000000..64b3f5e --- /dev/null +++ b/library/src/main/res/transition/kau_about_return_upwards.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/library/src/main/res/values/attr.xml b/library/src/main/res/values/attr.xml index 14ae027..6a32807 100644 --- a/library/src/main/res/values/attr.xml +++ b/library/src/main/res/values/attr.xml @@ -14,4 +14,27 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/library/src/main/res/values/colors.xml b/library/src/main/res/values/colors.xml index dc95351..6d51597 100644 --- a/library/src/main/res/values/colors.xml +++ b/library/src/main/res/values/colors.xml @@ -1,3 +1,6 @@ - #80000000 + #80000000 + + #80ffffff + #fff diff --git a/library/src/main/res/values/dimens.xml b/library/src/main/res/values/dimens.xml index cbb378a..d45643e 100644 --- a/library/src/main/res/values/dimens.xml +++ b/library/src/main/res/values/dimens.xml @@ -13,5 +13,20 @@ 56dp 24dp + 112dp + + 8dp + 4dp + 32dp + 48dp + 64dp + 16dp + 24dp + 56dp + 28dp + 112sp + + 224dp + diff --git a/library/src/main/res/values/strings.xml b/library/src/main/res/values/strings.xml index cfede89..1f76924 100644 --- a/library/src/main/res/values/strings.xml +++ b/library/src/main/res/values/strings.xml @@ -10,6 +10,5 @@ Title Placeholder Pref Icon - Send via - + This app would not be possible without the following great libraries. diff --git a/library/src/main/res/values/strings_about.xml b/library/src/main/res/values/strings_about.xml index be891d2..489e5c2 100644 --- a/library/src/main/res/values/strings_about.xml +++ b/library/src/main/res/values/strings_about.xml @@ -7,8 +7,15 @@ https://www.allanwang.ca/dev/ KAU - An extensive collection of Kotlin Android Utilities. - https://github.com/AllanWang/KAU + +
+ KAU aims to make many common functions executable in one line. It adds numerous extensions to match Kotlin\'s DSL, + and supports completely customizable view groups that are used in almost any app project. + ]]> +
+ https://allanwang.github.io/KAU/ 1.3 true diff --git a/library/src/main/res/values/strings_commons.xml b/library/src/main/res/values/strings_commons.xml index 89d697e..0ca785d 100644 --- a/library/src/main/res/values/strings_commons.xml +++ b/library/src/main/res/values/strings_commons.xml @@ -52,5 +52,6 @@ Most resources are verbatim and x represents a formatted item Search No Results Found About App + Send via About %s diff --git a/library/src/main/res/values/styles.xml b/library/src/main/res/values/styles.xml new file mode 100644 index 0000000..6f5e3c1 --- /dev/null +++ b/library/src/main/res/values/styles.xml @@ -0,0 +1,21 @@ + + + + + + + + \ No newline at end of file -- cgit v1.2.3