Android Open Source - AndroidUIExample Plus 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;
/*from www.  j  a  v  a 2  s.  c o m*/
public class PlusAction extends Action {

  public PlusAction() {

    final float bottom = 76f / 96f;
    final float top = 1f - bottom;
    final float left = 20f / 96f;
    final float right = 1f - left;
    final float center = 0.5f;

    lineData = new float[]{
        // line 1
        center, top, center, bottom,
        // line 2
        left, center, right, center,
        // line 3
        center, top, center, bottom,};
  }
}




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