Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tv.setLayoutParams(new TableRow.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
- //tv.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL);
- tv.setTextSize(15);
- tv.setTextColor(Color.parseColor("white"));
- //not in order
- NinePatchDrawable my9pt = (NinePatchDrawable) getResources().getDrawable(R.drawable.aaapatch2);
- tv_fact.setBackgroundDrawable(my9pt);
- tv_fact.setTextColor(Color.BLACK);
Add Comment
Please, Sign In to add comment