Android Open Source - android-lib-QuickEditLayout Quick Edit Layout






From Project

Back to project page android-lib-QuickEditLayout.

License

The source code is released under:

Apache License

If you think the Android project android-lib-QuickEditLayout 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 net.solutinno.android.widget;
//from  w  ww  . ja  v  a  2s .c o m
import android.content.Context;
import android.util.AttributeSet;
import android.view.ViewGroup;

public class QuickEditLayout extends ViewGroup
{
    private int mLayoutId = -1;

    public QuickEditLayout(Context context) {
        super(context);
    }

    public QuickEditLayout(Context context, AttributeSet attrs) {
        super(context, attrs);
        initAttributes(attrs);
    }

    public QuickEditLayout(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        initAttributes(attrs);
    }

    private void initAttributes(AttributeSet attrs) {
        mLayoutId = -1;
    }

    @Override
    protected void onLayout(boolean changed, int l, int t, int r, int b) {
        if (mLayoutId < 0) return;
        createRootView();
    }

    private void createRootView() {

    }
}




Java Source Code List

net.solutinno.android.animation.AnimationListenerImp.java
net.solutinno.android.animation.QuickEditAnimator.java
net.solutinno.android.widget.QuickEditLayout.java