DividerButtonLayout

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

Properties

Link copied to clipboard
open override val logTag: String

Functions

Link copied to clipboard
open override fun applyBlurInfo(context: Context): Boolean
Link copied to clipboard
open override fun clearBlurInfo(context: Context)
Link copied to clipboard
fun getMenu(): Menu
Link copied to clipboard
open override fun getWindowAnimations(): Int
Link copied to clipboard
open override fun initialize(menu: MenuBuilder)
Link copied to clipboard
open override fun isBlurApplied(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun setBackground(background: Drawable?)
Link copied to clipboard
open override fun setBlurMode(semBlurInfoMode: Int)