/** * Set the background color for the Slider from a Resource. * This is the view containing the list. * * @param sliderBackgroundColorRes * @return */ public DrawerBuilder withSliderBackgroundColorRes(@ColorRes int sliderBackgroundColorRes) { this.mSliderBackgroundColorRes = sliderBackgroundColorRes; return this; }
/** Specify the color resource for the description text **/ public TapTarget descriptionTextColor(@ColorRes int color) { this.descriptionTextColorRes = color; return this; }
/** Specify the color resource for the outer circle **/ public TapTarget outerCircleColor(@ColorRes int color) { this.outerCircleColorRes = color; return this; }
/** Specify the color resource for the target circle **/ public TapTarget targetCircleColor(@ColorRes int color) { this.targetCircleColorRes = color; return this; }
/** * Specify the color resource to use as a dim effect * <p> * <b>Note:</b> The given color will have its opacity modified to 30% automatically */ public TapTarget dimColor(@ColorRes int color) { this.dimColorRes = color; return this; }
DemoModel(String title, @ColorRes int color) { this.title = title; this.color = color; } }
/** Specify the color resource for the title text **/ public TapTarget titleTextColor(@ColorRes int color) { this.titleTextColorRes = color; return this; }
/** * set the background for the slider as resource * * @param textColorRes * @return */ public AccountHeaderBuilder withTextColorRes(@ColorRes int textColorRes) { this.mTextColor = ColorHolder.fromColorRes(textColorRes); return this; }
public ProfileDrawerItem withSelectedTextColorRes(@ColorRes int selectedColorRes) { this.selectedTextColor = ColorHolder.fromColorRes(selectedColorRes); return this; }
public T withDescriptionTextColorRes(@ColorRes int colorRes) { this.descriptionTextColor = ColorHolder.fromColorRes(colorRes); return (T) this; }
public T withTextColorRes(@ColorRes int textColorRes) { this.textColor = ColorHolder.fromColorRes(textColorRes); return (T) this; }
public T withDisabledTextColorRes(@ColorRes int disabledTextColorRes) { this.disabledTextColor = ColorHolder.fromColorRes(disabledTextColorRes); return (T) this; }
public ProfileSettingDrawerItem withDescriptionTextColorRes(@ColorRes int descriptionColorRes) { this.descriptionTextColor = ColorHolder.fromColorRes(descriptionColorRes); return this; }
public IconDrawerItem withIconColorRes(@ColorRes int iconColorRes) { this.iconColor = ColorHolder.fromColorRes(iconColorRes); return this; }
public T withDescriptionTextColorRes(@ColorRes int colorRes) { this.descriptionTextColor = ColorHolder.fromColorRes(colorRes); return (T) this; }
public ProfileDrawerItem withSelectedColorRes(@ColorRes int selectedColorRes) { this.selectedColor = ColorHolder.fromColorRes(selectedColorRes); return this; }
public BadgeStyle withTextColorRes(@ColorRes int textColor) { this.mTextColor = ColorHolder.fromColorRes(textColor); return this; }
public T withSelectedColorRes(@ColorRes int selectedColorRes) { this.selectedColor = ColorHolder.fromColorRes(selectedColorRes); return (T) this; }
public T withSelectedIconColorRes(@ColorRes int selectedColorRes) { this.selectedIconColor = ColorHolder.fromColorRes(selectedColorRes); return (T) this; }
public ExpandableDrawerItem withArrowColorRes(@ColorRes int arrowColorRes) { this.arrowColor = ColorHolder.fromColorRes(arrowColorRes); return this; }