Divider Button Layout
class DividerButtonLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = if (SeslMisc.isLightTheme(context)) {
R.style.Widget_Design_DividerButtonLayout_Light
} else R.style.Widget_Design_DividerButtonLayout) : LinearLayout, MenuView, BlurSupportable, MaterialLogTag
A Samsung One UI horizontal button bar component with dividers between items that automatically adjusts button sizes, text font scaling, hover popups, and blur effects according to One UI design specifications.
Constructors
Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = if (SeslMisc.isLightTheme(context)) {
R.style.Widget_Design_DividerButtonLayout_Light
} else R.style.Widget_Design_DividerButtonLayout)
Types
Link copied to clipboard
class Divider @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : View
Link copied to clipboard
class DividerButton @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = if (SeslMisc.isLightTheme(context))
R.style.Widget_Design_DividerButtonLayout_DividerButton_Light
else R.style.Widget_Design_DividerButtonLayout_DividerButton) : FrameLayout
Link copied to clipboard