Nothing Special   »   [go: up one dir, main page]

Skip to content

markushi/android-ui

Repository files navigation

Deprecated

This library is deprecated and no further development is taking place.

android-ui

Android library for UI components.
Gradle integration:

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.github.markushi:android-ui:1.2'
}

Requires API level 14+
Download example apk

Components

ActionView

ActionView Example
A widget which can dynamically animate between defined Actions.

<at.markushi.ui.ActionView
	android:id="@+id/action"
	android:layout_width="56dip"
	android:layout_height="56dip"
	android:padding="16dip"
	app:av_color="@android:color/white"
	app:av_action="drawer"/>

You can dynamically change the action with:

actionView.setAction(new BackAction(), ActionView.ROTATE_COUNTER_CLOCKWISE);

The following Actions are built in:

  • DrawerAction
  • BackAction
  • CloseAction
  • PlusAction

Please note: ActionView is still under development. The API might change at any time.

RevealColorView

RevealColorView Example
A component which mimics parts of the circular reveal/hide animation introduced in the Android-L preview.
Note: This is not a backport of the original reveal/hide effect.

See this example gist on how to use it.