You are on page 1of 1

Bordered Corner:

android.graphics.drawable.Gradient Drawable gd = new


android.graphics.drawable.Gradient Drawable();
gd.setColor(Color.parseColor(_Color 1));
gd.setCornorRadius((int)_round);
he.setStroke((int)_border,Color.parseColor(_color2));
_view.setBackground(gd);

To hide action bar:

getSupportActionBar().hide();

You might also like