markushi / android-ui Goto Github PK
View Code? Open in Web Editor NEWAndroid UI library.
License: Apache License 2.0
Android UI library.
License: Apache License 2.0
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.
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
};
}
}
Hi,
using NineOldAndroid animations library is it possibile to support api < 14?
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?
wrong project please ignore or delete this
Hello!
How can I implement this as a navigation drawer toggle?
Thanks
Florent1510
Can you provide documentation for how to create new actions?
Can you upload the code from the sample apk so others can see how to use this library?
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
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
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.
Any idea? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.