An example project / library of animation-supported Toolbar widget.
This is contains below components:
- AnimatedToolbar
- AnimatedToolbarActivity
- AnimatedToolbarHelper
- ActionBarWrapper
Add following lines to your buildscripts.
buildscript {
ext {
animated_toolbar_version = '0.1.0'
}
}
repositories {
maven {
url 'http://dl.bintray.com/s64/maven'
}
}
dependencies {
compile("jp.s64.android:animatedtoolbar:${animated_toolbar_version}") {
exclude group: 'com.android.support', module: 'appcompat-v7'
}
}
and, Add following lines to your proguard-rules.pro
file.
-dontwarn android.support.v7.**
-keep class android.support.v7.** { *; }
-keep interface android.support.v7.** { *; }
Copyright 2017 Shuma Yoshioka
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.