public void setColorNormalResId(int colorResId) {
   setColorNormal(getResources().getColor(colorResId));
 }
Beispiel #2
0
 public static void setFabBtnColor(Activity activity, FloatingActionButton fab) {
   // 更新FAB的颜色
   fab.setColorNormal(getThemeColor(activity));
   fab.setColorPressed(getThemeColor(activity));
   fab.setColorRipple(getThemeColor(activity));
 }
 public void setMenuButtonColorNormal(int color) {
   mMenuColorNormal = color;
   mMenuButton.setColorNormal(color);
 }