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

From Project

Back to project page android-lib-QuickEditLayout.


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

//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) {

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

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

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

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

    private void createRootView() {


Java Source Code List