Coder Social home page Coder Social logo

android-ui's People

Contributors

johnjohndoe avatar markushi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-ui's Issues

ActionView.setAction(Action, boolean)

Hi!
I don't know is it a bug or a feature, but when I set an Action on an ActionView (in particular the BackAction) without parameter "animate" it is pointing in other direction. Ok, maybe it's intended, but how can I set an Action in normal position without animating or defining it in xml layout?
Thank you.

[docs] Custom actions

Hi, i make 2 custom actions dropdown and up, but i'm need only two lines (for library 3 is necessary)
with it my action animation is ugly, also please understand LineSegments

public class DropdownAction extends Action{

    public DropdownAction() {

        lineData = new float[]{
                // first line
                0.2f, 0.7f, 0.5f, 0.4f,
                // second line
                0.45f, 0.4f, 0.75f, 0.7f,
                // third line @unused
                0,0,0,0
        };

    }

}


public class UpAction extends Action{

    public UpAction() {

        lineData = new float[]{
                // first line
                0.2f, 0.4f, 0.5f, 0.7f,
                // second line
                0.45f, 0.7f, 0.75f, 0.4f,

                0,0,0,0
        };
    }
}

Support api < 14

Hi,

using NineOldAndroid animations library is it possibile to support api < 14?

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?

Upload sample code

Can you upload the code from the sample apk so others can see how to use this library?

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

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

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.