程式設計

2014年9月10日 星期三

android RatingBar Drawable 變色

LayerDrawable stars = (LayerDrawable) RatingBar_RB.getProgressDrawable();
stars.getDrawable(2).setColorFilter(Color.YELLOW,PorterDuff.Mode.SRC_ATOP);
張貼者: 歐士豪 於 晚上8:41 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

分類

  • Android (4)
  • Applet (1)
  • c++ (1)
  • eclipse (1)
  • IOS (1)
  • Java (3)
  • php (1)
  • SQL (5)
  • Visual Studio (1)

網誌存檔

  • ►  2018 (1)
    • ►  9月 (1)
  • ►  2017 (3)
    • ►  10月 (1)
    • ►  8月 (1)
    • ►  3月 (1)
  • ►  2015 (16)
    • ►  12月 (1)
    • ►  9月 (2)
    • ►  8月 (3)
    • ►  7月 (2)
    • ►  6月 (2)
    • ►  4月 (3)
    • ►  3月 (2)
    • ►  2月 (1)
  • ▼  2014 (10)
    • ▼  9月 (1)
      • android RatingBar Drawable 變色
    • ►  8月 (1)
    • ►  5月 (1)
    • ►  4月 (6)
    • ►  3月 (1)
  • ►  2013 (10)
    • ►  12月 (1)
    • ►  11月 (2)
    • ►  10月 (4)
    • ►  9月 (2)
    • ►  8月 (1)
簡單主題. 技術提供:Blogger.