Java Code Examples for android.view.ViewGroup.LayoutParams.FILL_PARENT

The following are Jave code examples for showing how to use FILL_PARENT of the android.view.ViewGroup.LayoutParams class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: buildAPKsSamples   File: BubbleView.java   Source Code and License Vote up 5 votes
public BubbleView(Context context) {
	super(context);

	LayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT,
			LayoutParams.FILL_PARENT);
	this.setLayoutParams(params);

	bmp = BitmapFactory.decodeResource(context.getResources(),
			R.drawable.ball);
	this.setBackgroundColor(Color.WHITE);
}