SHARE
TWEET

Untitled

a guest Jun 19th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class SampleActivityUI : AnkoComponent<SampleActivity> {
  2.  
  3.     override fun createView(ui: AnkoContext<SampleActivity>): View = with(ui) {
  4.         verticalLayout {
  5.             checkBox("ボタン1")
  6.             checkBox("ボタン2")
  7.             checkBox("ボタン3") {
  8.                 isChecked = true
  9.             }
  10.         }
  11.     }
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top