Android Open Source - AndroidUIExample Drawer Action






From Project

Back to project page AndroidUIExample.

License

The source code is released under:

Apache License

If you think the Android project AndroidUIExample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package action;
//  w ww .  ja va  2 s . com
public class DrawerAction extends Action {

  public DrawerAction() {

    final float startX = 0.1375f;
    final float endX = 1f - startX;
    final float endY = 0.707f;
    final float startY = 1f - endY;
    final float center = 0.5f;

    lineData = new float[]{
        // line 1
        startX, startY, endX, startY,
        // line 2
        startX, center, endX, center,
        // line 3
        startX, endY, endX, endY,};
  }
}




Java Source Code List

action.Action.java
action.BackAction.java
action.CloseAction.java
action.DrawerAction.java
action.LineSegment.java
action.PlusAction.java
action.SymbolAction.java
com.example.androidui.ActionView.java
com.example.androidui.MyActivity.java
com.example.androidui.RevealColorView.java
util.BakedBezierInterpolator.java
util.UiHelper.java