package com.example.android_test

import android.app.Activity
import android.os.Bundle
import org.jetbrains.anko.*
import android.widget.LinearLayout

public open class MyActivity() : Activity() {
    public override fun onCreate(savedInstanceState: Bundle?): Unit {
        super.onCreate(savedInstanceState)
        UI {
            linearLayout {
                textSwitcher {}
                calendarView {}
                zoomButton {}
                viewSwitcher {}
                digitalClock {}
                multiAutoCompleteTextView {}
                checkBox {}
                imageButton {}
                videoView {}
                horizontalScrollView {}
                numberPicker {}
                analogClock {}
                scrollView {}
                textView {}
                tabWidget {}
                radioButton {}
                toggleButton {}
                seekBar {}
                datePicker {}
                radioGroup {}
                timePicker {}
                zoomControls {}
                imageView {}
                searchView {}
                autoCompleteTextView {}
                switch {}
                progressBar {}
                space {}
                listView {}
                gridView {}
                spinner {}
                gallery {}
                imageSwitcher {}
                checkedTextView {}
                chronometer {}
                button {}
                editText {}
                ratingBar {}
                stackView {}
                quickContactBadge {}
                twoLineListItem {}
                dialerFilter {}
                tabHost {}
                viewAnimator {}
                expandableListView {}
                viewFlipper {}
            }
        }
    }


}

package com.example.android_test

import android.app.Activity
import android.os.Bundle
import org.jetbrains.anko.*
import android.widget.LinearLayout

public open class MyActivity() : Activity() {
    public override fun onCreate(savedInstanceState: Bundle?): Unit {
        super.onCreate(savedInstanceState)
        UI {
            verticalLayout {
                textSwitcher {}
                calendarView {}
                zoomButton {}
                viewSwitcher {}
                digitalClock {}
                multiAutoCompleteTextView {}
                checkBox {}
                imageButton {}
                videoView {}
                horizontalScrollView {}
                numberPicker {}
                analogClock {}
                scrollView {}
                textView {}
                tabWidget {}
                radioButton {}
                toggleButton {}
                seekBar {}
                datePicker {}
                radioGroup {}
                timePicker {}
                zoomControls {}
                imageView {}
                searchView {}
                autoCompleteTextView {}
                switch {}
                progressBar {}
                space {}
                listView {}
                gridView {}
                spinner {}
                gallery {}
                imageSwitcher {}
                checkedTextView {}
                chronometer {}
                button {}
                editText {}
                ratingBar {}
                stackView {}
                quickContactBadge {}
                twoLineListItem {}
                dialerFilter {}
                tabHost {}
                viewAnimator {}
                expandableListView {}
                viewFlipper {}
            }
        }
    }


}

Use verticalLayout() in widget compile test
Use verticalLayout() in widget compile test

is00hcw/anko,Ribesg/anko,colriot/anko,DanielGrech/anko,fboldog/anko,deva666/anko,deva666/anko,Kotlin/anko,JetBrains/anko,JetBrains/anko,Kotlin/anko,DanielGrech/anko,leasual/anko,snice/anko,is00hcw/anko,snice/anko,DanielGrech/anko,mr-max/anko,fboldog/anko,mr-max/anko,Ribesg/anko,colriot/anko,deva666/anko,mr-max/anko,JetBrains/anko,colriot/anko,snice/anko,Ribesg/anko,is00hcw/anko,leasual/anko,Kotlin/anko,leasual/anko,fboldog/anko