package Ġcom . had isy ah . vertical icon button sample Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . widget . Toast Ċ import Ġcom . had isy ah . vertical icon button . Vertical Icon Boxed Button Ċ import Ġcom . had isy ah . vertical icon button . Vertical IconButton Ċ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġbutton Ġ: ĠVertical IconButton ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġbutton 2 Ġ: ĠVertical Icon Boxed Button ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĊĠĠĠĠĠĠĠ Ġbutton Ġ= ĠfindViewById ( R . id . button _ test ) ĊĠĠĠĠĠĠĠ Ġbutton 2 Ġ= ĠfindViewById ( R . id . button 2 ) ĊĊĠĠĠĠĠĠĠ Ġbutton . setOnClickListener { ĊĠĠĠĠĠĠĠĠĠĠĠ ĠToast . makeText ( this , Ġ" ds ash di as b do ash b ", ĠToast . LENGTH _ SHORT ). show () ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġbutton 2 . setOnClickListener { ĊĠĠĠĠĠĠĠĠĠĠĠ ĠToast . makeText ( this , Ġ" a ", ĠToast . LENGTH _ SHORT ). show () ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ} Ċ }