set color from resource file color.xml
btn03.setBackgroundColor(
getResources().getColor(android.R.color.holo_blue_dark,mainContext.getTheme());
'android source ' 카테고리의 다른 글
get physical screen width dots (0) | 2020.01.03 |
---|---|
shared preference save, get (0) | 2019.10.10 |
To know whether SD card is mounted (0) | 2019.09.29 |
Horizontal Wheel (0) | 2019.09.06 |
Customized AlertDialog (0) | 2019.09.06 |