- public BitmapDrawable createHasChildDrawable() {
- if (hasChildBitmap != null) {
- return new BitmapDrawable(hasChildBitmap);
- } else {
- BitmapDrawable drawable = new BitmapDrawable(TiDict.class.getResourceAsStream("/org/appcelerator/titanium/res/drawable/btn_more.png"));
- hasChildBitmap = drawable.getBitmap();
- return drawable;
- }
- }