aboutsummaryrefslogtreecommitdiff
path: root/about/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-18 20:16:23 -0700
committerGitHub <noreply@github.com>2017-07-18 20:16:23 -0700
commit8f2b5ac043f47cc44f43c3788d1377083fb339a2 (patch)
tree8f91042414de211cbfe67a76298300884f46a765 /about/src/main/res
parent4eee8d59c21b2061b9f5fd0e805ca60ab84c3585 (diff)
downloadkau-8f2b5ac043f47cc44f43c3788d1377083fb339a2.tar.gz
kau-8f2b5ac043f47cc44f43c3788d1377083fb339a2.tar.bz2
kau-8f2b5ac043f47cc44f43c3788d1377083fb339a2.zip
Dev 2.1 (#8)
* Rewrite animation interfaces * Update changelog * Add scale factor for slide * Remove margins in iitems and replace with decorators * Remove mutable list * Switch cardiitem to use lambdas for click * status * Utils update and imagepicker fixes * Remove stringholder * Add fade in fade out * Increment about version * Rename fromedge to direction in javadocs * More logging * Add logging and docs * Make card icons visible * Update email builder and icon padding * Create elastic recycler activity * Fix card iitem * Add lint check and plurals * Inline all the things * Format and sort xml * Update dependencies and increment version
Diffstat (limited to 'about/src/main/res')
-rw-r--r--about/src/main/res/layout/kau_iitem_library.xml1
-rw-r--r--about/src/main/res/transition/kau_about_return_downward.xml49
-rw-r--r--about/src/main/res/transition/kau_about_return_upwards.xml50
-rw-r--r--about/src/main/res/values/strings_about.xml2
-rw-r--r--about/src/main/res/values/styles.xml5
5 files changed, 2 insertions, 105 deletions
diff --git a/about/src/main/res/layout/kau_iitem_library.xml b/about/src/main/res/layout/kau_iitem_library.xml
index 1c3de5c..3ad4fb4 100644
--- a/about/src/main/res/layout/kau_iitem_library.xml
+++ b/about/src/main/res/layout/kau_iitem_library.xml
@@ -5,7 +5,6 @@
android:id="@+id/lib_item_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/kau_padding_normal"
android:background="?android:selectableItemBackground"
android:clickable="true">
diff --git a/about/src/main/res/transition/kau_about_return_downward.xml b/about/src/main/res/transition/kau_about_return_downward.xml
deleted file mode 100644
index b040b1b..0000000
--- a/about/src/main/res/transition/kau_about_return_downward.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright 2015 Google Inc.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<transitionSet
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:transitionOrdering="together"
- android:interpolator="@android:interpolator/fast_out_linear_in">
-
- <slide
- android:slideEdge="bottom"
- android:duration="400">
- <targets>
- <target android:excludeId="@android:id/navigationBarBackground" />
- <target android:excludeId="@android:id/statusBarBackground" />
- </targets>
- </slide>
-
- <fade
- android:startDelay="200"
- android:duration="200">
- <targets>
- <target android:targetId="@id/about_indicator" />
- <!--<target android:targetId="@id/libraries_intro" />-->
- <!--<target android:targetId="@id/libs_list_background" />-->
- </targets>
- </fade>
-
- <fade android:duration="400">
- <targets>
- <target android:targetId="@android:id/navigationBarBackground" />
- <target android:targetId="@android:id/statusBarBackground" />
- </targets>
- </fade>
-
-</transitionSet>
diff --git a/about/src/main/res/transition/kau_about_return_upwards.xml b/about/src/main/res/transition/kau_about_return_upwards.xml
deleted file mode 100644
index 64b3f5e..0000000
--- a/about/src/main/res/transition/kau_about_return_upwards.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright 2015 Google Inc.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<transitionSet
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:transitionOrdering="together"
- android:interpolator="@android:interpolator/fast_out_linear_in">
-
- <slide
- android:slideEdge="top"
- android:duration="400">
- <targets>
- <target android:excludeId="@android:id/navigationBarBackground" />
- <target android:excludeId="@android:id/statusBarBackground" />
- </targets>
- </slide>
-
- <fade
- android:startDelay="200"
- android:duration="200">
- <targets>
- <target android:targetId="@id/about_indicator" />
- <!--<target android:targetId="@id/libraries_intro" />-->
- <!--<target android:targetId="@id/libs_list_background" />-->
-
- </targets>
- </fade>
-
- <fade android:duration="400">
- <targets>
- <target android:targetId="@android:id/navigationBarBackground" />
- <target android:targetId="@android:id/statusBarBackground" />
- </targets>
- </fade>
-
-</transitionSet>
diff --git a/about/src/main/res/values/strings_about.xml b/about/src/main/res/values/strings_about.xml
index 35ffeb2..f538e59 100644
--- a/about/src/main/res/values/strings_about.xml
+++ b/about/src/main/res/values/strings_about.xml
@@ -1,5 +1,5 @@
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="ResourceName">
- <string name="library_kau_libraryVersion">1.5</string>
+ <string name="library_kau_libraryVersion">2.1</string>
<string name="define_kau"/>
<!-- Author section -->
diff --git a/about/src/main/res/values/styles.xml b/about/src/main/res/values/styles.xml
index 59b2470..f878950 100644
--- a/about/src/main/res/values/styles.xml
+++ b/about/src/main/res/values/styles.xml
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <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>
+ <style name="Kau.Translucent.About" parent="Kau.Translucent.SlideTop"/>
</resources> \ No newline at end of file