- setBackground(View, Drawable) - 类 中的静态方法kotyoxutils.XViewHelper
-
- setBackgroundColorKeepPadding(View, int) - 类 中的静态方法kotyoxutils.XViewHelper
-
- setBackgroundKeepingPadding(View, Drawable) - 类 中的静态方法kotyoxutils.XViewHelper
-
- setBg(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setBg(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setBg(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setBg(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setBg(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setBg(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setBgData(ColorStateList) - 类 中的方法kotyox.widget.roundrawable.XEditTextDrawable
-
设置按钮的背景色(只支持纯色,不支持 Bitmap 或 Drawable)
不支持按压效果
- setBgData(ColorStateList) - 类 中的方法kotyox.widget.roundrawable.XRoundDrawable
-
设置按钮的背景色(只支持纯色,不支持 Bitmap 或 Drawable)
不支持按压效果
- setBgData(ColorStateList) - 类 中的方法kotyox.widget.roundrawable.XRoundLayoutDrawable
-
设置按钮的背景色(只支持纯色,不支持 Bitmap 或 Drawable)
不支持按压效果
- setBorderColor(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setBorderColor(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setBorderColor(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setBorderColor(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setBorderColor(int) - 接口 中的方法kotyox.layout.XLayout
-
设置边框颜色(如果不设置将不会绘制)
- setBorderColor(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setBorderColor(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setBorderColor(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setBorderColor(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setBorderWidth(int) - 接口 中的方法kotyox.layout.XLayout
-
设置边框宽度(默认为 1px)
- setBorderWidth(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setBorderWidth(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setBorderWidth(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setBorderWidth(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setBorderWidth(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setBorderWidth(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setBorderWidth(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setBorderWidth(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setBottomDividerAlpha(int) - 接口 中的方法kotyox.layout.XLayout
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setBottomDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setBottomLeft(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setBottomLeft(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setBottomLeft(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setBottomLeft(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setBottomLeft(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setBottomLeft(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setBottomRight(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setBottomRight(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setBottomRight(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setBottomRight(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setBottomRight(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setBottomRight(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setChangeAlphaWhenDisable(boolean) - 类 中的方法kotyox.alpha.XAlphaButton
-
设置是否要在 disabled 时改变透明度
- setChangeAlphaWhenDisable(boolean) - 类 中的方法kotyox.alpha.XAlphaConstraintLayout
-
设置是否要在 disabled 时改变透明度
- setChangeAlphaWhenDisable(boolean) - 类 中的方法kotyox.alpha.XAlphaFrameLayout
-
设置是否要在 disabled 时改变透明度
- setChangeAlphaWhenDisable(boolean) - 类 中的方法kotyox.alpha.XAlphaLinearLayout
-
设置是否要在 disabled 时改变透明度
- setChangeAlphaWhenDisable(boolean) - 类 中的方法kotyox.alpha.XAlphaRelativeLayout
-
设置是否要在 disabled 时改变透明度
- setChangeAlphaWhenDisable(boolean) - 类 中的方法kotyox.alpha.XAlphaViewHelper
-
设置是否要在 disabled 时改变透明度
- setChangeAlphaWhenPress(boolean) - 类 中的方法kotyox.alpha.XAlphaButton
-
设置是否要在 press 时改变透明度
- setChangeAlphaWhenPress(boolean) - 类 中的方法kotyox.alpha.XAlphaConstraintLayout
-
设置是否要在 press 时改变透明度
- setChangeAlphaWhenPress(boolean) - 类 中的方法kotyox.alpha.XAlphaFrameLayout
-
设置是否要在 press 时改变透明度
- setChangeAlphaWhenPress(boolean) - 类 中的方法kotyox.alpha.XAlphaLinearLayout
-
设置是否要在 press 时改变透明度
- setChangeAlphaWhenPress(boolean) - 类 中的方法kotyox.alpha.XAlphaRelativeLayout
-
设置是否要在 press 时改变透明度
- setChangeAlphaWhenPress(boolean) - 类 中的方法kotyox.alpha.XAlphaViewHelper
-
设置是否在 press 时改变透明度
- setColorBorder(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setColorBorder(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setColorBorder(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setColorBorder(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setColorBorder(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setColorBorder(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setDelegete(XLog.XLogDelegate) - 类 中的静态方法kotyoxutils.XLog
-
- setDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setEnabled(boolean) - 类 中的方法kotyox.alpha.XAlphaButton
-
- setEnabled(boolean) - 类 中的方法kotyox.alpha.XAlphaConstraintLayout
-
- setEnabled(boolean) - 类 中的方法kotyox.alpha.XAlphaFrameLayout
-
- setEnabled(boolean) - 类 中的方法kotyox.alpha.XAlphaLinearLayout
-
- setEnabled(boolean) - 类 中的方法kotyox.alpha.XAlphaRelativeLayout
-
- setEndColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setEndColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setEndColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setEndColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setEndColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setEndColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setFontDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setFontDisableColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setFontEnableColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setFontEnableColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setFontPressColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setFontPressColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setFullScreen(Activity) - 类 中的静态方法kotyoxutils.XDisplayHelper
-
设置全屏
- setGradientOrientation(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setGradientOrientation(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setGradientOrientation(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setGradientOrientation(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setGradientOrientation(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setGradientOrientation(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setHeightLimit(int) - 接口 中的方法kotyox.layout.XLayout
-
限制高度
- setHeightLimit(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setHeightLimit(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setHideRadiusSide(int) - 接口 中的方法kotyox.layout.XLayout
-
在某种情况下,我们可能希望布局只有一边有圆角;
但是设置 canvas.drawPath 并不是很方便;
因此,我们通过另一种方式去隐藏另一边的圆角
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setHideRadiusSide(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.roundrawable.XEditTextDrawable
-
设置圆角大小是否自动适应为 View 高度的一半
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.roundrawable.XRoundDrawable
-
设置圆角大小是否自动适应为 View 高度的一半
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.roundrawable.XRoundLayoutDrawable
-
设置圆角大小是否自动适应为 View 高度的一半
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setIsRadiusAdjustBounds(boolean) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setLeftDividerAlpha(int) - 接口 中的方法kotyox.layout.XLayout
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setLeftDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setMiddleColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setMiddleColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setMiddleColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setMiddleColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setMiddleColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setMiddleColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setOuterNormalColor(int) - 接口 中的方法kotyox.layout.XLayout
-
只在 android L 之前有效
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setOuterNormalColor(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XFrameLayout
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setOutlineExcludePadding(boolean) - 接口 中的方法kotyox.layout.XLayout
-
如果轮廓包括 padding,使用 false
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XLinearLayout
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setOutlineExcludePadding(boolean) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setOutlineInset(int, int, int, int) - 接口 中的方法kotyox.layout.XLayout
-
动态设置边界轮廓
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setOutlineInset(int, int, int, int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setPressColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setPressColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setPressColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setPressColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setPressColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setPressColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setPressed(boolean) - 类 中的方法kotyox.alpha.XAlphaConstraintLayout
-
- setPressed(boolean) - 类 中的方法kotyox.alpha.XAlphaFrameLayout
-
- setPressed(boolean) - 类 中的方法kotyox.alpha.XAlphaLinearLayout
-
- setPressed(boolean) - 类 中的方法kotyox.alpha.XAlphaRelativeLayout
-
- setRadius(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setRadius(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setRadius(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setRadius(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setRadius(int) - 接口 中的方法kotyox.layout.XLayout
-
设置圆角的值
- setRadius(int, int) - 接口 中的方法kotyox.layout.XLayout
-
设置圆角,可以隐藏不想展示的边或全部隐藏
- setRadius(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setRadius(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setRadius(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setRadius(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setRadius(int, int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setRadius(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setRadius(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setRadius(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setRadius(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setRadius(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setRadius(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XFrameLayout
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XFrameLayout
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XFrameLayout
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setRadiusAndShadow(int, int, float) - 接口 中的方法kotyox.layout.XLayout
-
设置圆角和阴影
- setRadiusAndShadow(int, int, int, float) - 接口 中的方法kotyox.layout.XLayout
-
设置圆角和阴影,可隐藏不需要的边
- setRadiusAndShadow(int, int, int, int, float) - 接口 中的方法kotyox.layout.XLayout
-
设置圆角和阴影(大于 android 9 的版本支持 shadowColor),可隐藏不需要的边
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XLinearLayout
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XLinearLayout
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XLinearLayout
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setRadiusAndShadow(int, int, float) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setRadiusAndShadow(int, int, int, float) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setRadiusAndShadow(int, int, int, int, float) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setRightDividerAlpha(int) - 接口 中的方法kotyox.layout.XLayout
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setRightDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setSelectTextColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XFrameLayout
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setShadowAlpha(float) - 接口 中的方法kotyox.layout.XLayout
-
设置轮廓的透明度,它也将作用于阴影
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XLinearLayout
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setShadowAlpha(float) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setShadowColor(int) - 接口 中的方法kotyox.layout.XLayout
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setShadowColor(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setShadowElevation(int) - 接口 中的方法kotyox.layout.XLayout
-
See View.setElevation(float)
- setShadowElevation(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setShadowElevation(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XFrameLayout
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setShowBorderOnlyBeforeL(boolean) - 接口 中的方法kotyox.layout.XLayout
-
Android L 后才支持阴影,这里提供了一个降级策略去支持 Android 4.x;
通常我们使用边框,但是边框在 Android L+ 可能是多余的,因此我们默认
不展示边框;
如果你想要边框和阴影同时存在,你可以设置 setShowBorderOnlyBeforeL(false).
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XLinearLayout
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setShowBorderOnlyBeforeL(boolean) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setStartColor(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setStartColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setStartColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setStartColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setStartColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setStartColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setStatusBarDarkMode(Activity) - 类 中的静态方法kotyoxutils.XStatusBarHelper
-
设置状态栏白色字体图标
支持 4.4 以上版本 MIUI 和 Flyme,以及 6.0 以上版本的其他 Android
- setStatusBarLightMode(Activity) - 类 中的静态方法kotyoxutils.XStatusBarHelper
-
设置状态栏黑色字体图标,
支持 4.4 以上版本 MIUI 和 Flyme,以及 6.0 以上版本的其他 Android
- setStrokeData(int, ColorStateList) - 类 中的方法kotyox.widget.roundrawable.XEditTextDrawable
-
设置按钮的描边粗细和颜色
- setStrokeData(int, ColorStateList) - 类 中的方法kotyox.widget.roundrawable.XRoundDrawable
-
设置按钮的描边粗细和颜色
- setStrokeData(int, ColorStateList) - 类 中的方法kotyox.widget.roundrawable.XRoundLayoutDrawable
-
设置按钮的描边粗细和颜色
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setTopDividerAlpha(int) - 接口 中的方法kotyox.layout.XLayout
-
在设置完 border 后,有时我们需要去使用动画改变 divider 的 alpha,
因此,这里提供一个单独的方法去改变 alpha
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setTopDividerAlpha(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setTopLeft(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setTopLeft(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setTopLeft(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setTopLeft(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setTopLeft(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setTopLeft(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setTopRight(int) - 类 中的方法kotyox.widget.state.XRoundButtonState
-
- setTopRight(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setTopRight(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setTopRight(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setTopRight(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setTopRight(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setUnSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundConstraintLayoutState
-
- setUnSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundFrameLayoutState
-
- setUnSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundLinearLayoutState
-
- setUnSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundRelativeLayoutState
-
- setUnSelectColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setUnSelectTextColor(int) - 类 中的方法kotyox.widget.state.XRoundTextViewState
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XConstraintLayout
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XFrameLayout
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setUseThemeGeneralShadowElevation() - 接口 中的方法kotyox.layout.XLayout
-
使用 Theme 的阴影效果
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XLinearLayout
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XRelativeLayout
-
- setUseThemeGeneralShadowElevation() - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- setVirtualDensity(float) - 类 中的静态方法kotyoxutils.XStatusBarHelper
-
- setVirtualDensityDpi(float) - 类 中的静态方法kotyoxutils.XStatusBarHelper
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XConstraintLayout
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XConstraintLayoutHelper
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XFrameLayout
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XFrameLayoutHelper
-
- setWidthLimit(int) - 接口 中的方法kotyox.layout.XLayout
-
限制宽度
- setWidthLimit(int) - 类 中的方法kotyox.layout.XLinearLayout
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XLinearLayoutHelper
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XRelativeLayout
-
- setWidthLimit(int) - 类 中的方法kotyox.layout.XRelativeLayoutHelper
-
- sp2px(Context, float) - 类 中的静态方法kotyoxutils.Px2DpUtil
-
将sp值转换为px值,保证文字大小不变
- sp2px(Context, int) - 类 中的静态方法kotyoxutils.XDisplayHelper
-
单位转换: sp -> px
- supportTransclentStatusBar6() - 类 中的静态方法kotyoxutils.XStatusBarHelper
-
检测 Android 6.0 是否可以启用 window.setStatusBarColor(Color.TRANSPARENT)。
- sVirtualDensity - 类 中的静态变量kotyoxutils.XStatusBarHelper
-
- sVirtualDensityDpi - 类 中的静态变量kotyoxutils.XStatusBarHelper
-