Code example for View

Methods: setBackgroundDrawablesetLayoutParams

	private View getBubbleView(int strokeWidth, int corenerWidth, int width, int height, IndicatorDirection direction, float position) {
		BubbleDrawable drawable = new BubbleDrawable();
		View view = new View(this);
		LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
				ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT);
		params.weight = 1f;
		params.bottomMargin = params.topMargin = params.leftMargin =
				params.rightMargin = AndroidUtils.dipToPixel(this, 10);
		return view;
	private LinearLayout getLinearRowLayout() {
		LinearLayout row = new LinearLayout(this);
Connect your IDE to all the code out there  Get Codota for Java