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.
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() { } }