[Add] obtainStyledAttributes
		// init attrs
		TypedArray a = getContext().obtainStyledAttributes(attrs,
				R.styleable.CustomWebView);

		try {
			a.getString(R.styleable.CustomWebView_type);
		} finally {
			a.recycle();
		}