Android Indicators : A simple library to add some effect to screen title.
Android Wednesday, August 05, 2015
Reading
Add Comment
Android Indicators
A simple library to add some effect to screen title.
Available Effects
- Default (Left Right Transition Effect)
- UpDown (Up Down Transition Effect)
- 3D (Rotation on Y Axis)
Usage
1- From XML
<com.moshx.indicators.title.TitleIndicator
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/titleIndicator"
android:textColor="@android:color/black"
android:layout_width="300dp"
android:layout_height="wrap_content" />
2- From Code
TitleIndicator indicator=new TitleIndicator(this);
observer.addObservableView(indicator);
indicator.setToolBar(toolbar);
Supported View Attributes
- All FrameLayout attributes
- All TextView attributes
Requirements
- Min SDK: 15 (Android 4.0.3–4.0.4 Ice Cream Sandwich)
- Android support library v7
- Android SDK 21
- Build Tool 21.1.2
- Java 1.7 compilation
Add to project
- Using gradle
dependencies {
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.moshx:androidindicators:0.6.0@arr'
}
- Clone the project and add it as module
0 comments:
Post a Comment