Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 10th, 2012  |  syntax: None  |  size: 0.37 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public BitmapDrawable createHasChildDrawable() {
  2.                 if (hasChildBitmap != null) {
  3.                         return new BitmapDrawable(hasChildBitmap);
  4.                 } else {
  5.                         BitmapDrawable drawable = new BitmapDrawable(TiDict.class.getResourceAsStream("/org/appcelerator/titanium/res/drawable/btn_more.png"));
  6.                         hasChildBitmap = drawable.getBitmap();
  7.                         return drawable;
  8.                 }
  9.         }