Android UI library.

Related tags

UI/UX android-ui
Overview

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.

Comments
  • ActionView disappears when activity is rebuilt from saved instance state

    ActionView disappears when activity is rebuilt from saved instance state

    When the activity is rebuilt from a saved instance the current action on the actionview becomes invisible. For example, using the drawerAction, when I return to my activity and it has been rebuilt the hamburger icon is gone although when switching back to the back icon from opening the side drawer I can see the 3 lines animating from outside of the view's viewport into a perfect backAction.

    To reproduce just go into developer settings and enable the option "Don't keep activities". Then open an activity with an ActionView, navigate away from it and reopen it causing it to be rebuilt from the saved instance and the ActionView will not be showing properly.

    @markushi Did you experienced this as well or know how to fix it?

    opened by rjam 2
  • CloseAction becomes invisible on Android 4.1.1

    CloseAction becomes invisible on Android 4.1.1

    Hi,

    thanks for this really nice library! There seems to be a bug concering the CloseAction on older Android Devices, though. On my Transformer Prime running Android 4.1.1 (maybe also on older devices?) , the close icon is only visible for less than a second, than it's just gone. Note that everything works fine with the other actions and even with the close action on my Nexus 5 (API 21) and my Nexus 4 & Galaxy Note 10.1 (both running Android 4.4). Any idea what we can do about this?

    Cheers, Daniel

    opened by Dan1ve 0
  • compatibility with v7 + (using ViewCompat and NineOldAndroids)

    compatibility with v7 + (using ViewCompat and NineOldAndroids)

    Enables v7+ (minSdkVersion) backward compatibility using Jake Wharton's NineOldAndroids 2.4.0 and ViewCompat (support-v4 21.0.3). Updates the build tools to the latest versions (21.1.2).

    • http://developer.android.com/reference/android/support/v4/view/ViewCompat.html
    • https://github.com/JakeWharton/NineOldAndroids/
    opened by Thorsten1976 1
  • Added link to AndroidUIExample

    Added link to AndroidUIExample

    Hello,

    My group and I are from UBC and for our software engineering course we were hoping to contribute to your open source project. Using the code you provided in the gist we made a project in Eclipse with all the necessary settings and source code to run as an application and directly onto a device or emulator. The project AndroidUIExample includes documentation on how to add Actions, add sound effects and how to import as an Eclipse project. We added some features to the example app to demonstrate using the android-ui library.

    For changes, we added a link at the bottom of the README to our repository https://github.com/snxfz947/AndroidUIExample

    Hopefully this example app with the available source code, xml documents and project structure will be of some help for people interested in using the library.

    Thank you, Mason

    opened by masonpimentel 0
  • Backported Successfully, But some issue with RevealColorView

    Backported Successfully, But some issue with RevealColorView

    I've successfully back ported the RevealColorView with nineoldandroids but here is my issue, I changed the RevealColorView extends ViewGroup to FrameLayout for my Custom Layout but other view i've placed inside the RevealColorView doesn't visible. I tried adding the child views to the RevealColorView in XML as well as in Code but no Success. I couldn't see my child view (e.g TextView) inside the RevealColorView. Please help me to come out of this issue :D

    opened by akbarsha03 0
  • ActionView doesn't center when width and height are changed during orientation change

    ActionView doesn't center when width and height are changed during orientation change

    Hi!

    I have using ActionView in my layout. I have define width and height in dimens.xml for landscape and portrait.

    <at.markushi.ui.ActionView
            android:id="@+id/action"
            android:layout_width="@dimen/action_size"
            android:layout_height="@dimen/action_size"
            android:padding="16dp"
            android:background="#FF0000"
            app:av_action="drawer"
            app:av_color="@android:color/white"/>
    
    

    action_size is 56dp for portrait and 48dp for landscape.

    When i run my app i see well the ActionView. However if i change orientation of my device, Image of actionView doesn't center well. I don't know why because if a run my app only in landscape mode i see well the actionView.

    You can see it in this image.

    action

    Any idea? Thanks!

    bug 
    opened by ssppgit 1
Owner
Markus Hintersteiner
Markus Hintersteiner
Android library providing bread crumbs to the support library fragments.

Hansel And Gretel Android library providing bread crumbs for compatibility fragments. Usage For a working implementation of this project see the sampl

Jake Wharton 163 Nov 25, 2022
Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component.

