How to access checkmark drawable in Android OS?

荒凉一梦 提交于 2019-12-01 17:55:46

To access system provided resource, just access R.java file of Android.

for example:

android.R.drawable.checkbox_on_background  // To access drawable resource
android.R.color.black      // To access color resources
android.R.dimen.colorstrip_height;   // To acess dimension resources

Update:

If you are using Android 2.3 Gingerbread then you can access below in-built drawables:

  1. btn_check_buttonless_off.png

  2. btn_check_buttonless_on.png

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!