Draggable Panel DEPRECATED. This project is not maintained anymore. Draggable Panel is an Android library created to build a draggable user interface

Pedro Vicente Gómez Sánchez 3k Dec 6, 2022
TourGuide is an Android library that aims to provide an easy way to add pointers with animations over a desired Android View

TourGuide TourGuide is an Android library. It lets you add pointer, overlay and tooltip easily, guiding users on how to use your app. Refer to the exa

Tan Jun Rong 2.6k Jan 5, 2023
Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your development.

Bubbles for Android Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your

Txus Ballesteros 1.5k Jan 2, 2023
Wizard Pager is a library that provides an example implementation of a Wizard UI on Android, it's based of Roman Nurik's wizard pager (https://github.com/romannurik/android-wizardpager)

Wizard Pager Wizard Pager is a library that provides an example implementation of a Wizard UI on Android, it's based of Roman Nurik's wizard pager (ht

Julián Suárez 520 Nov 11, 2022
Make your native android Toasts Fancy. A library that takes the standard Android toast to the next level with a variety of styling options. Style your toast from code.

FancyToast-Android Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { repositories { ... ma

Shashank Singhal 1.2k Dec 26, 2022
Make your native android Dialog Fancy. A library that takes the standard Android Dialog to the next level with a variety of styling options. Style your dialog from code.

FancyAlertDialog-Android Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { repositories { ..

Shashank Singhal 350 Dec 9, 2022
A Tinder-like Android library to create the swipe cards effect. You can swipe left or right to like or dislike the content.

Swipecards Travis master: A Tinder-like cards effect as of August 2014. You can swipe left or right to like or dislike the content. The library create

Dionysis Lorentzos 2.3k Dec 9, 2022
A Material design Android pincode library. Supports Fingerprint.

LolliPin A Lollipop material design styled android pincode library (API 14+) To include in your project, add this to your build.gradle file: //Loll

Omada Health 1.6k Nov 25, 2022
Android Library to implement simple touch/tap/swipe gestures

SimpleFingerGestures An android library to implement simple 1 or 2 finger gestures easily Example Library The library is inside the libSFG folder Samp

Arnav Gupta 315 Dec 21, 2022
Useful library to use custom fonts in your android app

EasyFonts A simple and useful android library to use custom fonts in android apps without adding fonts into asset/resource folder.Also by using this l

Vijay Vankhede 419 Sep 9, 2022
Android library which allows you to swipe down from an activity to close it.

Android Sliding Activity Library Easily create activities that can slide vertically on the screen and fit well into the Material Design age. Features

Jake Klinker 1.3k Nov 25, 2022
This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano.

Note: we are not actively responding to issues right now. If you find a bug, please submit a PR. Android Sliding Up Panel This library provides a simp

Umano: News Read To You 9.4k Dec 31, 2022
An Android library supports badge notification like iOS in Samsung, LG, Sony and HTC launchers.

ShortcutBadger: The ShortcutBadger makes your Android App show the count of unread messages as a badge on your App shortcut! Supported launchers: Sony

Leo Lin 7.2k Dec 30, 2022
Android Library to build a UI Card

Card Library Travis master: Travis dev: Card Library provides an easy way to display a UI Card using the Official Google CardView in your Android app.

Gabriele Mariotti 4.7k Dec 29, 2022
A horizontal view scroller library for Android

View Flow for Android ViewFlow is an Android UI widget providing a horizontally scrollable ViewGroup with items populated from an Adapter. Scroll down

Patrik Åkerfeldt 1.8k Dec 29, 2022
[] Android library that provides a file explorer to let users select files on external storage.

aFileChooser - Android File Chooser aFileChooser is an Android Library Project that simplifies the process of presenting a file chooser on Android 2.1

Paul Burke 1.8k Jan 5, 2023
Android library for multiple snapping of RecyclerView

MultiSnapRecyclerView Gradle dependencies { implementation 'com.github.takusemba:multisnaprecyclerview:x.x.x' } Features This is an Android Libra

TakuSemba 2.5k Jan 4, 2023
Android swipe-to-dismiss mini-library and sample code

Android Swipe-to-Dismiss Sample Code Sample code that shows how to make ListView or other views support the swipe-to-dismiss Android UI pattern. See t

Roman Nurik 1.3k Dec 29, 2022