[
  {
    "path": ".gitignore",
    "content": "/dependencies/\n/ideaSDK/\nbuild/\n.DS_Store\n*.iml\n.gradle\n/out\n.idea/*\n!.idea/runConfigurations\nlocal.properties\n"
  },
  {
    "path": ".idea/runConfigurations/Android_Studio.xml",
    "content": "<component name=\"ProjectRunConfigurationManager\">\n    <configuration default=\"false\" name=\"Android Studio\" type=\"Application\" factoryName=\"Application\" singleton=\"true\">\n        <log_file path=\"$PROJECT_DIR$/ideaSDK/system-idea/log/idea.log\" checked=\"true\" skipped=\"true\" show_all=\"false\" alias=\"idea.log\" />\n        <extension name=\"coverage\" enabled=\"false\" merge=\"false\" sample_coverage=\"true\" runner=\"idea\" />\n        <option name=\"MAIN_CLASS_NAME\" value=\"com.intellij.idea.Main\" />\n        <option name=\"VM_PARAMETERS\" value=\"-Xmx1250m -XX:ReservedCodeCacheSize=240m -XX:+HeapDumpOnOutOfMemoryError -ea -Didea.is.internal=true -Didea.debug.mode=true -Didea.system.path=../system-idea -Didea.config.path=../config-idea -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.io.useCanonCaches=false -Dplugin.path=$PROJECT_DIR$/anko/idea-plugin/preview/build/libs/preview-all.jar -Dkotlin.internal.mode.enabled=true -Didea.additional.classpath=../idea-kotlin-runtime/kotlin-runtime.jar,../idea-kotlin-runtime/kotlin-reflect.jar -Didea.platform.prefix=AndroidStudio\" />\n        <option name=\"PROGRAM_PARAMETERS\" value=\"\" />\n        <option name=\"WORKING_DIRECTORY\" value=\"file://$PROJECT_DIR$/ideaSDK/bin\" />\n        <option name=\"ALTERNATIVE_JRE_PATH_ENABLED\" value=\"false\" />\n        <option name=\"ALTERNATIVE_JRE_PATH\" />\n        <option name=\"ENABLE_SWING_INSPECTOR\" value=\"false\" />\n        <option name=\"ENV_VARIABLES\" />\n        <option name=\"PASS_PARENT_ENVS\" value=\"true\" />\n        <module name=\"idea-runner\" />\n        <envs />\n        <RunnerSettings RunnerId=\"Debug\">\n            <option name=\"DEBUG_PORT\" value=\"\" />\n            <option name=\"TRANSPORT\" value=\"0\" />\n            <option name=\"LOCAL\" value=\"true\" />\n        </RunnerSettings>\n        <RunnerSettings RunnerId=\"JavaRebel\">\n            <option name=\"bootstrapPath\" />\n            <option name=\"jrebelArgs\" value=\"\" />\n            <option name=\"loggingEnabled\" value=\"false\" />\n            <option name=\"useBootstrapDefaults\" value=\"true\" />\n        </RunnerSettings>\n        <RunnerSettings RunnerId=\"JavaRebel Debug\">\n            <option name=\"bootstrapPath\" />\n            <option name=\"debugPort\" value=\"\" />\n            <option name=\"jrebelArgs\" value=\"\" />\n            <option name=\"loggingEnabled\" value=\"false\" />\n            <option name=\"transport\" value=\"0\" />\n            <option name=\"useBootstrapDefaults\" value=\"true\" />\n            <option name=\"DEBUG_PORT\" value=\"\" />\n            <option name=\"TRANSPORT\" value=\"0\" />\n            <option name=\"LOCAL\" value=\"true\" />\n        </RunnerSettings>\n        <RunnerSettings RunnerId=\"Profile \" />\n        <RunnerSettings RunnerId=\"Run\" />\n        <ConfigurationWrapper RunnerId=\"Debug\" />\n        <ConfigurationWrapper RunnerId=\"Profile \" />\n        <ConfigurationWrapper RunnerId=\"Run\" />\n        <method>\n            <option name=\"Make\" enabled=\"false\" />\n            <option name=\"Gradle.BeforeRunTask\" enabled=\"true\" tasks=\":ide:build :ide:preview:shadowJar\" externalProjectPath=\"$PROJECT_DIR$/anko/idea-plugin\" vmOptions=\"\" scriptParameters=\"\" />\n        </method>\n    </configuration>\n</component>"
  },
  {
    "path": "CHANGELOG.md",
    "content": "## Change Log\n\n### Anko 0.10.5 *(2018-04-28)*\n\n- [DSL for ConstraintLayout](https://github.com/Kotlin/anko/wiki/ConstraintLayout)\n- Preview plugin compatibility with Android Studio 3.1 C6\n\n### Anko 0.10.3 *(2017-11-22)*\n\n#### Bugfixes\n- Anko support plugin compatibility with Kotlin 1.1.60+\n- Fix Xml to Dsl converter ([#370](https://github.com/Kotlin/anko/issues/370))\n- `lparams` for `CollapsingToolbarLayout`, now returns correct LayoutParams ([#275](https://github.com/Kotlin/anko/issues/275), [#269](https://github.com/Kotlin/anko/issues/269))\n- `Context.clipboardManager` now returns new `ClipboardManager` instead of deprecated one ([#180](https://github.com/Kotlin/anko/issues/180))\n- Generate layout wrapper for `CardView` ([#269](https://github.com/Kotlin/anko/issues/269), [#357](https://github.com/Kotlin/anko/issues/357))\n- Fix ClassParser's Boolean parser when type is Long ([#464](https://github.com/Kotlin/anko/issues/464))\n\n#### Breaking Changes\n- Removed Dsl for classes from `android.support.design.internal.*` as they shouldn't be used outside of support library\n\n#### Other Changes\n- `TextInputEditText` added to anko-design ([#205](https://github.com/Kotlin/anko/issues/205))\n- Anko commons dialog extensions now accept `CharSequence` instead of `String` ([#422](https://github.com/Kotlin/anko/issues/422))\n- Add start and end rules to RelativeLayout.LayoutParams extensions ([#497](https://github.com/Kotlin/anko/pull/497))\n- Add `allCaps` and `ems` properties to TextView ([#459](https://github.com/Kotlin/anko/pull/459))\n- Add snackbar helpers with indefinite duration [(#454](https://github.com/Kotlin/anko/pull/454))\n- Allow nullable values in `createIntent` and `startActivity` ([#465](https://github.com/Kotlin/anko/pull/465))\n- Add extensions for `View::backgroundColorResource` and `TextView::textColorResource` ([#254](https://github.com/Kotlin/anko/pull/254))\n- Return `ComponentName` from `startService` methods ([#435](https://github.com/Kotlin/anko/issues/435))\n- Allow alerts to be cancelable ([#405](https://github.com/Kotlin/anko/pull/405))\n- Add intent helpers for stopping services ([#509](https://github.com/Kotlin/anko/pull/509))\n- Return toast object in toast helper functions ([#512](https://github.com/Kotlin/anko/pull/512))\n\n### Anko 0.10.2 *(2017-10-17)*\n\n- Fixed Anko Support IDE plugin compatibility with Android Studio 3.0 RC1\n- `Fragment.indeterminateProgressDialog` now shows indeterminate progress dialog instead of classic ([#487](https://github.com/Kotlin/anko/pull/487))\n- Added methods for creating and dropping a index for SQLiteDatabase ([#472](https://github.com/Kotlin/anko/pull/472))\n\n### Anko 0.10.1 *(2017-05-31)*\n\n#### Bugfixes\n\n- Fix assertion in the Anko Support IDE plugin ([#387](https://github.com/Kotlin/anko/issues/387));\n- Update `kotlinx.coroutines.android` dependency (the old one fails to resolve in Android Studio 3.0) )[#381](https://github.com/Kotlin/anko/issues/381));\n- Fix inconsistency between `hasNext()` and `next()` in `childrenRecursiveSequence()` ([#388](https://github.com/Kotlin/anko/pull/388)).\n\n### Anko 0.10 *(2017-05-17)*\n\n#### 🐧 Notable changes:\n\n- Coroutines and `DslMarker` annotation support;\n- Anko Support IDE plugin updated for Android Studio 2.4.\n\n#### Breaking changes:\n\n- `DslMarker` annotation support (calling `lparams()` inside View blocks is finally forbidden);\n- DSL listeners moved to `anko-<platformName>-listeners` artifacts (e.g. `anko-sdk25-listeners`);\n- View blocks with the `theme` parameter renamed to `themed…()` to avoid disambiguation;\n- Removed `AnkoLogger(clazz: KClass<*>)` and `AnkoLogger(obj: Any)`.\n\n#### New API:\n\n- `anko-<platformName>-coroutines` (e.g. `anko-sdk25-coroutines`) artifacts with the new listener helpers with coroutines support;\n- `bg()` function that executes code in background (wrapper on top of [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines));\n- `AlertBuilder` interface with *core* and *appcompat* implementations. `AlertDialogBuilder` is deprecated;\n- `Snackbar` helpers #203;\n- `Dialog.find()` method #351;\n- `foreach()` extensions for `SparseArray` #255;\n- Reified version for `AnkoLogger` (`AnkoLogger<MyClass>()`);\n- `isError` and `hasValue` to `AttemptResult`.\n\n#### Other changes:\n\n- Anko Support IDE plugin upated in order to support Android Studio 2.4;\n- Added meta-artifact `org.jetbrains.anko:anko`;\n- Added *Anko Commons* artifacts for Android support libraries (`anko-support-v4-commons`, `anko-appcompat-v7-commons`) #158;\n- New Android SDK target: `sdk-25`;\n- Updated Android Support library dependencies;\n- `anko-common` artifact renamed to `anko-commons` to reflect the naming changes. `anko-common` is deprecated;\n- `ClassParser` now accepts all primitive types #320;\n- Synthetic properties (such as `act` or `ctx`) are now `inline`;\n- `lparams` functions are now `inline` #338;\n- Removed `TextView.enabled` generated property #245;\n- Accessing setter-only property values is now forbidden.\n\n#### Bugfixes:\n\n- Fix `NoSuchMethodError` on accessing `act` property from the support Fragment #311;\n- Fix compatibility with Proguard #235;\n- Require the relative view `id` to be set in `RelativeView` helpers #363.\n\n### Anko 0.10 Beta 2 *(2017-03-22)*\n\n#### Breaking changes:\n\n- DSL listeners moved to `anko-<platformName>-listeners` (e.g. `anko-sdk15-listeners`) artifacts;\n- The custom `async()` function introduced in 0.10.0-beta1 was removed (use `async()` from [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines));\n- `AnkoLogger(clazz: KClass<*>)` and `AnkoLogger(obj: Any)` functions are removed;\n\n#### Other changes:\n\n- `anko-<platformName>-coroutines` (e.g. `anko-sdk15-coroutines`) artifacts with the new listener helpers with coroutines support;\n- `lparams` functions are now `inline` #338;\n- `bg()` function that executes code in a background thread and returns `Deferred<T>`;\n- `AnkoLogger` now has the reified version: `AnkoLogger<MyClass>()`;\n\n### Anko 0.10 Beta 1 *(2017-03-06)*\n\n**Anko 0.10 requires Kotlin 1.1.**\n\n#### Breaking changes:\n\n- View DSL functions that accept the `theme` parameter are renamed to `themed…()` to avoid disambiguation;\n- `DslMarker` support (`lparams` inside the View lambda are now forbidden);\n\n#### Other changes:\n\n- Add `anko-coroutines` artifact with the Kotlin 1.1 coroutines support (`async` / `bg`);\n- New Android SDK target: `sdk-25`;\n- Android Support library dependencies updated;\n- `AlertBuilder` interface with core and app-compat implementations. `AlertDialogBuilder` is deprecated;\n- `ClassParser` now accepts all primitive types #320;\n- New artifacts: `anko-support-v4-common` and `anko-appcompat-v7-common` (with basic helpers, without the DSL functionality) #158;\n- Synthetic properties (such as `act` or `ctx`) are now `inline`;\n- `TextView.enabled` generated property is removed #245;\n- Accessing setter-only property values is forbidden;\n- SAM View listener setter functions are now `inline`;\n- Add `isError` and `hasValue` to `AttemptResult`;\n- Fix `NoSuchMethodError` on accessing `act` property from the support Fragment #311.\n\n### Anko 0.9.1 *(2016-12-14)*\n\n- Allow to use `AnkoLogger` as an instance #262;\n- `FOREIGN_KEY` now returns `Pair<String, SqlType>` #258 #219;\n- Fix `SparseArray` as sequence returns list which doesn't match its size #243 #240;\n- Allow ManagedSQLiteOpenHelper to accept null for database name #228;\n- Fix ProGuard warning (can't find referenced method 'int getThemeResId()' in library class android.view.ContextThemeWrapper). #206;\n- Add `LayoutParams.baselineOf()` #213;\n- Allow nullable values in `intentFor` #211;\n- Migrate Anko build to Gradle.\n\n### Anko 0.9 *(2016-06-07)*\n\n- Update to Kotlin 1.0.2 and IDEA 2016.1 #161 #177;\n- Support styles in DSL #16 #143;\n- Add KDoc comments for most of Anko utilities #168;\n- Rename `async()` to `doAsync()`, `onUiThread()` to `runOnUiThread()` for `Fragment` and `Context`;\n- Add `AnkoAsyncContext.onComplete()` #181;\n- `uiThread()` now returns `false` if code was not executed;\n- Ability to add an exception handler to `doAsync()` #182;\n- Add `newTask` parameter to `browse()` #186;\n- Add `sendSMS()` #171;\n- Add `makeStyle()` #132;\n- Add `Activity.contentView` property #157;\n- Add `horizontalProgressBar()` #23;\n- Add `doFromSdk()` and `doIfSdk()` #118;\n- Add `alignStart()` and `alignEnd()` to `RelativeLayout.LayoutParams` extensions;\n- `AlertDialogBuilder`: make the `dialog` property public #140;\n- Add `okButton()`, `yesButton()`, `cancelButton()`, `noButton()` to `AlertDialogBuilder`;\n- Add nullable values to SQLite helpers #154;\n- Add `editText()` with input constraints #25;\n- Add `attempt()` #182;\n- Change semantics of `Intent.clearTask()` and similar functions, now add flags, not set (replace old) #173;\n- Rename `forEachReversed` to `forEachReversedByIndex()`;\n- Rename `style()` to `applyRecursively()`;\n- Allow the database to be pluggable for query builders #187;\n- Fix `NOT_NULL` SQL type modifier #175;\n- Fix `startActivityForResult` called on wrong object (for Fragments) #76;\n- Fix `include` doesn't set LayoutParams from the XML #149;\n- `View.backgroundDrawable` is nullable now #169;\n- `classParser` has always not accessible constructor #136 #145.\n\n### Anko 0.8.3 *(2016-03-02)*\n\nBuilt for Kotlin 1.0.\n\n* Remove deprecated `android.support.v4.Fragment.addView()` function.\n\n### Anko 0.8.2 *(2016-02-04)*\n\nBuilt for Kotlin 1.0 RC.\n\n* `forEachChild()`, `forEachChildWithIndex()`, `firstChild()`, `firstChildOrNull()` are inlined now [#134](https://github.com/Kotlin/anko/pull/134);\n* `Int.withAlpha` [#125](https://github.com/Kotlin/anko/pull/125);\n* `ContextWrapper` is now supported by `AnkoContext`;\n* Anko library size and method count was slightly reduced.\n\n### Anko 0.8.1 *(2015-12-09)*\n\nBuilt for Koltin Beta 3 (1.0.0-beta-3595).\n\n* SQLite helpers are moved to `anko-sqlite` artifact;\n* Fixed \"Implicit setContentView in onCreate doesn't work in 0.8\" [#114](https://github.com/Kotlin/anko/issues/114);\n* Fixed \"Anko DSL Preview plugin 0.8 crashes\" [#115](https://github.com/Kotlin/anko/issues/115);\n* Add intention: `0xffefefef.toInt()` → `0xef.gray.opaque`;\n* Add `forEachChild()`, `firstChild()`, `firstChildOrNull()` helpers.\n\n### Anko 0.8 *(2015-12-01)*\n\nBuilt for Kotlin Beta 2 (1.0.0-beta-2423).\n\n* `AnkoComponent` interface for writing reusable components;\n* New DSL preview plugin: much more fast and stable :rocket:;\n* Add `TextView.gravity` [#96](https://github.com/JetBrains/anko/issues/96) and `ImageView.imageResource` [#102](https://github.com/JetBrains/anko/issues/102) properties;\n* `Cancel` is the default negative button name [#112](https://github.com/JetBrains/anko/issues/112);\n* Fix `AnkoLogger.wtf`;\n* Remove deprecated `__dslAddView` functions.\n\n### Anko 0.7.3 *(2015-11-02)*\n\nBuilt for Kotlin **Beta Candidate** (`1.0.0-beta-1103`).\n\n### Anko 0.7.2 *(2015-10-22)*\n\nBuilt for Kotlin **Beta Candidate**.\n\n### Anko 0.7.1 *(2015-10-01)*\n\nBuilt for Kotlin M14 (0.14.449).\n\n * [#86](https://github.com/JetBrains/anko/pull/86) New: Allow getting MenuItems as a Sequence.\n * New: Added `findOptional<T>` for `View`, `Activity` and `Fragment`.\n * Fix: An exception in DSL Preview plugin in Android Studio 1.4.\n\n### Anko 0.7 *(2015-09-17)*\n\nBuilt for Kotlin M13 (0.13.1513).\n\n * Anko is now split to several components:\n    * `anko-common` contains some basic helpers (such as `async`, `toast` or SQLite parsers). Does not contain any of view DSL).\n    * `anko-sdk15` (also `19`, `21`, `23`) contains DSL bindings for the corresponding Android SDK version.\n    * `anko-support-v4`, `anko-appcompat-v7` and others - additional DSL bindings for the Android support library widgets.\n * [#78](https://github.com/JetBrains/anko/issues/78) Changed `async` logic.\n * Most of extension properties for Views are removed because Kotlin now supports this seamlessly.\n * [#74](https://github.com/JetBrains/anko/issues/74) New: Ability to iterate children views lazily using sequences.\n * [#77](https://github.com/JetBrains/anko/issues/77) New: Extension functions for the optimized Android collections and arrays.\n * `layoutParams` property is renamed to `lparams` (due to the clash with `View.getLayoutParams`).\n\n### Anko 0.6.3 *(2015-07-10)*\n\nBuilt for Kotlin M12.1 (0.12.613).\n\n * New: Tinted (appcompat) widgets support.\n * Deprecated extension properties for `RSSurfaceView`, `RSTextureView`, `WebView` are removed.\n * Intentions for `Toast.makeText(...).show()` and `findViewById()` in IDEA plugin.\n * [#54](https://github.com/JetBrains/anko/issues/54) Fix: LayoutParams resolving for some widgets.\n * [#60](https://github.com/JetBrains/anko/issues/60) Support more types in `intentFor`.\n * [#65](https://github.com/JetBrains/anko/issues/65) Fix: `AnkoLogger` can't now be used as a delegate.\n * Fix: `InterfaceWorkarounds` fields.\n * DSL Preview plugin is updated to Robolectric 3.0 rc3.\n * DSL generator refactoring.\n\n### Anko 0.6.2 *(2015-05-29)*\n\nBuilt for Kotlin M12 (0.12.200).\n\n * Sensible listener argument names.\n * Some listener arguments and properties are now not-null.\n * New: Added `bundleOf` function.\n * New: Added `getBuilder` in `AlertDialogBuilder`.\n * [#42](https://github.com/JetBrains/anko/pull/42) New: Added `Context.startService` extension.\n * [#46](https://github.com/JetBrains/anko/pull/46) Fix: `IllegalArgumentException` in `AnkoLogger`.\n * [#44](https://github.com/JetBrains/anko/pull/44) Fix: Wrong return type for `include`.\n * [#42](https://github.com/JetBrains/anko/pull/42) Fix: `INTEGER` `SqlType` instead of `INT`.\n * [#31](https://github.com/JetBrains/anko/issues/31) Fix: Added `withArguments` for `android.support.v4.Fragment`.\n * [#45](https://github.com/JetBrains/anko/issues/45) Fix: `SingleColumnParser` and `ScalarColumnParser`.\n * [#38](https://github.com/JetBrains/anko/issues/38) Fix: `SQLiteDatabase.dropTable` signature.\n\n### Anko 0.6.1 *(2015-05-06)*\n\nBuilt for Kotlin M11 (0.11.91.4).\n\n * [#30](https://github.com/JetBrains/anko/issues/30) Fix: Arguments in `intentFor`.\n * [#29](https://github.com/JetBrains/anko/issues/29) New: `android.support.v4.app.Fragment.withArguments` function.\n * [#26](https://github.com/JetBrains/anko/issues/26) New: More extension properties (including `emptyView` for `AdapterView`).\n * [#21](https://github.com/JetBrains/anko/issues/21) Fix: Supported String resources with `progressDialog` and `indeterminateProgressDialog`.\n\n### Anko 0.6 *(2015-04-29)*\n\nBuilt for Kotlin M11 (0.11.91.2).\n\n * **Breaking:** package name change (kotlinx.android.anko → org.jetbrains.anko).\n * **Breaking:** [new syntax](https://github.com/JetBrains/anko#listeners) for multi-method listeners.\n * New: Supported Configuration qualifiers.\n * New: Custom views creation.\n * New: Supported `appcompat.v7` views and properties.\n * Top-level DSL functions for simple views are removed.\n * New: `startActivityForResult`, `dimen` extension functions.\n * New: `uiThread` property for `Context` and `Fragment`.\n\n### Anko 0.5 *(2015-04-02)*\n\nBuilt for Koltin M11 (0.11.91.1).\n\n * Rebranding: Koan → Anko! :sparkles:\n * **Preview plugin** is available for IntelliJ IDEA and Android Studio.\n"
  },
  {
    "path": "GOODBYE.md",
    "content": "# Discontinuing Anko\n\nOver the last few months, we have received quite a few questions from our users regarding the future of Anko. So today, we are going to make things clear and officially deprecate the library.\n\n## Why are you deprecating Anko?\n\nAnko was born as a type-safe DSL for building Android layouts. It not only allowed creating layouts in a type-safe way, but it made the layouts more adaptable, dynamic, reusable, and also performant, as there was no need for expensive layout inflation.\n\nDuring the evolution of Anko, it became clear that not only the layout part of the Android framework could benefit from providing Kotlin extensions. That is why we created Anko Commons, a toolbox of utility functions and classes for different parts of the Android framework.\n\nWhile Anko was quite popular among Kotlin users, we have to admit that the experience was not 100% perfect. Until recently, Android View APIs were highly optimized for inflation, and sometimes it wasn't possible to set some of the attributes programmatically. As a result, the DSL had to rely on hacks or workarounds. Also, it was non-trivial to emulate the reflective approach of widget loading needed for supporting AppCompat. We didn't have enough resources to fix all corner cases in a timely manner.\n\nHowever, things have changed substantially during the last few years. Google officially supported Kotlin, and later even made Kotlin the preferred language for Android application development. Thanks to JetPack, an extensive set of libraries, the rough edges of the SDK were smoothed over.\n\nAnko is a successful project, and it has played its role in establishing a better Android developer experience with Kotlin. However, there are modern alternatives today, and we feel it's time to say goodbye to Anko.\n\n## What should I use instead of Anko?\n\n### Layout DSL\n- Jetpack Compose. A reactive View DSL for Kotlin, backed by Google.\n- Splitties – [Views DSL](https://github.com/LouisCAD/Splitties/tree/master/modules/views-dsl). An extensible View DSL which resembles Anko.\n### Generic utilities\n- [Android KTX](https://developer.android.com/kotlin/ktx). A set of Kotlin extensions for different purposes, backed by Google.\n- [Splitties](https://github.com/LouisCAD/Splitties). A lot of micro-libraries for all occasions.\n### SQLite helpers\n- [Room](https://developer.android.com/topic/libraries/architecture/room). An annotation-based framework for SQLite database access, backed by Google.\n- [SQLDelight](https://github.com/cashapp/sqldelight) A type-safe API generator for SQL queries.\n\n* * *\n\nWe would like to thank you for your support throughout these years. If you have any questions, please contact us on Slack or via the forum. You can find the links on our [community overview](https://kotlinlang.org/community/) page.\n"
  },
  {
    "path": "LICENSE",
    "content": "Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"{}\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright {yyyy} {name of copyright owner}\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n"
  },
  {
    "path": "README.md",
    "content": "[![obsolete JetBrains project](https://jb.gg/badges/obsolete.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)\n[![Download](https://api.bintray.com/packages/jetbrains/anko/anko/images/download.svg) ](https://bintray.com/jetbrains/anko/anko/_latestVersion)\n[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)\n\n<img src=\"doc/logo.png\" alt=\"Anko logo\" height=\"101\" width=\"220\" />\n\n:warning: Anko is deprecated. Please see [this page](/GOODBYE.md) for more information.\n\n* * *\n\nAnko is a [Kotlin](https://www.kotlinlang.org/) library which makes Android application development faster and easier. It makes your code clean and easy to read, and lets you forget about rough edges of the Android SDK for Java.\n\nAnko consists of several parts:\n\n* *Anko Commons*: a lightweight library full of helpers for intents, dialogs, logging and so on;\n* *Anko Layouts*: a fast and type-safe way to write dynamic Android layouts;\n* *Anko SQLite*: a query DSL and parser collection for Android SQLite;\n* *Anko Coroutines*: utilities based on the [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines) library.\n\n## Anko Commons\n\n*Anko Commons* is a \"toolbox\" for Kotlin Android developer. The library contains a lot of helpers for Android SDK, including, but not limited to:\n\n* Intents ([wiki](https://github.com/Kotlin/anko/wiki/Anko-Commons-–-Intents));\n* Dialogs and toasts ([wiki](https://github.com/Kotlin/anko/wiki/Anko-Commons-–-Dialogs));\n* Logging ([wiki](https://github.com/Kotlin/anko/wiki/Anko-Commons-–-Logging));\n* Resources and dimensions ([wiki](https://github.com/Kotlin/anko/wiki/Anko-Commons-–-Misc)).\n\n## Anko Layouts ([wiki](https://github.com/Kotlin/anko/wiki/Anko-Layouts))\n\n*Anko Layouts* is a DSL for writing dynamic Android layouts. Here is a simple UI written with Anko DSL:\n\n```kotlin\nverticalLayout {\n    val name = editText()\n    button(\"Say Hello\") {\n        onClick { toast(\"Hello, ${name.text}!\") }\n    }\n}\n```\n\nThe code above creates a button inside a `LinearLayout` and attaches an `OnClickListener` to that button. Moreover, `onClick` accepts a [`suspend` lambda](https://kotlinlang.org/docs/reference/coroutines.html), so you can write your asynchronous code right inside the listener!\n\nNote that this is the complete layout code. No XML is required!\n\nAnko has a [DSL for ConstraintLayout](https://github.com/Kotlin/anko/wiki/ConstraintLayout) since v0.10.4\n\n<img src=\"doc/helloworld.png\" alt=\"Hello world\" height=\"90\" width=\"373\" />\n\nThere is also a [plugin](https://github.com/Kotlin/anko/wiki/Anko-Layouts#anko-support-plugin) for Android Studio that supports previewing Anko DSL layouts.\n\n## Anko SQLite ([wiki](https://github.com/Kotlin/anko/wiki/Anko-SQLite))\n\nHave you ever been tired of parsing SQLite query results using Android cursors? *Anko SQLite* provides lots of helpers to simplify working with SQLite databases.\n\nFor example, here is how you can fetch the list of users with a particular name:\n\n```kotlin\nfun getUsers(db: ManagedSQLiteOpenHelper): List<User> = db.use {\n    db.select(\"Users\")\n            .whereSimple(\"family_name = ?\", \"John\")\n            .doExec()\n            .parseList(UserParser)\n}\n```\n\n## Anko Coroutines ([wiki](https://github.com/Kotlin/anko/wiki/Anko-Coroutines))\n\n*Anko Coroutines* is based on the [`kotlinx.coroutines`](https://github.com/kotlin/kotlinx.coroutines) library and provides:\n\n* [`bg()`](https://github.com/Kotlin/anko/wiki/Anko-Coroutines#bg) function that executes your code in a common pool.\n* [`asReference()`](https://github.com/Kotlin/anko/wiki/Anko-Coroutines#asreference) function which creates a weak reference wrapper. By default, a coroutine holds references to captured objects until it is finished or canceled. If your asynchronous framework does not support cancellation, the values you use inside the asynchronous block can be leaked. `asReference()` protects you from this.\n\n## Using Anko\n\n### Gradle-based project\n\nAnko has a meta-dependency which plugs in all available features (including Commons, Layouts, SQLite) into your project at once:\n\n```gradle\ndependencies {\n    implementation \"org.jetbrains.anko:anko:$anko_version\"\n}\n```\nMake sure that you have the ```$anko_version``` settled in your gradle file at the project level:\n\n```\next.anko_version='0.10.8'\n```\n\nIf you only need some of the features, you can reference any of Anko's parts:\n\n```gradle\ndependencies {\n    // Anko Commons\n    implementation \"org.jetbrains.anko:anko-commons:$anko_version\"\n\n    // Anko Layouts\n    implementation \"org.jetbrains.anko:anko-sdk25:$anko_version\" // sdk15, sdk19, sdk21, sdk23 are also available\n    implementation \"org.jetbrains.anko:anko-appcompat-v7:$anko_version\"\n\n    // Coroutine listeners for Anko Layouts\n    implementation \"org.jetbrains.anko:anko-sdk25-coroutines:$anko_version\"\n    implementation \"org.jetbrains.anko:anko-appcompat-v7-coroutines:$anko_version\"\n\n    // Anko SQLite\n    implementation \"org.jetbrains.anko:anko-sqlite:$anko_version\"\n}\n```\n\nThere are also a number of artifacts for the Android support libraries:\n\n```gradle\ndependencies {\n    // Appcompat-v7 (only Anko Commons)\n    implementation \"org.jetbrains.anko:anko-appcompat-v7-commons:$anko_version\"\n\n    // Appcompat-v7 (Anko Layouts)\n    implementation \"org.jetbrains.anko:anko-appcompat-v7:$anko_version\"\n    implementation \"org.jetbrains.anko:anko-coroutines:$anko_version\"\n\n    // CardView-v7\n    implementation \"org.jetbrains.anko:anko-cardview-v7:$anko_version\"\n\n    // Design\n    implementation \"org.jetbrains.anko:anko-design:$anko_version\"\n    implementation \"org.jetbrains.anko:anko-design-coroutines:$anko_version\"\n\n    // GridLayout-v7\n    implementation \"org.jetbrains.anko:anko-gridlayout-v7:$anko_version\"\n\n    // Percent\n    implementation \"org.jetbrains.anko:anko-percent:$anko_version\"\n\n    // RecyclerView-v7\n    implementation \"org.jetbrains.anko:anko-recyclerview-v7:$anko_version\"\n    implementation \"org.jetbrains.anko:anko-recyclerview-v7-coroutines:$anko_version\"\n\n    // Support-v4 (only Anko Commons)\n    implementation \"org.jetbrains.anko:anko-support-v4-commons:$anko_version\"\n\n    // Support-v4 (Anko Layouts)\n    implementation \"org.jetbrains.anko:anko-support-v4:$anko_version\"\n\n    // ConstraintLayout\n    implementation \"org.jetbrains.anko:anko-constraint-layout:$anko_version\"\n}\n```\n\nThere is an [example project](https://github.com/kotlin/anko-example) showing how to include Anko library into your Android Gradle project.\n\n### IntelliJ IDEA project\n\nIf your project is not based on Gradle, just attach the required JARs from the [jcenter repository](https://jcenter.bintray.com/org/jetbrains/anko/) as the library dependencies and that's it.\n\n## Contributing\n\nThe best way to submit a patch is to send us a [pull request](https://help.github.com/articles/about-pull-requests/). Before submitting the pull request, make sure all existing tests are passing, and add the new test if it is required.\n\nIf you want to add new functionality, please file a new *proposal* issue first to make sure that it is not in progress already. If you have any questions, feel free to create a *question* issue.\n\nInstructions for building Anko are available in the [Wiki](https://github.com/Kotlin/anko/wiki/Building-Anko).\n"
  },
  {
    "path": "anko/idea-plugin/attrs/build.gradle",
    "content": "apply plugin: 'kotlin'\n\nsourceSets {\n    main {\n        java.srcDirs = ['src']\n        kotlin.srcDirs = ['src']\n    }\n}\n\ndependencies {\n    compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    compile project(':ide:plugin-classpath')\n}"
  },
  {
    "path": "anko/idea-plugin/attrs/src/org/jetbrains/kotlin/android/Attrs.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.attrs\n\nimport java.io.File\n\ndata class NameValue(\n        val name: String = \"\",\n        val value: String = \"\")\n\ndata class Attr(\n        val name: String = \"\",\n        val format: List<String> = emptyList(),\n        val flags: List<NameValue>? = null,\n        val enum: List<NameValue>? = null)\n\nval NoAttr: Attr = Attr()\n\ndata class Styleable(\n        val name: String = \"\",\n        val attrs: List<Attr> = emptyList())\n\ndata class Attrs(\n        val free: List<Attr> = emptyList(),\n        val styleables: Map<String, Styleable> = emptyMap())\n\nfun readResource(filename: String): String {\n    return Attrs::class.java.classLoader.getResourceAsStream(filename)?.reader()?.readText()\n            ?: File(filename).readText()\n}"
  },
  {
    "path": "anko/idea-plugin/build.gradle",
    "content": "subprojects {\n    apply plugin: 'kotlin'\n\n    sourceSets {\n        main {\n            java.srcDirs = ['src', 'resources']\n            kotlin.srcDirs = ['src']\n            resources.srcDirs = ['resources']\n        }\n    }\n\n    dependencies {\n        compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/idea-runner/build.gradle",
    "content": "apply plugin: 'java'\n\ndependencies {\n    compile fileTree(dir: new File(project.rootDir, \"ideaSDK/lib\"), include: ['*.jar'])\n}"
  },
  {
    "path": "anko/idea-plugin/intentions/build.gradle",
    "content": "apply plugin: 'kotlin'\n\nsourceSets {\n    main {\n        java.srcDirs = ['src']\n        kotlin.srcDirs = ['src']\n    }\n}\n\ndependencies {\n    compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    compile project(':ide:plugin-classpath')\n}"
  },
  {
    "path": "anko/idea-plugin/intentions/src/org/jetbrains/anko/idea/intentions/AnkoIntention.kt",
    "content": "package org.jetbrains.anko.idea.intentions\n\nimport com.intellij.openapi.editor.Editor\nimport com.intellij.psi.PsiElement\nimport org.jetbrains.kotlin.descriptors.*\nimport org.jetbrains.kotlin.idea.caches.resolve.analyze\nimport org.jetbrains.kotlin.idea.caches.resolve.findModuleDescriptor\nimport org.jetbrains.kotlin.idea.caches.resolve.getResolutionFacade\nimport org.jetbrains.kotlin.idea.caches.resolve.resolveImportReference\nimport org.jetbrains.kotlin.idea.imports.importableFqName\nimport org.jetbrains.kotlin.idea.intentions.SelfTargetingIntention\nimport org.jetbrains.kotlin.idea.util.ImportInsertHelper\nimport org.jetbrains.kotlin.incremental.components.NoLookupLocation\nimport org.jetbrains.kotlin.name.FqName\nimport org.jetbrains.kotlin.psi.*\nimport org.jetbrains.kotlin.resolve.*\nimport org.jetbrains.kotlin.resolve.calls.callUtil.getResolvedCall\nimport org.jetbrains.kotlin.resolve.calls.model.ResolvedCall\nimport org.jetbrains.kotlin.resolve.descriptorUtil.resolveTopLevelClass\nimport org.jetbrains.kotlin.types.lowerIfFlexible\n\nabstract class AnkoIntention<TElement : KtElement>(\n        elementType: Class<TElement>,\n        text: String,\n        familyName: String = text\n) : SelfTargetingIntention<TElement>(elementType, text, familyName) {\n\n    final override fun isApplicableTo(element: TElement, caretOffset: Int): Boolean {\n        val file = element.containingFile as? KtFile ?: return false\n        val moduleDescriptor = file.findModuleDescriptor()\n        moduleDescriptor.resolveTopLevelClass(ANKO_INTERNALS_FQNAME, NoLookupLocation.FROM_IDE) ?: return false\n        return isApplicable(element, caretOffset)\n    }\n\n    abstract fun isApplicable(element: TElement, caretOffset: Int): Boolean\n\n    private fun isTypeOf(descriptor: ClassifierDescriptor, vararg fqName: String): Boolean {\n        val resolvedName = DescriptorUtils.getFqNameSafe(descriptor).asString()\n        return fqName.any { it == resolvedName }\n    }\n\n    protected fun KtCallExpression.isValueParameterTypeOf(\n            parameterIndex: Int,\n            resolvedCall: ResolvedCall<*>?,\n            vararg fqName: String\n    ): Boolean {\n        val ctxArgumentDescriptor = (resolvedCall ?: getResolvedCall(analyze()))?.resultingDescriptor\n                ?.valueParameters?.get(parameterIndex)?.type?.lowerIfFlexible()\n                ?.constructor?.declarationDescriptor ?: return false\n        return isTypeOf(ctxArgumentDescriptor, *fqName)\n    }\n\n    protected fun KtCallExpression.isReceiverParameterTypeOf(\n            resolvedCall: ResolvedCall<*>?,\n            vararg fqName: String\n    ): Boolean {\n        val receiverDescriptor = (resolvedCall ?: getResolvedCall(analyze()))?.resultingDescriptor\n                ?.dispatchReceiverParameter?.type?.lowerIfFlexible()\n                ?.constructor?.declarationDescriptor ?: return false\n        return isTypeOf(receiverDescriptor, *fqName)\n    }\n\n    protected val KtDotQualifiedExpression.receiver: KtExpression?\n        get() = receiverExpression\n\n    protected val KtDotQualifiedExpression.selector: KtExpression?\n        get() = selectorExpression\n\n    protected val KtBinaryExpressionWithTypeRHS.operation: KtSimpleNameExpression\n        get() = operationReference\n\n    protected inline fun <reified E : PsiElement> PsiElement?.require(name: String? = null, sub: E.() -> Boolean): Boolean {\n        return require<E>(name) && (this as E).sub()\n    }\n\n    inline fun require(cond: Boolean, sub: () -> Boolean): Boolean {\n        if (cond) sub()\n        return cond\n    }\n\n    protected inline fun <reified E : PsiElement> PsiElement?.require(name: String? = null): Boolean {\n        if (this !is E) return false\n        if (name != null && name != this.text) return false\n        return true\n    }\n\n    protected inline fun PsiElement?.requireCall(\n            functionName: String? = null,\n            argCount: Int? = null,\n            sub: KtCallExpression.() -> Boolean\n    ): Boolean {\n        return requireCall(functionName, argCount) && (this as KtCallExpression).sub()\n    }\n\n    @Suppress(\"NOTHING_TO_INLINE\")\n    protected inline fun PsiElement?.requireCall(functionName: String? = null, argCount: Int? = null): Boolean {\n        if (this !is KtCallExpression) return false\n        if (functionName != null && functionName != calleeExpression?.text) return false\n        if (argCount != null && argCount != valueArguments.size) return false\n        return true\n    }\n\n    abstract fun replaceWith(element: TElement, psiFactory: KtPsiFactory): NewElement?\n\n    final override fun applyTo(element: TElement, editor: Editor?) {\n        val project = editor?.project ?: return\n        val file = element.containingFile as? KtFile ?: return\n        val moduleDescriptor = file.findModuleDescriptor()\n        val resolutionFacade = file.getResolutionFacade()\n\n        val psiFactory = KtPsiFactory(project)\n        val (newElement, fqNamesToImport) = replaceWith(element, psiFactory) ?: return\n\n        val newExpression = newElement\n\n        ImportInsertHelper.getInstance(project).apply {\n            fqNamesToImport\n                    .flatMap {\n                        val fqName = FqName(if ('.' in it) it else \"$ANKO_PACKAGE$it\")\n                        resolutionFacade.resolveImportReference(moduleDescriptor, fqName)\n                    }\n                    .forEach { if (it.importableFqName != null) importDescriptor(file, it) }\n        }\n\n        element.replace(newExpression)\n    }\n\n    private companion object {\n        private val ANKO_PACKAGE = \"org.jetbrains.anko.\"\n        private val ANKO_INTERNALS_FQNAME = FqName(\"org.jetbrains.anko.internals.AnkoInternals\")\n    }\n}\n\nobject FqNames {\n    val ACTIVITY_FQNAME = \"android.app.Activity\"\n    val CONTEXT_FQNAME = \"android.content.Context\"\n    val VIEW_FQNAME = \"android.view.View\"\n}\n\nclass NewElement(val element: KtExpression, vararg val newNames: String) {\n    operator fun component1() = element\n    operator fun component2() = newNames //fqName or name in anko package\n}\n\nabstract class A {\n    open fun test(a: CharSequence) {}\n}\n\nclass B : A() {\n    override fun test(a: CharSequence) {}\n}"
  },
  {
    "path": "anko/idea-plugin/intentions/src/org/jetbrains/anko/idea/intentions/FindViewByIdIntention.kt",
    "content": "package org.jetbrains.anko.idea.intentions\n\nimport com.intellij.psi.PsiElement\nimport org.jetbrains.kotlin.idea.caches.resolve.analyze\nimport org.jetbrains.kotlin.psi.*\nimport org.jetbrains.kotlin.resolve.calls.callUtil.getResolvedCall\n\nclass FindViewByIdIntention : AnkoIntention<KtExpression>(\n        KtExpression::class.java,\n        \"Simplify findViewById() with Anko\"\n) {\n    override fun isApplicable(element: KtExpression, caretOffset: Int): Boolean {\n        fun PsiElement?.requireFindViewByIdCall() = requireCall(FIND_VIEW_BY_ID, 1) {\n            val resolvedCall = getResolvedCall(analyze())\n            isValueParameterTypeOf(0, resolvedCall, \"kotlin.Int\")\n                    && isReceiverParameterTypeOf(resolvedCall, FqNames.ACTIVITY_FQNAME, FqNames.VIEW_FQNAME)\n        }\n\n        return element.require<KtBinaryExpressionWithTypeRHS>() {\n            operation.require<KtSimpleNameExpression>(\"as\")\n            && (left.requireFindViewByIdCall() || left.require<KtDotQualifiedExpression> {\n                selector.requireFindViewByIdCall()\n            })\n        }\n    }\n\n    override fun replaceWith(element: KtExpression, psiFactory: KtPsiFactory): NewElement? {\n        fun KtCallExpression.createElement(type: String, receiver: String? = null): NewElement {\n            val id = valueArguments[0].text\n            val receiverWithDot = if (receiver == null) \"\" else \"$receiver.\"\n            val newExpression = psiFactory.createExpression(\"${receiverWithDot}find<$type>($id)\")\n            return NewElement(newExpression, \"find\")\n        }\n\n        element.require<KtBinaryExpressionWithTypeRHS>() {\n            val type = right?.text ?: return null\n\n            left.requireCall(FIND_VIEW_BY_ID) {\n                return createElement(type)\n            }\n            left.require<KtDotQualifiedExpression> {\n                selector.requireCall(FIND_VIEW_BY_ID) {\n                    return createElement(type, receiver?.text)\n                }\n            }\n        }\n        return null\n    }\n\n    private companion object {\n        val FIND_VIEW_BY_ID = \"findViewById\"\n    }\n\n}\n"
  },
  {
    "path": "anko/idea-plugin/intentions/src/org/jetbrains/anko/idea/intentions/ReplaceColorGrayOpaqueIntention.kt",
    "content": "package org.jetbrains.anko.idea.intentions\n\nimport org.jetbrains.kotlin.psi.*\n\nclass ReplaceColorGrayOpaqueIntention : AnkoIntention<KtExpression>(\n        KtExpression::class.java,\n        \"Simplify color numeric literal with Anko\"\n) {\n    override fun isApplicable(element: KtExpression, caretOffset: Int): Boolean {\n        return element.require<KtDotQualifiedExpression> {\n            receiver.require<KtConstantExpression> { text.matches(COLOR_REGEX) } && selector.requireCall(\"toInt\", 0)\n        } || element.require<KtConstantExpression> {\n            text.matches(COLOR_REGEX) && (this != (parent as? KtDotQualifiedExpression)?.receiver)\n        }\n    }\n\n    override fun replaceWith(element: KtExpression, psiFactory: KtPsiFactory): NewElement? {\n        fun createNewElement(colorText: String): NewElement? {\n            val color = ARGB(colorText)\n\n            if (color.isOpaque) {\n                return if (color.isTransparent) {\n                    NewElement(psiFactory.createExpression(\"Color.TRANSPARENT\"), ANDROID_GRAPHICS_COLOR)\n                } else if (color.color in COLORS) {\n                    NewElement(psiFactory.createExpression(\"Color.${COLORS[color.color]}\"), ANDROID_GRAPHICS_COLOR)\n                } else if (color.isGray) {\n                    NewElement(psiFactory.createExpression(color.getGrayOpaque()), GRAY, OPAQUE)\n                } else {\n                    return NewElement(psiFactory.createExpression(color.getOpaque()), OPAQUE)\n                }\n            }\n            return null\n        }\n\n        element.require<KtDotQualifiedExpression> {\n            receiver.require<KtConstantExpression> { text.matches(COLOR_REGEX) } && selector.requireCall(\"toInt\", 0) {\n                return createNewElement(receiver!!.text)\n            }\n        } || element.require<KtConstantExpression> {\n            require(text.matches(COLOR_REGEX) && (this != (parent as? KtDotQualifiedExpression)?.receiver)) {\n                return createNewElement(text)\n            }\n        }\n\n        return null\n    }\n\n    private data class ARGB(val color: String, val a: String, val r: String, val g: String, val b: String) {\n        @JvmField val A = a.toUpperCase()\n        @JvmField val R = r.toUpperCase()\n        @JvmField val G = g.toUpperCase()\n        @JvmField val B = b.toUpperCase()\n\n        constructor(color: String) : this(color.drop(2).toUpperCase(), color.substring(2, 4), color.substring(4, 6),\n                                          color.substring(6, 8), color.substring(8, 10))\n\n        val isGray: Boolean\n            get() = R == G && G == B\n\n        val isTransparent: Boolean\n            get() = A == \"00\"\n\n        val isOpaque: Boolean\n            get() = A == \"FF\"\n\n        fun getGrayOpaque() = \"0x$r.gray.opaque\"\n        fun getOpaque() = \"0x$r$g$b.opaque\"\n    }\n\n    private companion object {\n        val COLOR_REGEX = \"^0x[0-9A-Fa-f]{8}$\".toRegex()\n        val GRAY = \"gray\"\n        val OPAQUE = \"opaque\"\n        val ANDROID_GRAPHICS_COLOR = \"android.graphics.Color\"\n\n        val COLORS = mapOf(\n                \"FFFFFFFF\" to \"WHITE\",\n                \"FF000000\" to \"BLACK\",\n                \"FF888888\" to \"GRAY\",\n                \"FFCCCCCC\" to \"LTGRAY\",\n                \"FFFF0000\" to \"RED\",\n                \"FF00FF00\" to \"GREEN\",\n                \"FF0000FF\" to \"BLUE\",\n                \"FFFFFF00\" to \"YELLOW\",\n                \"FF00FFFF\" to \"CYAN\",\n                \"FFFF00FF\" to \"MAGENTA\")\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/intentions/src/org/jetbrains/anko/idea/intentions/ToastMakeTextShowIntention.kt",
    "content": "/*\n * Copyright 2010-2015 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko.idea.intentions\n\nimport org.jetbrains.kotlin.psi.*\n\nclass ToastMakeTextShowIntention : AnkoIntention<KtExpression>(\n        KtExpression::class.java,\n        \"Simplify Toast.makeText().show() with Anko\"\n) {\n\n    override fun isApplicable(element: KtExpression, caretOffset: Int): Boolean {\n        return element.require<KtDotQualifiedExpression> {\n            receiver.require<KtDotQualifiedExpression> {\n                receiver.require<KtReferenceExpression>(\"Toast\")\n                && selector.requireCall(\"makeText\", 3) {\n                    isLongToast() != null && isValueParameterTypeOf(0, null, FqNames.CONTEXT_FQNAME)\n                }\n            }\n            && selector.requireCall(\"show\", 0)\n        }\n    }\n\n    private fun KtCallExpression.isLongToast(): Boolean? {\n        return when (valueArguments[2].text) {\n            \"Toast.LENGTH_SHORT\", \"LENGTH_SHORT\" -> false\n            \"Toast.LENGTH_LONG\", \"LENGTH_LONG\" -> true\n            else -> null\n        }\n    }\n\n    override fun replaceWith(element: KtExpression, psiFactory: KtPsiFactory): NewElement? {\n        element.require<KtDotQualifiedExpression> {\n            receiver.require<KtDotQualifiedExpression> {\n                selector.requireCall(\"makeText\") {\n                    val args = valueArguments\n                    val ctxArg = args[0].text\n                    val textArg = args[1].text\n\n                    val funName = if (isLongToast()!!) \"longToast\" else \"toast\"\n                    val receiver = if (ctxArg == \"this\") \"\" else \"$ctxArg.\"\n\n                    val newExpression = psiFactory.createExpression(\"$receiver$funName($textArg)\")\n                    return NewElement(newExpression, funName)\n                }\n            }\n        }\n        return null\n    }\n\n}\n"
  },
  {
    "path": "anko/idea-plugin/plugin-classpath/build.gradle",
    "content": "apply plugin: 'java'\n\ndependencies {\n    compile fileTree(dir: new File(project.rootDir, \"ideaSDK/lib\"), include: ['*.jar'])\n    compile fileTree(dir: new File(project.rootDir, \"ideaSDK/plugins/android/lib\"), include: ['*.jar'])\n    compile fileTree(dir: new File(project.rootDir, \"ideaSDK/plugins/Kotlin/lib\"), include: ['kotlin-plugin.jar'])\n}"
  },
  {
    "path": "anko/idea-plugin/preview/build.gradle",
    "content": "apply plugin: 'com.github.johnrengelman.shadow'\napply plugin: 'kotlin'\n\nsourceSets {\n    main {\n        java.srcDirs = ['src']\n        kotlin.srcDirs = ['src']\n    }\n}\n\nconfigurations {\n    shadow\n    compile.extendsFrom shadow\n}\n\ndependencies {\n    compile project(':ide:plugin-classpath')\n\n    compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    shadow \"org.jetbrains.kotlinx:kotlinx.dom:$kotlinx_dom_version\"\n\n    shadow(project(':ide:attrs')) {\n        transitive = false\n    }\n    shadow(project(':ide:intentions')) {\n        transitive = false\n    }\n    shadow(project(':ide:xml-converter')) {\n        transitive = false\n    }\n}\n\nshadowJar {\n    configurations = [project.configurations.shadow]\n}"
  },
  {
    "path": "anko/idea-plugin/preview/resources/META-INF/plugin.xml",
    "content": "<idea-plugin>\n    <id>org.jetbrains.kotlin.android.dsl</id>\n    <name>Anko Support</name>\n    <description>Anko Android library support.</description>\n    <version>0.10.8</version>\n    <vendor url=\"https://www.jetbrains.com\">JetBrains s.r.o.</vendor>\n\n    <idea-version since-build=\"171.1\" until-build=\"183.*\"/>\n\n    <depends>org.jetbrains.kotlin</depends>\n    <depends>org.jetbrains.android</depends>\n\n    <actions>\n        <action id=\"XmlConvertAction\" class=\"org.jetbrains.kotlin.android.xmlconverter.ConvertAction\"\n                text=\"Convert to Anko Layouts DSL\" description=\"Convert XML layout to Anko Layouts code (Kotlin)\">\n            <add-to-group group-id=\"CodeMenu\" anchor=\"last\"/>\n        </action>\n    </actions>\n\n    <extensions defaultExtensionNs=\"com.intellij\">\n        <psi.treeChangePreprocessor\n                implementation=\"org.jetbrains.kotlin.android.dslpreview.SourceFileModificationTracker\"/>\n\n        <intentionAction>\n            <className>org.jetbrains.anko.idea.intentions.ToastMakeTextShowIntention</className>\n            <category>Anko</category>\n        </intentionAction>\n\n        <intentionAction>\n            <className>org.jetbrains.anko.idea.intentions.FindViewByIdIntention</className>\n            <category>Anko</category>\n        </intentionAction>\n\n        <intentionAction>\n            <className>org.jetbrains.anko.idea.intentions.ReplaceColorGrayOpaqueIntention</className>\n            <category>Anko</category>\n        </intentionAction>\n    </extensions>\n\n    <extensions defaultExtensionNs=\"org.jetbrains.android.uipreview\">\n        <viewLoaderExtension implementation=\"org.jetbrains.kotlin.android.dslpreview.AnkoViewLoaderExtension\"/>\n    </extensions>\n\n    <project-components>\n        <component>\n            <implementation-class>org.jetbrains.kotlin.android.dslpreview.AnkoNlPreviewManager</implementation-class>\n            <skipForDefaultProject/>\n            <headless-implementation-class/>\n        </component>\n    </project-components>\n</idea-plugin>"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/FindViewByIdIntention/after.kt.template",
    "content": "find<TextView>(R.id.name)"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/FindViewByIdIntention/before.kt.template",
    "content": "findViewById(R.id.name) as TextView"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/FindViewByIdIntention/description.html",
    "content": "<html>\n<body>\nThis intention replaces 'findViewById() as T' method call with 'find<T>' that is available in Anko.\n</body>\n</html>"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/ReplaceColorGrayOpaqueIntention/after.kt.template",
    "content": "0xCC.gray.opaque"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/ReplaceColorGrayOpaqueIntention/before.kt.template",
    "content": "0xFFCCCCCC.toInt()"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/ReplaceColorGrayOpaqueIntention/description.html",
    "content": "<html>\n<body>\nThis intention replaces numeric literals representing Android colors with ones that use Anko `gray` and `opaque` extension properties.\n</body>\n</html>"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/ToastMakeTextShowIntention/after.kt.template",
    "content": "toast(\"Message\")"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/ToastMakeTextShowIntention/before.kt.template",
    "content": "Toast.makeText(this, \"Message\", Toast.LENGTH_SHORT).show()"
  },
  {
    "path": "anko/idea-plugin/preview/resources/intentionDescriptions/ToastMakeTextShowIntention/description.html",
    "content": "<html>\n<body>\nThis intention replaces 'Toast.makeText(ctx, text, length).show()' method call with 'toast(text)' or 'longToast(text)' that is available in Anko.\n</body>\n</html>"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/AnkoNlPreviewManager.kt",
    "content": "package org.jetbrains.kotlin.android.dslpreview\n\nimport com.android.tools.idea.common.model.NlModel\nimport com.android.tools.idea.gradle.project.GradleProjectInfo\nimport com.android.tools.idea.gradle.project.build.invoker.GradleBuildInvoker\nimport com.android.tools.idea.project.AndroidProjectInfo\nimport com.android.tools.idea.uibuilder.editor.NlPreviewForm\nimport com.android.tools.idea.uibuilder.editor.NlPreviewManager\nimport com.intellij.ide.highlighter.XmlFileType\nimport com.intellij.openapi.Disposable\nimport com.intellij.openapi.application.ApplicationManager\nimport com.intellij.openapi.extensions.Extensions\nimport com.intellij.openapi.fileEditor.FileEditorManager\nimport com.intellij.openapi.fileEditor.TextEditor\nimport com.intellij.openapi.module.Module\nimport com.intellij.openapi.module.ModuleUtilCore\nimport com.intellij.openapi.project.Project\nimport com.intellij.openapi.ui.ComboBox\nimport com.intellij.openapi.util.Computable\nimport com.intellij.openapi.wm.ToolWindow\nimport com.intellij.psi.PsiDocumentManager\nimport com.intellij.psi.PsiFile\nimport com.intellij.psi.PsiFileFactory\nimport com.intellij.psi.xml.XmlFile\nimport com.intellij.util.Alarm\nimport org.jetbrains.android.uipreview.ViewLoaderExtension\nimport org.jetbrains.kotlin.idea.util.InfinitePeriodicalTask\nimport org.jetbrains.kotlin.psi.KtFile\nimport org.jetbrains.kotlin.utils.addToStdlib.firstIsInstanceOrNull\nimport java.awt.BorderLayout\nimport java.awt.event.ItemEvent\nimport javax.swing.ComboBoxModel\nimport javax.swing.DefaultComboBoxModel\nimport javax.swing.JPanel\n\nclass AnkoNlPreviewManager(\n        project: Project,\n        fileEditorManager: FileEditorManager?\n) : NlPreviewManager(project, fileEditorManager), Disposable {\n    internal val classResolver = DslPreviewClassResolver(project)\n\n    internal var myActivityListModel: DefaultComboBoxModel<Any> = DefaultComboBoxModel()\n\n    private val viewLoaderExtension by lazy {\n        val area = Extensions.getArea(project)\n\n        if (area.hasExtensionPoint(ViewLoaderExtension.EP_NAME.name)) {\n            area.getExtensionPoint(ViewLoaderExtension.EP_NAME).extensions.firstIsInstanceOrNull<AnkoViewLoaderExtension>()\n        } else {\n            null\n        }\n    }\n\n    init {\n        ApplicationManager.getApplication().invokeLater {\n            val task = Computable { UpdateActivityNameTask(this) }\n            InfinitePeriodicalTask(1000, Alarm.ThreadToUse.SWING_THREAD, this@AnkoNlPreviewManager, task).start()\n        }\n\n        GradleBuildInvoker.getInstance(project).add {\n            ApplicationManager.getApplication().invokeLater {\n                refresh()\n            }\n        }\n    }\n\n    override fun getToolWindowId() = \"Anko Layout Preview\"\n    override fun getComponentName() = \"AnkoNlPreviewManager\"\n    public override fun getToolWindow() = super.getToolWindow()\n\n    override fun getBoundXmlFile(file: PsiFile?): XmlFile? {\n        if (file is XmlFile) {\n            return file\n        } else if (file !is KtFile) {\n            return null\n        }\n\n        val ankoPreviewFrom = previewForm as? AnkoPreviewForm ?: return null\n        val module = ModuleUtilCore.findModuleForPsiElement(file) ?: return null\n\n        return if (refresh() || ankoPreviewFrom.xmlFile == null) {\n            generateStubXmlFile(module, file).also {\n                ankoPreviewFrom.xmlFile = it\n            }\n        } else {\n            ankoPreviewFrom.xmlFile\n        }\n    }\n\n    private fun getActiveTextEditor(): TextEditor? {\n        if (!ApplicationManager.getApplication().isReadAccessAllowed) {\n            return ApplicationManager.getApplication().runReadAction(Computable<TextEditor> { getActiveTextEditor() })\n        }\n        ApplicationManager.getApplication().assertReadAccessAllowed()\n        val fileEditors = fileEditorManager?.selectedEditors\n        if (fileEditors != null && fileEditors.isNotEmpty() && fileEditors[0] is TextEditor) {\n            val textEditor = fileEditors[0] as TextEditor\n            if (isApplicableEditor(textEditor, null)) {\n                return textEditor\n            }\n        }\n        return null\n    }\n\n    private fun generateStubXmlFile(module: Module, originalFile: KtFile): LayoutPsiFile {\n        val filename = \"anko_preview.xml\"\n        val content = \"\"\"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n                <__anko.preview.View xmlns:android=\"http://schemas.android.com/apk/res/android\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"/>\"\"\"\n\n        val psiFile = PsiFileFactory.getInstance(project).createFileFromText(filename, XmlFileType.INSTANCE, content)\n        return LayoutPsiFile(psiFile as XmlFile, originalFile, module)\n    }\n\n    private fun refresh(): Boolean {\n        val toolWindow: ToolWindow = toolWindow ?: return false\n        if (!toolWindow.isVisible) return false\n\n        val viewLoaderExtension = this.viewLoaderExtension ?: return false\n        val description = myActivityListModel.selectedItem as? PreviewClassDescription\n                ?: classResolver.getOnCursorPreviewClassDescription()\n\n        if (description != null && viewLoaderExtension.description != description) {\n            viewLoaderExtension.description = description\n            return true\n        }\n\n        return false\n    }\n\n    override fun isApplicableEditor(textEditor: TextEditor, file: PsiFile?): Boolean {\n        val psiFile =\n                file ?: PsiDocumentManager.getInstance(project).getPsiFile(textEditor.editor.document) ?: return false\n        if (!GradleProjectInfo.getInstance(project).isBuildWithGradle &&\n                !AndroidProjectInfo.getInstance(project).isLegacyIdeaAndroidProject) {\n            return false\n        }\n\n        return psiFile is KtFile\n    }\n\n    private val fileEditorManager: FileEditorManager?\n        get() = with(NlPreviewManager::class.java.getDeclaredField(\"myFileEditorManager\")) {\n            val oldAccessible = isAccessible\n            try {\n                isAccessible = true\n                get(this@AnkoNlPreviewManager) as? FileEditorManager\n            } finally {\n                isAccessible = oldAccessible\n            }\n        }\n\n    override fun initToolWindow() {\n        super.initToolWindow()\n        resolveAvailableClasses()\n    }\n\n    override fun createPreviewForm(): NlPreviewForm = AnkoPreviewForm(this)\n\n    internal fun updatePreview() {\n        getActiveTextEditor()?.let { notifyFileShown(it, true) }\n    }\n\n    fun resolveAvailableClasses() {\n        val activityClasses = classResolver\n                .getAncestors(DslPreviewClassResolver.ANKO_COMPONENT_CLASS_NAME)\n                .filter { classResolver.isClassApplicableForPreview(it.ktClass) }\n\n        with(myActivityListModel) {\n            selectedItem = null\n            removeAllElements()\n            val items = activityClasses\n            items.sortedBy { it.toString() }.forEach { addElement(it) }\n        }\n    }\n\n    override fun isUseInteractiveSelector() = false\n\n    override fun dispose() {}\n}\n\nclass AnkoPreviewForm(private val ankoPreviewManager: AnkoNlPreviewManager) : NlPreviewForm(ankoPreviewManager) {\n    var xmlFile: XmlFile? = null\n\n    override fun setActiveModel(model: NlModel?) {\n        super.setActiveModel(model)\n\n        if (model != null) {\n            (this.toolbarComponent as? JPanel)?.let { addLayoutComboBox(it) }\n        }\n    }\n\n    private fun addLayoutComboBox(panel: JPanel) {\n        if (panel.components.firstIsInstanceOrNull<PreviewCandidateComboBox>() != null) {\n            return\n        }\n\n        val comboBox = PreviewCandidateComboBox(ankoPreviewManager.myActivityListModel)\n        comboBox.addItemListener { itemEvent ->\n            if (itemEvent.stateChange == ItemEvent.SELECTED) {\n                ankoPreviewManager.updatePreview()\n            }\n        }\n\n        panel.add(comboBox, BorderLayout.SOUTH)\n    }\n}\n\nclass PreviewCandidateComboBox(model: ComboBoxModel<Any>) : ComboBox<Any>(model)\n"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/AnkoViewLoaderExtension.kt",
    "content": "package org.jetbrains.kotlin.android.dslpreview\n\nimport org.jetbrains.android.uipreview.ViewLoaderExtension\nimport org.jetbrains.org.objectweb.asm.ClassWriter\nimport org.jetbrains.org.objectweb.asm.Opcodes\nimport java.net.URL\nimport java.net.URLClassLoader\n\nclass AnkoViewLoaderExtension : ViewLoaderExtension {\n    internal var description: PreviewClassDescription? = null\n\n    override fun loadClass(className: String, delegateClassLoader: ClassLoader): Class<*>? {\n        val description = this.description\n        if (className == \"__anko.preview.View\" && description != null) {\n            val clazz = generateStubViewClass(delegateClassLoader, description)\n            if (clazz != null) return clazz\n        }\n\n        return null\n    }\n\n    private fun generateStubViewClass(delegateClassLoader: ClassLoader, description: PreviewClassDescription): Class<*>? {\n        val uiInternalName = description.internalName\n        val viewFqName = \"__anko.preview.View\"\n        val viewInternalName = viewFqName.replace('.', '/')\n        val superClassInternalName = \"android/widget/FrameLayout\"\n\n        val bytes = with (ClassWriter(0)) {\n            visit(49, Opcodes.ACC_PUBLIC, viewInternalName, null, superClassInternalName, null)\n            visitSource(null, null)\n\n            fun visitConstructor(vararg params: String) {\n                val signature = \"(${params.joinToString(\"\")})V\"\n\n                with (visitMethod(Opcodes.ACC_PUBLIC, \"<init>\", signature, null, null)) {\n                    visitVarInsn(Opcodes.ALOAD, 0)\n                    params.forEachIndexed { i, param ->\n                        when (param) {\n                            \"I\" -> visitVarInsn(Opcodes.ILOAD, i + 1)\n                            else -> visitVarInsn(Opcodes.ALOAD, i + 1)\n                        }\n                    }\n\n                    visitMethodInsn(Opcodes.INVOKESPECIAL, superClassInternalName, \"<init>\", signature)\n                    visitVarInsn(Opcodes.ALOAD, 0)\n                    visitMethodInsn(Opcodes.INVOKEVIRTUAL, viewInternalName, \"init\", \"()V\")\n                    visitInsn(Opcodes.RETURN)\n                    visitMaxs(1 + params.size /*max stack*/, 1 + params.size /*max locals*/)\n                    visitEnd()\n                }\n            }\n\n            visitConstructor(\"Landroid/content/Context;\")\n            visitConstructor(\"Landroid/content/Context;\", \"Landroid/util/AttributeSet;\")\n            visitConstructor(\"Landroid/content/Context;\", \"Landroid/util/AttributeSet;\", \"I\")\n\n            /*\n            private fun init() {\n                addView(MainActivityUi().createView(AnkoContext.create(getContext())))\n            }\n             */\n\n            with (visitMethod(Opcodes.ACC_PRIVATE, \"init\", \"()V\", null, null)) {\n                visitVarInsn(Opcodes.ALOAD, 0)\n                visitTypeInsn(Opcodes.NEW, uiInternalName)\n                visitInsn(Opcodes.DUP)\n                visitMethodInsn(Opcodes.INVOKESPECIAL, uiInternalName, \"<init>\", \"()V\")\n                visitFieldInsn(Opcodes.GETSTATIC, \"org/jetbrains/anko/AnkoContext\", \"Companion\",\n                        \"Lorg/jetbrains/anko/AnkoContext\" + '$' + \"Companion;\")\n                visitVarInsn(Opcodes.ALOAD, 0)\n                visitMethodInsn(Opcodes.INVOKEVIRTUAL, viewInternalName, \"getContext\", \"()Landroid/content/Context;\")\n\n                visitInsn(Opcodes.ICONST_0)\n                visitMethodInsn(Opcodes.INVOKEVIRTUAL, \"org/jetbrains/anko/AnkoContext\" + '$' + \"Companion\", \"create\",\n                        \"(Landroid/content/Context;Z)Lorg/jetbrains/anko/AnkoContext;\")\n\n                visitMethodInsn(Opcodes.INVOKEVIRTUAL, uiInternalName, \"createView\",\n                        \"(Lorg/jetbrains/anko/AnkoContext;)Landroid/view/View;\")\n                visitMethodInsn(Opcodes.INVOKEVIRTUAL, viewInternalName, \"addView\", \"(Landroid/view/View;)V\")\n\n                visitInsn(Opcodes.RETURN)\n                visitMaxs(5 /*max stack*/, 1 /*max locals*/)\n                visitEnd()\n            }\n\n            visitEnd()\n            toByteArray()\n        }\n\n        return loadClass(viewFqName, bytes, delegateClassLoader)\n    }\n\n    private fun loadClass(fqName: String, bytes: ByteArray, delegateClassLoader: ClassLoader): Class<*>? {\n        class ByteClassLoader(\n                urls: Array<out URL>?,\n                parent: ClassLoader?,\n                private var extraClasses: MutableMap<String, ByteArray>\n        ) : URLClassLoader(urls, parent) {\n            override fun findClass(name: String): Class<*>? {\n                return extraClasses.remove(name)?.let {\n                    defineClass(name, it, 0, it.size)\n                } ?: super.findClass(name)\n            }\n        }\n\n        try {\n            val classLoader = ByteClassLoader(emptyArray(), delegateClassLoader, hashMapOf(fqName to bytes))\n            return Class.forName(fqName, false, classLoader)\n        } catch (e: Throwable) {\n            return null\n        }\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/DslPreviewClassResolver.kt",
    "content": "package org.jetbrains.kotlin.android.dslpreview\n\nimport com.intellij.openapi.application.ApplicationManager\nimport com.intellij.openapi.editor.ex.EditorEx\nimport com.intellij.openapi.fileEditor.FileEditorManager\nimport com.intellij.openapi.project.DumbService\nimport com.intellij.openapi.project.IndexNotReadyException\nimport com.intellij.openapi.project.Project\nimport com.intellij.openapi.util.Computable\nimport com.intellij.psi.JavaPsiFacade\nimport com.intellij.psi.PsiDocumentManager\nimport com.intellij.psi.PsiElement\nimport com.intellij.psi.search.GlobalSearchScope\nimport com.intellij.psi.search.searches.ClassInheritorsSearch\nimport org.jetbrains.kotlin.asJava.elements.KtLightElement\nimport org.jetbrains.kotlin.caches.resolve.KotlinCacheService\nimport org.jetbrains.kotlin.codegen.ClassBuilderMode\nimport org.jetbrains.kotlin.codegen.state.IncompatibleClassTracker\nimport org.jetbrains.kotlin.codegen.state.KotlinTypeMapper\nimport org.jetbrains.kotlin.config.JvmTarget\nimport org.jetbrains.kotlin.incremental.components.NoLookupLocation\nimport org.jetbrains.kotlin.psi.KtClass\nimport org.jetbrains.kotlin.psi.KtConstructor\nimport org.jetbrains.kotlin.psi.KtFile\nimport org.jetbrains.kotlin.resolve.BindingContext\nimport org.jetbrains.kotlin.resolve.descriptorUtil.fqNameSafe\nimport org.jetbrains.kotlin.resolve.descriptorUtil.fqNameUnsafe\nimport org.jetbrains.kotlin.resolve.lazy.ResolveSession\nimport org.jetbrains.kotlin.types.typeUtil.supertypes\nimport java.util.*\n\ninternal class DslPreviewClassResolver(private val project: Project) {\n\n    private fun getKtClass(psiElement: PsiElement?): KtClass? {\n        return if (psiElement is KtLightElement<*, *>) {\n            getKtClass(psiElement.kotlinOrigin)\n        } else if (psiElement is KtClass && !psiElement.isEnum() && !psiElement.isInterface() &&\n                !psiElement.isAnnotation() && !psiElement.isSealed()) {\n            psiElement\n        } else {\n            val parent = psiElement?.parent ?: return null\n            return getKtClass(parent)\n        }\n    }\n\n    fun getOnCursorPreviewClassDescription(): PreviewClassDescription? {\n        val editor = ApplicationManager.getApplication().runReadAction(Computable {\n            FileEditorManager.getInstance(project).selectedTextEditor\n        }) ?: return null\n\n        val psiFile = PsiDocumentManager.getInstance(project).getPsiFile(editor.document)\n\n        if (psiFile !is KtFile || editor !is EditorEx) return null\n\n        val selectionStart = editor.caretModel.primaryCaret.selectionStart\n        val psiElement = psiFile.findElementAt(selectionStart) ?: return null\n\n        val cacheService = KotlinCacheService.getInstance(project)\n        return resolveClassDescription(psiElement, cacheService)\n    }\n\n    fun getAncestors(baseClassName: String): Collection<PreviewClassDescription> {\n        if (DumbService.isDumb(project)) return emptyList()\n        val baseClasses = JavaPsiFacade.getInstance(project)\n                .findClasses(baseClassName, GlobalSearchScope.allScope(project))\n\n        if (baseClasses.isEmpty()) return emptyList()\n\n        return try {\n            val cacheService = KotlinCacheService.getInstance(project)\n\n            val previewClasses = ArrayList<PreviewClassDescription>(0)\n            for (element in ClassInheritorsSearch.search(baseClasses[0]).findAll()) {\n                resolveClassDescription(element, cacheService)?.let { previewClasses += it }\n            }\n\n            previewClasses\n        }\n        catch (e: IndexNotReadyException) {\n            emptyList()\n        }\n    }\n\n    private fun isZeroParameterConstructor(constructor: KtConstructor<*>?): Boolean {\n        if (constructor == null) return false\n        val parameters = constructor.getValueParameters()\n        return parameters.isEmpty() || parameters.all { it.hasDefaultValue() }\n    }\n\n\n    fun isClassApplicableForPreview(clazz: KtClass): Boolean {\n        val primaryConstructor = clazz.primaryConstructor\n        val secondaryConstructors = clazz.secondaryConstructors\n\n        return (primaryConstructor == null && secondaryConstructors.isEmpty())\n                || isZeroParameterConstructor(primaryConstructor)\n                || secondaryConstructors.any(this::isZeroParameterConstructor)\n    }\n\n    fun resolveClassDescription(element: PsiElement, cacheService: KotlinCacheService): PreviewClassDescription? {\n        if (DumbService.isDumb(element.project)) return null\n        val ktClass = getKtClass(element) ?: return null\n        if (!isClassApplicableForPreview(ktClass)) return null\n\n        val resolveSession = cacheService.getResolutionFacade(listOf(ktClass))\n                .getFrontendService(ResolveSession::class.java)\n        val classDescriptor = resolveSession.getClassDescriptor(ktClass, NoLookupLocation.FROM_IDE)\n\n        if (!classDescriptor.defaultType.supertypes().any {\n            val fqName = it.constructor.declarationDescriptor?.fqNameUnsafe?.asString() ?: \"\"\n            fqName == ANKO_COMPONENT_CLASS_NAME\n        }) {\n            return null\n        }\n\n        val typeMapper = createTypeMapper(resolveSession.bindingContext)\n\n        return PreviewClassDescription(ktClass, classDescriptor.fqNameSafe.asString(),\n                typeMapper.mapType(classDescriptor).internalName)\n    }\n\n    companion object {\n        val ANKO_COMPONENT_CLASS_NAME = \"org.jetbrains.anko.AnkoComponent\"\n\n        private fun createTypeMapper(bindingContext: BindingContext): KotlinTypeMapper {\n            // TODO: Add stable constructor to KotlinTypeMapper\n            val typeMapperConstructor7 = KotlinTypeMapper::class.java.constructors.find { it.parameterCount == 7 }\n            if (typeMapperConstructor7 != null) {\n                if (typeMapperConstructor7.parameterTypes[4].isAssignableFrom(JvmTarget::class.java))\n                    return typeMapperConstructor7\n                            .newInstance(\n                                    bindingContext,\n                                    ClassBuilderMode.LIGHT_CLASSES,\n                                    IncompatibleClassTracker.DoNothing,\n                                    \"main\",\n                                    JvmTarget.DEFAULT,\n                                    false,\n                                    false) as KotlinTypeMapper\n                else\n                    return typeMapperConstructor7\n                            .newInstance(\n                                    bindingContext,\n                                    ClassBuilderMode.LIGHT_CLASSES,\n                                    IncompatibleClassTracker.DoNothing,\n                                    \"main\",\n                                    false,\n                                    false,\n                                    false) as KotlinTypeMapper\n            }\n\n            val typeMapperConstructor6 = KotlinTypeMapper::class.java.constructors.find { it.parameterCount == 6 }\n            if (typeMapperConstructor6 != null) {\n                return typeMapperConstructor6\n                        .newInstance(\n                                bindingContext,\n                                ClassBuilderMode.LIGHT_CLASSES,\n                                IncompatibleClassTracker.DoNothing,\n                                \"main\",\n                                false,\n                                false) as KotlinTypeMapper\n            }\n\n            return KotlinTypeMapper(\n                    bindingContext,\n                    ClassBuilderMode.LIGHT_CLASSES,\n                    IncompatibleClassTracker.DoNothing,\n                    \"main\",\n                    false)\n        }\n    }\n\n}"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/LayoutPsiFile.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"UNREACHABLE_CODE\", \"OverridingDeprecatedMember\", \"DEPRECATION\")\npackage org.jetbrains.kotlin.android.dslpreview\n\nimport com.intellij.injected.editor.DocumentWindow\nimport com.intellij.injected.editor.VirtualFileWindow\nimport com.intellij.lang.ASTNode\nimport com.intellij.lang.FileASTNode\nimport com.intellij.lang.Language\nimport com.intellij.navigation.ItemPresentation\nimport com.intellij.openapi.Disposable\nimport com.intellij.openapi.editor.Document\nimport com.intellij.openapi.editor.RangeMarker\nimport com.intellij.openapi.editor.event.DocumentListener\nimport com.intellij.openapi.module.Module\nimport com.intellij.openapi.project.Project\nimport com.intellij.openapi.util.Iconable.IconFlags\nimport com.intellij.openapi.util.Key\nimport com.intellij.openapi.util.Segment\nimport com.intellij.openapi.util.TextRange\nimport com.intellij.openapi.util.UserDataHolderBase\nimport com.intellij.openapi.vfs.VirtualFile\nimport com.intellij.psi.*\nimport com.intellij.psi.impl.PsiDocumentManagerImpl\nimport com.intellij.psi.impl.PsiManagerEx\nimport com.intellij.psi.scope.PsiScopeProcessor\nimport com.intellij.psi.search.GlobalSearchScope\nimport com.intellij.psi.search.PsiElementProcessor\nimport com.intellij.psi.search.SearchScope\nimport com.intellij.psi.xml.XmlFile\nimport com.intellij.testFramework.LightVirtualFile\nimport com.intellij.util.IncorrectOperationException\nimport org.jetbrains.android.facet.AndroidFacet\nimport org.jetbrains.android.resourceManagers.ModuleResourceManagers\nimport org.jetbrains.annotations.NonNls\nimport org.jetbrains.kotlin.psi.KtFile\nimport java.beans.PropertyChangeListener\nimport javax.swing.Icon\n\n/*\n  Reason for these stubs:\n  Android Preview checks that the xml file is placed inside \"layout-*\" directory.\n  TODO: Implement some kind of stable api in Android plugin for this\n */\nclass LayoutPsiFile(private val myPsiFile: XmlFile, val originalFile: KtFile, module: Module) : XmlFile {\n    private val myPsiDirectory: PsiDirectory = LayoutPsiDirectory(module)\n\n    private val myViewProvider: FileViewProvider = object : FileViewProvider by myPsiFile.viewProvider {\n        override fun getPsi(p0: Language): PsiFile = this@LayoutPsiFile\n    }\n\n    private val myVirtualFile: VirtualFile by lazy {\n        LayoutLightVirtualFile(myPsiFile.name, myPsiFile.text).also { virtualFile ->\n            (myPsiFile.manager as? PsiManagerEx)?.fileManager?.setViewProvider(virtualFile, myViewProvider)\n        }\n    }\n\n    override fun getParent() = myPsiDirectory\n    override fun getDocument() = myPsiFile.document\n    override fun getRootTag() = myPsiFile.rootTag\n    override fun getVirtualFile(): VirtualFile? = myVirtualFile\n    override fun getContainingDirectory() = myPsiDirectory\n    override fun getModificationStamp() = myPsiFile.modificationStamp\n    override fun getOriginalFile() = this\n    override fun getFileType() = myPsiFile.fileType\n    override fun getViewProvider() = myViewProvider\n    override fun getNode(): FileASTNode? = myPsiFile.node\n    override fun getPsiRoots(): Array<PsiFile> = myPsiFile.psiRoots\n    override fun subtreeChanged() = myPsiFile.subtreeChanged()\n    override fun isDirectory() = myPsiFile.isDirectory\n    override fun getName() = myPsiFile.name\n    override fun checkSetName(s: String) = myPsiFile.checkSetName(s)\n    override fun setName(s: String): PsiElement = myPsiFile.setName(s)\n    override fun getProject() = myPsiFile.project\n    override fun getLanguage() = myPsiFile.language\n    override fun getManager(): PsiManager? = myPsiFile.manager\n    override fun getChildren(): Array<PsiElement> = myPsiFile.children\n    override fun getFirstChild(): PsiElement? = myPsiFile.firstChild\n    override fun getLastChild(): PsiElement? = myPsiFile.lastChild\n    override fun getNextSibling(): PsiElement? = myPsiFile.nextSibling\n    override fun getPrevSibling(): PsiElement? = myPsiFile.prevSibling\n    override fun getContainingFile(): PsiFile? = myPsiFile.containingFile\n    override fun getTextRange(): TextRange? = myPsiFile.textRange\n    override fun getStartOffsetInParent() = myPsiFile.startOffsetInParent\n    override fun getTextLength() = myPsiFile.textLength\n    override fun findElementAt(i: Int) = myPsiFile.findElementAt(i)\n    override fun findReferenceAt(i: Int) = myPsiFile.findReferenceAt(i)\n    override fun getTextOffset() = myPsiFile.textOffset\n    override fun getText(): String? = myPsiFile.text\n    override fun textToCharArray() = myPsiFile.textToCharArray()\n    override fun getNavigationElement(): PsiElement? = myPsiFile.navigationElement\n    override fun getOriginalElement(): PsiElement? = myPsiFile.originalElement\n    override fun textMatches(charSequence: CharSequence) = myPsiFile.textMatches(charSequence)\n    override fun textMatches(psiElement: PsiElement) = myPsiFile.textMatches(psiElement)\n    override fun textContains(c: Char) = myPsiFile.textContains(c)\n    override fun accept(psiElementVisitor: PsiElementVisitor) = myPsiFile.accept(psiElementVisitor)\n    override fun acceptChildren(psiElementVisitor: PsiElementVisitor) = myPsiFile.acceptChildren(psiElementVisitor)\n    override fun copy(): PsiElement? = myPsiFile.copy()\n    override fun add(psiElement: PsiElement): PsiElement? = myPsiFile.add(psiElement)\n\n    override fun processChildren(psiFileSystemItemPsiElementProcessor: PsiElementProcessor<PsiFileSystemItem>?): Boolean {\n        return myPsiFile.processChildren(psiFileSystemItemPsiElementProcessor)\n    }\n\n    override fun addBefore(psiElement: PsiElement, psiElement2: PsiElement?): PsiElement? =\n            myPsiFile.addBefore(psiElement, psiElement2)\n\n    override fun addAfter(psiElement: PsiElement, psiElement2: PsiElement?): PsiElement? =\n            myPsiFile.addAfter(psiElement, psiElement2)\n\n    override fun checkAdd(psiElement: PsiElement) = myPsiFile.checkAdd(psiElement)\n\n    override fun addRange(psiElement: PsiElement, psiElement2: PsiElement): PsiElement? {\n        return myPsiFile.addRange(psiElement, psiElement2)\n    }\n\n    override fun addRangeBefore(psiElement: PsiElement, psiElement2: PsiElement, psiElement3: PsiElement): PsiElement? {\n        return myPsiFile.addRangeBefore(psiElement, psiElement2, psiElement3)\n    }\n\n    override fun addRangeAfter(psiElement: PsiElement, psiElement2: PsiElement, psiElement3: PsiElement): PsiElement? {\n        return myPsiFile.addRangeAfter(psiElement, psiElement2, psiElement3)\n    }\n\n    override fun delete() = myPsiFile.delete()\n\n    override fun checkDelete() = myPsiFile.checkDelete()\n\n    override fun deleteChildRange(psiElement: PsiElement, psiElement2: PsiElement)\n            = myPsiFile.deleteChildRange(psiElement, psiElement2)\n\n    override fun replace(psiElement: PsiElement): PsiElement? = myPsiFile.replace(psiElement)\n    override fun isValid() = myPsiFile.isValid\n    override fun isWritable() = myPsiFile.isWritable\n    override fun getReference() = myPsiFile.reference\n    override fun getReferences(): Array<PsiReference> = myPsiFile.references\n    override fun <T> getCopyableUserData(tKey: Key<T>) = myPsiFile.getCopyableUserData(tKey)\n    override fun <T> putCopyableUserData(tKey: Key<T>, t: T?) = myPsiFile.putCopyableUserData(tKey, t)\n\n    override fun processDeclarations(\n            psiScopeProcessor: PsiScopeProcessor,\n            resolveState: ResolveState,\n            psiElement: PsiElement?,\n            psiElement2: PsiElement\n    ): Boolean {\n        return myPsiFile.processDeclarations(psiScopeProcessor, resolveState, psiElement, psiElement2)\n    }\n\n    override fun getContext() = myPsiFile.context\n\n    override fun isPhysical() = myPsiFile.isPhysical\n\n    override fun getResolveScope() = myPsiFile.resolveScope\n\n    override fun getUseScope() = myPsiFile.useScope\n\n    override fun toString() = myPsiFile.toString()\n    override fun isEquivalentTo(psiElement: PsiElement) = myPsiFile.isEquivalentTo(psiElement)\n    override fun <T> getUserData(tKey: Key<T>) = myPsiFile.getUserData(tKey)\n    override fun <T> putUserData(tKey: Key<T>, t: T?) = myPsiFile.putUserData(tKey, t)\n    override fun getIcon(i: Int): Icon = myPsiFile.getIcon(i)\n    override fun getPresentation() = myPsiFile.presentation\n    override fun navigate(b: Boolean) = myPsiFile.navigate(b)\n    override fun canNavigate() = myPsiFile.canNavigate()\n    override fun canNavigateToSource() = myPsiFile.canNavigateToSource()\n    override fun getFileResolveScope() = myPsiFile.fileResolveScope\n    override fun ignoreReferencedElementAccessibility() = myPsiFile.ignoreReferencedElementAccessibility()\n\n    override fun processElements(psiElementProcessor: PsiElementProcessor<PsiElement>, psiElement: PsiElement): Boolean {\n        return myPsiFile.processElements(psiElementProcessor, psiElement)\n    }\n\n    private class LayoutPsiDirectory(val module: Module) : PsiDirectory {\n        private val parentDir by lazy {\n            val facet = AndroidFacet.getInstance(module) ?: return@lazy null\n            val dir = ModuleResourceManagers.getInstance(facet).localResourceManager.resourceDirs\n                    .firstOrNull() ?: return@lazy null\n            PsiManager.getInstance(module.project).findDirectory(dir)\n        }\n\n        override fun getName(): String {\n            return \"layout\"\n        }\n\n        override fun getVirtualFile(): VirtualFile {\n            return null!!\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun setName(s: String): PsiElement {\n            return null!!\n        }\n\n        override fun getParentDirectory(): PsiDirectory? = parentDir\n\n        override fun getParent() = parentDir\n\n        override fun getSubdirectories(): Array<PsiDirectory?> {\n            return arrayOfNulls(0)\n        }\n\n        override fun getFiles(): Array<PsiFile?> {\n            return arrayOfNulls(0)\n        }\n\n        override fun findSubdirectory(s: String): PsiDirectory? {\n            return null\n        }\n\n        override fun findFile(@NonNls s: String): PsiFile? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun createSubdirectory(s: String): PsiDirectory {\n            return null!!\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun checkCreateSubdirectory(s: String) {\n\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun createFile(@NonNls s: String): PsiFile {\n            return null!!\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun copyFileFrom(s: String, psiFile: PsiFile): PsiFile {\n            return null!!\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun checkCreateFile(s: String) {\n\n        }\n\n        override fun isDirectory(): Boolean {\n            return true\n        }\n\n        override fun processChildren(psiFileSystemItemPsiElementProcessor: PsiElementProcessor<PsiFileSystemItem>): Boolean {\n            return false\n        }\n\n        override fun getPresentation(): ItemPresentation? {\n            return null\n        }\n\n        override fun navigate(b: Boolean) {\n\n        }\n\n        override fun canNavigate(): Boolean {\n            return false\n        }\n\n        override fun canNavigateToSource(): Boolean {\n            return false\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun checkSetName(s: String) {\n\n        }\n\n        @Throws(PsiInvalidElementAccessException::class)\n        override fun getProject(): Project {\n            return null!!\n        }\n\n        override fun getLanguage(): Language {\n            return null!!\n        }\n\n        override fun getManager(): PsiManager? {\n            return null\n        }\n\n        override fun getChildren(): Array<PsiElement?> {\n            return arrayOfNulls(0)\n        }\n\n        override fun getFirstChild(): PsiElement? {\n            return null\n        }\n\n        override fun getLastChild(): PsiElement? {\n            return null\n        }\n\n        override fun getNextSibling(): PsiElement? {\n            return null\n        }\n\n        override fun getPrevSibling(): PsiElement? {\n            return null\n        }\n\n        @Throws(PsiInvalidElementAccessException::class)\n        override fun getContainingFile(): PsiFile? {\n            return null\n        }\n\n        override fun getTextRange(): TextRange? {\n            return null\n        }\n\n        override fun getStartOffsetInParent(): Int {\n            return 0\n        }\n\n        override fun getTextLength(): Int {\n            return 0\n        }\n\n        override fun findElementAt(i: Int): PsiElement? {\n            return null\n        }\n\n        override fun findReferenceAt(i: Int): PsiReference? {\n            return null\n        }\n\n        override fun getTextOffset(): Int {\n            return 0\n        }\n\n        override fun getText(): String? {\n            return null\n        }\n\n        override fun textToCharArray(): CharArray {\n            return CharArray(0)\n        }\n\n        override fun getNavigationElement(): PsiElement? {\n            return null\n        }\n\n        override fun getOriginalElement(): PsiElement? {\n            return null\n        }\n\n        override fun textMatches(@NonNls charSequence: CharSequence): Boolean {\n            return false\n        }\n\n        override fun textMatches(psiElement: PsiElement): Boolean {\n            return false\n        }\n\n        override fun textContains(c: Char): Boolean {\n            return false\n        }\n\n        override fun accept(psiElementVisitor: PsiElementVisitor) {\n\n        }\n\n        override fun acceptChildren(psiElementVisitor: PsiElementVisitor) {\n\n        }\n\n        override fun copy(): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun add(psiElement: PsiElement): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun addBefore(psiElement: PsiElement, psiElement2: PsiElement?): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun addAfter(psiElement: PsiElement, psiElement2: PsiElement?): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun checkAdd(psiElement: PsiElement) {\n\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun addRange(psiElement: PsiElement, psiElement2: PsiElement): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun addRangeBefore(psiElement: PsiElement, psiElement2: PsiElement, psiElement3: PsiElement): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun addRangeAfter(psiElement: PsiElement, psiElement2: PsiElement, psiElement3: PsiElement): PsiElement? {\n            return null\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun delete() {\n\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun checkDelete() {\n\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun deleteChildRange(psiElement: PsiElement, psiElement2: PsiElement) {\n\n        }\n\n        @Throws(IncorrectOperationException::class)\n        override fun replace(psiElement: PsiElement): PsiElement? {\n            return null\n        }\n\n        override fun isValid(): Boolean {\n            return false\n        }\n\n        override fun isWritable(): Boolean {\n            return false\n        }\n\n        override fun getReference(): PsiReference? {\n            return null\n        }\n\n        override fun getReferences(): Array<PsiReference?> {\n            return arrayOfNulls(0)\n        }\n\n        override fun <T> getCopyableUserData(tKey: Key<T>): T? {\n            return null\n        }\n\n        override fun <T> putCopyableUserData(tKey: Key<T>, t: T?) {\n\n        }\n\n        override fun processDeclarations(\n                psiScopeProcessor: PsiScopeProcessor,\n                resolveState: ResolveState,\n                psiElement: PsiElement?,\n                psiElement2: PsiElement\n        ): Boolean {\n            return false\n        }\n\n        override fun getContext(): PsiElement? {\n            return null\n        }\n\n        override fun isPhysical(): Boolean {\n            return false\n        }\n\n        override fun getResolveScope(): GlobalSearchScope {\n            return null!!\n        }\n\n        override fun getUseScope(): SearchScope {\n            return null!!\n        }\n\n        override fun getNode(): ASTNode? {\n            return null\n        }\n\n        override fun isEquivalentTo(psiElement: PsiElement): Boolean {\n            return false\n        }\n\n        override fun getIcon(@IconFlags i: Int): Icon? {\n            return null\n        }\n\n        override fun <T> getUserData(tKey: Key<T>): T? {\n            return null\n        }\n\n        override fun <T> putUserData(tKey: Key<T>, t: T?) {\n\n        }\n    }\n\n    inner class LayoutLightVirtualFile(name: String, text: String) : LightVirtualFile(name, text), VirtualFileWindow {\n        /*\n         * This hack is needed to force PsiDocumentManager return our LayoutPsiFile for LayoutLightVirtualFile\n         */\n        override fun getDocumentWindow(): DocumentWindow {\n            val documentManager = PsiDocumentManager.getInstance(project)\n            val documentWindowStub =  object : UserDataHolderBase(), DocumentWindow {\n                override fun hostToInjectedUnescaped(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun isOneLine(): Boolean {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun removeDocumentListener(p0: DocumentListener) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun deleteString(p0: Int, p1: Int) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getTextLength(): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getHostRanges(): Array<Segment> {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getText(): String {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getText(p0: TextRange): String {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getLineStartOffset(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun createRangeMarker(p0: Int, p1: Int): RangeMarker {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun createRangeMarker(p0: Int, p1: Int, p2: Boolean): RangeMarker {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun createRangeMarker(p0: TextRange): RangeMarker {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun insertString(p0: Int, p1: CharSequence) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun setText(p0: CharSequence) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun startGuardedBlockChecking() {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getHostRange(p0: Int): TextRange? {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getChars(): CharArray {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getLineCount(): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun stopGuardedBlockChecking() {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun areRangesEqual(p0: DocumentWindow): Boolean {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun isValid(): Boolean {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun removeGuardedBlock(p0: RangeMarker) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getLineSeparatorLength(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun injectedToHostLine(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun addPropertyChangeListener(p0: PropertyChangeListener) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun createGuardedBlock(p0: Int, p1: Int): RangeMarker {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun replaceString(p0: Int, p1: Int, p2: CharSequence) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getModificationStamp(): Long {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun setReadOnly(p0: Boolean) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun intersectWithEditable(p0: TextRange): TextRange? {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun fireReadOnlyModificationAttempt() {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getLineNumber(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun setCyclicBufferSize(p0: Int) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun hostToInjected(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getImmutableCharSequence(): CharSequence {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getOffsetGuard(p0: Int): RangeMarker? {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun isWritable(): Boolean {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getLineEndOffset(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getCharsSequence(): CharSequence {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getDelegate(): Document {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun containsRange(p0: Int, p1: Int): Boolean {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun addDocumentListener(p0: DocumentListener) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun addDocumentListener(p0: DocumentListener, p1: Disposable) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun removePropertyChangeListener(p0: PropertyChangeListener) {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun getRangeGuard(p0: Int, p1: Int): RangeMarker? {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun injectedToHost(p0: Int): Int {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n\n                override fun injectedToHost(p0: TextRange): TextRange {\n                    TODO(\"not implemented\") //To change body of created functions use File | Settings | File Templates.\n                }\n            }\n            (documentManager as PsiDocumentManagerImpl).associatePsi(documentWindowStub, this@LayoutPsiFile)\n            return documentWindowStub\n        }\n\n        override fun getDelegate(): VirtualFile = this@LayoutPsiFile.originalFile.virtualFile\n\n        override fun getParent() = object : LightVirtualFile(\"layout\") {\n            override fun isDirectory() = true\n        }\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/PreviewClassDescription.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.dslpreview\n\nimport org.jetbrains.kotlin.psi.KtClass\n\nclass PreviewClassDescription(val ktClass: KtClass, val fqName: String, val internalName: String) {\n    val packageName = fqName.substringBeforeLast('.')\n    val name = fqName.substringAfterLast('.')\n\n    override fun toString(): String {\n        return if (packageName.isNotBlank())\n            \"<html>$packageName.<b>$name</b></html>\"\n        else\n            \"<html><b>$name</b></html>\"\n    }\n\n    override fun equals(other: Any?): Boolean{\n        if (this === other) return true\n        if (other?.javaClass != javaClass) return false\n\n        other as PreviewClassDescription\n\n        if (fqName != other.fqName) return false\n        if (internalName != other.internalName) return false\n\n        return true\n    }\n\n    override fun hashCode(): Int{\n        var result = fqName.hashCode()\n        result += 31 * result + internalName.hashCode()\n        return result\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/SourceFileModificationTracker.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.dslpreview\n\nimport com.intellij.openapi.util.ModificationTracker\nimport com.intellij.psi.PsiJavaFile\nimport com.intellij.psi.impl.PsiTreeChangeEventImpl\nimport com.intellij.psi.impl.PsiTreeChangePreprocessor\nimport org.jetbrains.kotlin.psi.KtFile\nimport java.util.concurrent.atomic.AtomicLong\n\nclass SourceFileModificationTracker : PsiTreeChangePreprocessor, ModificationTracker {\n\n    private val counter = AtomicLong()\n\n    companion object {\n        private val HANDLED_EVENTS = setOf(\n                PsiTreeChangeEventImpl.PsiEventType.CHILD_ADDED,\n                PsiTreeChangeEventImpl.PsiEventType.CHILD_MOVED,\n                PsiTreeChangeEventImpl.PsiEventType.CHILD_REMOVED,\n                PsiTreeChangeEventImpl.PsiEventType.CHILD_REPLACED,\n                PsiTreeChangeEventImpl.PsiEventType.CHILDREN_CHANGED)\n    }\n\n    override fun treeChanged(event: PsiTreeChangeEventImpl) {\n        if (event.code in HANDLED_EVENTS) {\n            val file = event.file\n            if (file is KtFile || file is PsiJavaFile) counter.incrementAndGet()\n        }\n    }\n\n    override fun getModificationCount() = counter.get()\n}"
  },
  {
    "path": "anko/idea-plugin/preview/src/org/jetbrains/kotlin/android/dslpreview/UpdateActivityNameTask.kt",
    "content": "package org.jetbrains.kotlin.android.dslpreview\n\nimport com.intellij.openapi.fileEditor.FileEditorManager\nimport com.intellij.openapi.wm.ToolWindow\nimport com.intellij.psi.PsiElement\nimport org.jetbrains.kotlin.caches.resolve.KotlinCacheService\nimport org.jetbrains.kotlin.idea.internal.Location\nimport org.jetbrains.kotlin.idea.util.LongRunningReadTask\nimport org.jetbrains.kotlin.idea.util.ProjectRootsUtil\nimport javax.swing.DefaultComboBoxModel\n\nclass UpdateActivityNameTask(\n        val previewManager: AnkoNlPreviewManager\n) : LongRunningReadTask<PsiElement, PreviewClassDescription>() {\n    override fun prepareRequestInfo(): PsiElement? = with (previewManager) {\n        val toolWindow: ToolWindow = toolWindow ?: return null\n        if (!toolWindow.isVisible) return null\n\n        val editor = FileEditorManager.getInstance(project).selectedTextEditor\n        val location = Location.fromEditor(editor, project)\n        if (location.editor == null) return null\n\n        val file = location.kFile\n        if (file == null ||\n                !ProjectRootsUtil.isInProjectSource(file))\n            return null\n\n        val psiElement = file.findElementAt(location.startOffset) ?: return null\n        return psiElement\n    }\n\n    override fun cloneRequestInfo(requestInfo: PsiElement): PsiElement {\n        val newRequestInfo = super.cloneRequestInfo(requestInfo)\n        assert(requestInfo == newRequestInfo) { \"cloneRequestInfo should generate same location object\" }\n        return newRequestInfo\n    }\n\n    override fun hideResultOnInvalidLocation() {\n\n    }\n\n    override fun processRequest(element: PsiElement): PreviewClassDescription? {\n        val cacheService = KotlinCacheService.getInstance(previewManager.project)\n        return previewManager.classResolver.resolveClassDescription(element, cacheService)\n    }\n\n    private fun indexOf(model: DefaultComboBoxModel<Any>, description: PreviewClassDescription): Int? {\n        for (i in 0..(model.size - 1)) {\n            val item = model.getElementAt(i) as? PreviewClassDescription ?: continue\n            if (item == description) return i\n        }\n        return null\n    }\n\n    private fun setSelection(model: DefaultComboBoxModel<Any>, description: PreviewClassDescription): Boolean {\n        val index = indexOf(model, description) ?: return false\n        model.selectedItem = model.getElementAt(index)\n        return true\n    }\n\n    override fun onResultReady(requestInfo: PsiElement, description: PreviewClassDescription?) = with (previewManager) {\n        if (description == null) return\n        val model = myActivityListModel\n\n        if (!setSelection(model, description)) {\n            resolveAvailableClasses()\n            setSelection(model, description)\n        }\n    }\n}\n"
  },
  {
    "path": "anko/idea-plugin/xml-converter/build.gradle",
    "content": "apply plugin: 'kotlin'\n\nsourceSets {\n    main {\n        java.srcDirs = ['src']\n        kotlin.srcDirs = ['src']\n    }\n    test {\n        java.srcDirs = ['test']\n        kotlin.srcDirs = ['test']\n    }\n}\n\ndependencies {\n    compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    compile \"org.jetbrains.kotlinx:kotlinx.dom:$kotlinx_dom_version\"\n\n    compile project(':ide:plugin-classpath')\n    compile project(':ide:attrs')\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/resources/attrs.json",
    "content": "{\n  \"free\": [\n    {\n      \"name\": \"textSize\",\n      \"format\": [\n        \"dimension\"\n      ]\n    },\n    {\n      \"name\": \"fontFamily\",\n      \"format\": [\n        \"string\"\n      ]\n    },\n    {\n      \"name\": \"typeface\",\n      \"format\": [\n        \"enum\"\n      ],\n      \"enum\": [\n        {\n          \"name\": \"normal\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"sans\",\n          \"value\": \"1\"\n        },\n        {\n          \"name\": \"serif\",\n          \"value\": \"2\"\n        },\n        {\n          \"name\": \"monospace\",\n          \"value\": \"3\"\n        }\n      ]\n    },\n    {\n      \"name\": \"textStyle\",\n      \"format\": [\n        \"flags\"\n      ],\n      \"flags\": [\n        {\n          \"name\": \"normal\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"bold\",\n          \"value\": \"1\"\n        },\n        {\n          \"name\": \"italic\",\n          \"value\": \"2\"\n        }\n      ]\n    },\n    {\n      \"name\": \"textColor\",\n      \"format\": [\n        \"reference\",\n        \"color\"\n      ]\n    },\n    {\n      \"name\": \"textColorHighlight\",\n      \"format\": [\n        \"reference\",\n        \"color\"\n      ]\n    },\n    {\n      \"name\": \"textColorHint\",\n      \"format\": [\n        \"reference\",\n        \"color\"\n      ]\n    },\n    {\n      \"name\": \"textColorLink\",\n      \"format\": [\n        \"reference\",\n        \"color\"\n      ]\n    },\n    {\n      \"name\": \"textCursorDrawable\",\n      \"format\": [\n        \"reference\"\n      ]\n    },\n    {\n      \"name\": \"textIsSelectable\",\n      \"format\": [\n        \"boolean\"\n      ]\n    },\n    {\n      \"name\": \"ellipsize\",\n      \"format\": [\n        \"enum\"\n      ],\n      \"enum\": [\n        {\n          \"name\": \"none\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"start\",\n          \"value\": \"1\"\n        },\n        {\n          \"name\": \"middle\",\n          \"value\": \"2\"\n        },\n        {\n          \"name\": \"end\",\n          \"value\": \"3\"\n        },\n        {\n          \"name\": \"marquee\",\n          \"value\": \"4\"\n        }\n      ]\n    },\n    {\n      \"name\": \"inputType\",\n      \"format\": [\n        \"flags\"\n      ],\n      \"flags\": [\n        {\n          \"name\": \"none\",\n          \"value\": \"0x00000000\"\n        },\n        {\n          \"name\": \"text\",\n          \"value\": \"0x00000001\"\n        },\n        {\n          \"name\": \"textCapCharacters\",\n          \"value\": \"0x00001001\"\n        },\n        {\n          \"name\": \"textCapWords\",\n          \"value\": \"0x00002001\"\n        },\n        {\n          \"name\": \"textCapSentences\",\n          \"value\": \"0x00004001\"\n        },\n        {\n          \"name\": \"textAutoCorrect\",\n          \"value\": \"0x00008001\"\n        },\n        {\n          \"name\": \"textAutoComplete\",\n          \"value\": \"0x00010001\"\n        },\n        {\n          \"name\": \"textMultiLine\",\n          \"value\": \"0x00020001\"\n        },\n        {\n          \"name\": \"textImeMultiLine\",\n          \"value\": \"0x00040001\"\n        },\n        {\n          \"name\": \"textNoSuggestions\",\n          \"value\": \"0x00080001\"\n        },\n        {\n          \"name\": \"textUri\",\n          \"value\": \"0x00000011\"\n        },\n        {\n          \"name\": \"textEmailAddress\",\n          \"value\": \"0x00000021\"\n        },\n        {\n          \"name\": \"textEmailSubject\",\n          \"value\": \"0x00000031\"\n        },\n        {\n          \"name\": \"textShortMessage\",\n          \"value\": \"0x00000041\"\n        },\n        {\n          \"name\": \"textLongMessage\",\n          \"value\": \"0x00000051\"\n        },\n        {\n          \"name\": \"textPersonName\",\n          \"value\": \"0x00000061\"\n        },\n        {\n          \"name\": \"textPostalAddress\",\n          \"value\": \"0x00000071\"\n        },\n        {\n          \"name\": \"textPassword\",\n          \"value\": \"0x00000081\"\n        },\n        {\n          \"name\": \"textVisiblePassword\",\n          \"value\": \"0x00000091\"\n        },\n        {\n          \"name\": \"textWebEditText\",\n          \"value\": \"0x000000a1\"\n        },\n        {\n          \"name\": \"textFilter\",\n          \"value\": \"0x000000b1\"\n        },\n        {\n          \"name\": \"textPhonetic\",\n          \"value\": \"0x000000c1\"\n        },\n        {\n          \"name\": \"textWebEmailAddress\",\n          \"value\": \"0x000000d1\"\n        },\n        {\n          \"name\": \"textWebPassword\",\n          \"value\": \"0x000000e1\"\n        },\n        {\n          \"name\": \"number\",\n          \"value\": \"0x00000002\"\n        },\n        {\n          \"name\": \"numberSigned\",\n          \"value\": \"0x00001002\"\n        },\n        {\n          \"name\": \"numberDecimal\",\n          \"value\": \"0x00002002\"\n        },\n        {\n          \"name\": \"numberPassword\",\n          \"value\": \"0x00000012\"\n        },\n        {\n          \"name\": \"phone\",\n          \"value\": \"0x00000003\"\n        },\n        {\n          \"name\": \"datetime\",\n          \"value\": \"0x00000004\"\n        },\n        {\n          \"name\": \"date\",\n          \"value\": \"0x00000014\"\n        },\n        {\n          \"name\": \"time\",\n          \"value\": \"0x00000024\"\n        }\n      ]\n    },\n    {\n      \"name\": \"imeOptions\",\n      \"format\": [\n        \"flags\"\n      ],\n      \"flags\": [\n        {\n          \"name\": \"normal\",\n          \"value\": \"0x00000000\"\n        },\n        {\n          \"name\": \"actionUnspecified\",\n          \"value\": \"0x00000000\"\n        },\n        {\n          \"name\": \"actionNone\",\n          \"value\": \"0x00000001\"\n        },\n        {\n          \"name\": \"actionGo\",\n          \"value\": \"0x00000002\"\n        },\n        {\n          \"name\": \"actionSearch\",\n          \"value\": \"0x00000003\"\n        },\n        {\n          \"name\": \"actionSend\",\n          \"value\": \"0x00000004\"\n        },\n        {\n          \"name\": \"actionNext\",\n          \"value\": \"0x00000005\"\n        },\n        {\n          \"name\": \"actionDone\",\n          \"value\": \"0x00000006\"\n        },\n        {\n          \"name\": \"actionPrevious\",\n          \"value\": \"0x00000007\"\n        },\n        {\n          \"name\": \"flagNoFullscreen\",\n          \"value\": \"0x2000000\"\n        },\n        {\n          \"name\": \"flagNavigatePrevious\",\n          \"value\": \"0x4000000\"\n        },\n        {\n          \"name\": \"flagNavigateNext\",\n          \"value\": \"0x8000000\"\n        },\n        {\n          \"name\": \"flagNoExtractUi\",\n          \"value\": \"0x10000000\"\n        },\n        {\n          \"name\": \"flagNoAccessoryAction\",\n          \"value\": \"0x20000000\"\n        },\n        {\n          \"name\": \"flagNoEnterAction\",\n          \"value\": \"0x40000000\"\n        },\n        {\n          \"name\": \"flagForceAscii\",\n          \"value\": \"0x80000000\"\n        }\n      ]\n    },\n    {\n      \"name\": \"x\",\n      \"format\": [\n        \"dimension\"\n      ]\n    },\n    {\n      \"name\": \"y\",\n      \"format\": [\n        \"dimension\"\n      ]\n    },\n    {\n      \"name\": \"gravity\",\n      \"format\": [\n        \"flags\"\n      ],\n      \"flags\": [\n        {\n          \"name\": \"top\",\n          \"value\": \"0x30\"\n        },\n        {\n          \"name\": \"bottom\",\n          \"value\": \"0x50\"\n        },\n        {\n          \"name\": \"left\",\n          \"value\": \"0x03\"\n        },\n        {\n          \"name\": \"right\",\n          \"value\": \"0x05\"\n        },\n        {\n          \"name\": \"center_vertical\",\n          \"value\": \"0x10\"\n        },\n        {\n          \"name\": \"fill_vertical\",\n          \"value\": \"0x70\"\n        },\n        {\n          \"name\": \"center_horizontal\",\n          \"value\": \"0x01\"\n        },\n        {\n          \"name\": \"fill_horizontal\",\n          \"value\": \"0x07\"\n        },\n        {\n          \"name\": \"center\",\n          \"value\": \"0x11\"\n        },\n        {\n          \"name\": \"fill\",\n          \"value\": \"0x77\"\n        },\n        {\n          \"name\": \"clip_vertical\",\n          \"value\": \"0x80\"\n        },\n        {\n          \"name\": \"clip_horizontal\",\n          \"value\": \"0x08\"\n        },\n        {\n          \"name\": \"start\",\n          \"value\": \"0x00800003\"\n        },\n        {\n          \"name\": \"end\",\n          \"value\": \"0x00800005\"\n        }\n      ]\n    },\n    {\n      \"name\": \"autoLink\",\n      \"format\": [\n        \"flags\"\n      ],\n      \"flags\": [\n        {\n          \"name\": \"none\",\n          \"value\": \"0x00\"\n        },\n        {\n          \"name\": \"web\",\n          \"value\": \"0x01\"\n        },\n        {\n          \"name\": \"email\",\n          \"value\": \"0x02\"\n        },\n        {\n          \"name\": \"phone\",\n          \"value\": \"0x04\"\n        },\n        {\n          \"name\": \"map\",\n          \"value\": \"0x08\"\n        },\n        {\n          \"name\": \"all\",\n          \"value\": \"0x0f\"\n        }\n      ]\n    },\n    {\n      \"name\": \"entries\",\n      \"format\": [\n        \"reference\"\n      ]\n    },\n    {\n      \"name\": \"layout_gravity\",\n      \"format\": [\n        \"flags\"\n      ],\n      \"flags\": [\n        {\n          \"name\": \"top\",\n          \"value\": \"0x30\"\n        },\n        {\n          \"name\": \"bottom\",\n          \"value\": \"0x50\"\n        },\n        {\n          \"name\": \"left\",\n          \"value\": \"0x03\"\n        },\n        {\n          \"name\": \"right\",\n          \"value\": \"0x05\"\n        },\n        {\n          \"name\": \"center_vertical\",\n          \"value\": \"0x10\"\n        },\n        {\n          \"name\": \"fill_vertical\",\n          \"value\": \"0x70\"\n        },\n        {\n          \"name\": \"center_horizontal\",\n          \"value\": \"0x01\"\n        },\n        {\n          \"name\": \"fill_horizontal\",\n          \"value\": \"0x07\"\n        },\n        {\n          \"name\": \"center\",\n          \"value\": \"0x11\"\n        },\n        {\n          \"name\": \"fill\",\n          \"value\": \"0x77\"\n        },\n        {\n          \"name\": \"clip_vertical\",\n          \"value\": \"0x80\"\n        },\n        {\n          \"name\": \"clip_horizontal\",\n          \"value\": \"0x08\"\n        },\n        {\n          \"name\": \"start\",\n          \"value\": \"0x00800003\"\n        },\n        {\n          \"name\": \"end\",\n          \"value\": \"0x00800005\"\n        }\n      ]\n    },\n    {\n      \"name\": \"orientation\",\n      \"format\": [\n        \"enum\"\n      ],\n      \"enum\": [\n        {\n          \"name\": \"horizontal\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"vertical\",\n          \"value\": \"1\"\n        }\n      ]\n    },\n    {\n      \"name\": \"alignmentMode\",\n      \"format\": [\n        \"enum\"\n      ],\n      \"enum\": [\n        {\n          \"name\": \"alignBounds\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"alignMargins\",\n          \"value\": \"1\"\n        }\n      ]\n    },\n    {\n      \"name\": \"keycode\",\n      \"format\": [\n        \"enum\"\n      ],\n      \"enum\": [\n        {\n          \"name\": \"KEYCODE_UNKNOWN\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"KEYCODE_SOFT_LEFT\",\n          \"value\": \"1\"\n        },\n        {\n          \"name\": \"KEYCODE_SOFT_RIGHT\",\n          \"value\": \"2\"\n        },\n        {\n          \"name\": \"KEYCODE_HOME\",\n          \"value\": \"3\"\n        },\n        {\n          \"name\": \"KEYCODE_BACK\",\n          \"value\": \"4\"\n        },\n        {\n          \"name\": \"KEYCODE_CALL\",\n          \"value\": \"5\"\n        },\n        {\n          \"name\": \"KEYCODE_ENDCALL\",\n          \"value\": \"6\"\n        },\n        {\n          \"name\": \"KEYCODE_0\",\n          \"value\": \"7\"\n        },\n        {\n          \"name\": \"KEYCODE_1\",\n          \"value\": \"8\"\n        },\n        {\n          \"name\": \"KEYCODE_2\",\n          \"value\": \"9\"\n        },\n        {\n          \"name\": \"KEYCODE_3\",\n          \"value\": \"10\"\n        },\n        {\n          \"name\": \"KEYCODE_4\",\n          \"value\": \"11\"\n        },\n        {\n          \"name\": \"KEYCODE_5\",\n          \"value\": \"12\"\n        },\n        {\n          \"name\": \"KEYCODE_6\",\n          \"value\": \"13\"\n        },\n        {\n          \"name\": \"KEYCODE_7\",\n          \"value\": \"14\"\n        },\n        {\n          \"name\": \"KEYCODE_8\",\n          \"value\": \"15\"\n        },\n        {\n          \"name\": \"KEYCODE_9\",\n          \"value\": \"16\"\n        },\n        {\n          \"name\": \"KEYCODE_STAR\",\n          \"value\": \"17\"\n        },\n        {\n          \"name\": \"KEYCODE_POUND\",\n          \"value\": \"18\"\n        },\n        {\n          \"name\": \"KEYCODE_DPAD_UP\",\n          \"value\": \"19\"\n        },\n        {\n          \"name\": \"KEYCODE_DPAD_DOWN\",\n          \"value\": \"20\"\n        },\n        {\n          \"name\": \"KEYCODE_DPAD_LEFT\",\n          \"value\": \"21\"\n        },\n        {\n          \"name\": \"KEYCODE_DPAD_RIGHT\",\n          \"value\": \"22\"\n        },\n        {\n          \"name\": \"KEYCODE_DPAD_CENTER\",\n          \"value\": \"23\"\n        },\n        {\n          \"name\": \"KEYCODE_VOLUME_UP\",\n          \"value\": \"24\"\n        },\n        {\n          \"name\": \"KEYCODE_VOLUME_DOWN\",\n          \"value\": \"25\"\n        },\n        {\n          \"name\": \"KEYCODE_POWER\",\n          \"value\": \"26\"\n        },\n        {\n          \"name\": \"KEYCODE_CAMERA\",\n          \"value\": \"27\"\n        },\n        {\n          \"name\": \"KEYCODE_CLEAR\",\n          \"value\": \"28\"\n        },\n        {\n          \"name\": \"KEYCODE_A\",\n          \"value\": \"29\"\n        },\n        {\n          \"name\": \"KEYCODE_B\",\n          \"value\": \"30\"\n        },\n        {\n          \"name\": \"KEYCODE_C\",\n          \"value\": \"31\"\n        },\n        {\n          \"name\": \"KEYCODE_D\",\n          \"value\": \"32\"\n        },\n        {\n          \"name\": \"KEYCODE_E\",\n          \"value\": \"33\"\n        },\n        {\n          \"name\": \"KEYCODE_F\",\n          \"value\": \"34\"\n        },\n        {\n          \"name\": \"KEYCODE_G\",\n          \"value\": \"35\"\n        },\n        {\n          \"name\": \"KEYCODE_H\",\n          \"value\": \"36\"\n        },\n        {\n          \"name\": \"KEYCODE_I\",\n          \"value\": \"37\"\n        },\n        {\n          \"name\": \"KEYCODE_J\",\n          \"value\": \"38\"\n        },\n        {\n          \"name\": \"KEYCODE_K\",\n          \"value\": \"39\"\n        },\n        {\n          \"name\": \"KEYCODE_L\",\n          \"value\": \"40\"\n        },\n        {\n          \"name\": \"KEYCODE_M\",\n          \"value\": \"41\"\n        },\n        {\n          \"name\": \"KEYCODE_N\",\n          \"value\": \"42\"\n        },\n        {\n          \"name\": \"KEYCODE_O\",\n          \"value\": \"43\"\n        },\n        {\n          \"name\": \"KEYCODE_P\",\n          \"value\": \"44\"\n        },\n        {\n          \"name\": \"KEYCODE_Q\",\n          \"value\": \"45\"\n        },\n        {\n          \"name\": \"KEYCODE_R\",\n          \"value\": \"46\"\n        },\n        {\n          \"name\": \"KEYCODE_S\",\n          \"value\": \"47\"\n        },\n        {\n          \"name\": \"KEYCODE_T\",\n          \"value\": \"48\"\n        },\n        {\n          \"name\": \"KEYCODE_U\",\n          \"value\": \"49\"\n        },\n        {\n          \"name\": \"KEYCODE_V\",\n          \"value\": \"50\"\n        },\n        {\n          \"name\": \"KEYCODE_W\",\n          \"value\": \"51\"\n        },\n        {\n          \"name\": \"KEYCODE_X\",\n          \"value\": \"52\"\n        },\n        {\n          \"name\": \"KEYCODE_Y\",\n          \"value\": \"53\"\n        },\n        {\n          \"name\": \"KEYCODE_Z\",\n          \"value\": \"54\"\n        },\n        {\n          \"name\": \"KEYCODE_COMMA\",\n          \"value\": \"55\"\n        },\n        {\n          \"name\": \"KEYCODE_PERIOD\",\n          \"value\": \"56\"\n        },\n        {\n          \"name\": \"KEYCODE_ALT_LEFT\",\n          \"value\": \"57\"\n        },\n        {\n          \"name\": \"KEYCODE_ALT_RIGHT\",\n          \"value\": \"58\"\n        },\n        {\n          \"name\": \"KEYCODE_SHIFT_LEFT\",\n          \"value\": \"59\"\n        },\n        {\n          \"name\": \"KEYCODE_SHIFT_RIGHT\",\n          \"value\": \"60\"\n        },\n        {\n          \"name\": \"KEYCODE_TAB\",\n          \"value\": \"61\"\n        },\n        {\n          \"name\": \"KEYCODE_SPACE\",\n          \"value\": \"62\"\n        },\n        {\n          \"name\": \"KEYCODE_SYM\",\n          \"value\": \"63\"\n        },\n        {\n          \"name\": \"KEYCODE_EXPLORER\",\n          \"value\": \"64\"\n        },\n        {\n          \"name\": \"KEYCODE_ENVELOPE\",\n          \"value\": \"65\"\n        },\n        {\n          \"name\": \"KEYCODE_ENTER\",\n          \"value\": \"66\"\n        },\n        {\n          \"name\": \"KEYCODE_DEL\",\n          \"value\": \"67\"\n        },\n        {\n          \"name\": \"KEYCODE_GRAVE\",\n          \"value\": \"68\"\n        },\n        {\n          \"name\": \"KEYCODE_MINUS\",\n          \"value\": \"69\"\n        },\n        {\n          \"name\": \"KEYCODE_EQUALS\",\n          \"value\": \"70\"\n        },\n        {\n          \"name\": \"KEYCODE_LEFT_BRACKET\",\n          \"value\": \"71\"\n        },\n        {\n          \"name\": \"KEYCODE_RIGHT_BRACKET\",\n          \"value\": \"72\"\n        },\n        {\n          \"name\": \"KEYCODE_BACKSLASH\",\n          \"value\": \"73\"\n        },\n        {\n          \"name\": \"KEYCODE_SEMICOLON\",\n          \"value\": \"74\"\n        },\n        {\n          \"name\": \"KEYCODE_APOSTROPHE\",\n          \"value\": \"75\"\n        },\n        {\n          \"name\": \"KEYCODE_SLASH\",\n          \"value\": \"76\"\n        },\n        {\n          \"name\": \"KEYCODE_AT\",\n          \"value\": \"77\"\n        },\n        {\n          \"name\": \"KEYCODE_NUM\",\n          \"value\": \"78\"\n        },\n        {\n          \"name\": \"KEYCODE_HEADSETHOOK\",\n          \"value\": \"79\"\n        },\n        {\n          \"name\": \"KEYCODE_FOCUS\",\n          \"value\": \"80\"\n        },\n        {\n          \"name\": \"KEYCODE_PLUS\",\n          \"value\": \"81\"\n        },\n        {\n          \"name\": \"KEYCODE_MENU\",\n          \"value\": \"82\"\n        },\n        {\n          \"name\": \"KEYCODE_NOTIFICATION\",\n          \"value\": \"83\"\n        },\n        {\n          \"name\": \"KEYCODE_SEARCH\",\n          \"value\": \"84\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_PLAY_PAUSE\",\n          \"value\": \"85\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_STOP\",\n          \"value\": \"86\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_NEXT\",\n          \"value\": \"87\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_PREVIOUS\",\n          \"value\": \"88\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_REWIND\",\n          \"value\": \"89\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_FAST_FORWARD\",\n          \"value\": \"90\"\n        },\n        {\n          \"name\": \"KEYCODE_MUTE\",\n          \"value\": \"91\"\n        },\n        {\n          \"name\": \"KEYCODE_PAGE_UP\",\n          \"value\": \"92\"\n        },\n        {\n          \"name\": \"KEYCODE_PAGE_DOWN\",\n          \"value\": \"93\"\n        },\n        {\n          \"name\": \"KEYCODE_PICTSYMBOLS\",\n          \"value\": \"94\"\n        },\n        {\n          \"name\": \"KEYCODE_SWITCH_CHARSET\",\n          \"value\": \"95\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_A\",\n          \"value\": \"96\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_B\",\n          \"value\": \"97\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_C\",\n          \"value\": \"98\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_X\",\n          \"value\": \"99\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_Y\",\n          \"value\": \"100\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_Z\",\n          \"value\": \"101\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_L1\",\n          \"value\": \"102\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_R1\",\n          \"value\": \"103\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_L2\",\n          \"value\": \"104\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_R2\",\n          \"value\": \"105\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_THUMBL\",\n          \"value\": \"106\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_THUMBR\",\n          \"value\": \"107\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_START\",\n          \"value\": \"108\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_SELECT\",\n          \"value\": \"109\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_MODE\",\n          \"value\": \"110\"\n        },\n        {\n          \"name\": \"KEYCODE_ESCAPE\",\n          \"value\": \"111\"\n        },\n        {\n          \"name\": \"KEYCODE_FORWARD_DEL\",\n          \"value\": \"112\"\n        },\n        {\n          \"name\": \"KEYCODE_CTRL_LEFT\",\n          \"value\": \"113\"\n        },\n        {\n          \"name\": \"KEYCODE_CTRL_RIGHT\",\n          \"value\": \"114\"\n        },\n        {\n          \"name\": \"KEYCODE_CAPS_LOCK\",\n          \"value\": \"115\"\n        },\n        {\n          \"name\": \"KEYCODE_SCROLL_LOCK\",\n          \"value\": \"116\"\n        },\n        {\n          \"name\": \"KEYCODE_META_LEFT\",\n          \"value\": \"117\"\n        },\n        {\n          \"name\": \"KEYCODE_META_RIGHT\",\n          \"value\": \"118\"\n        },\n        {\n          \"name\": \"KEYCODE_FUNCTION\",\n          \"value\": \"119\"\n        },\n        {\n          \"name\": \"KEYCODE_SYSRQ\",\n          \"value\": \"120\"\n        },\n        {\n          \"name\": \"KEYCODE_BREAK\",\n          \"value\": \"121\"\n        },\n        {\n          \"name\": \"KEYCODE_MOVE_HOME\",\n          \"value\": \"122\"\n        },\n        {\n          \"name\": \"KEYCODE_MOVE_END\",\n          \"value\": \"123\"\n        },\n        {\n          \"name\": \"KEYCODE_INSERT\",\n          \"value\": \"124\"\n        },\n        {\n          \"name\": \"KEYCODE_FORWARD\",\n          \"value\": \"125\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_PLAY\",\n          \"value\": \"126\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_PAUSE\",\n          \"value\": \"127\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_CLOSE\",\n          \"value\": \"128\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_EJECT\",\n          \"value\": \"129\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_RECORD\",\n          \"value\": \"130\"\n        },\n        {\n          \"name\": \"KEYCODE_F1\",\n          \"value\": \"131\"\n        },\n        {\n          \"name\": \"KEYCODE_F2\",\n          \"value\": \"132\"\n        },\n        {\n          \"name\": \"KEYCODE_F3\",\n          \"value\": \"133\"\n        },\n        {\n          \"name\": \"KEYCODE_F4\",\n          \"value\": \"134\"\n        },\n        {\n          \"name\": \"KEYCODE_F5\",\n          \"value\": \"135\"\n        },\n        {\n          \"name\": \"KEYCODE_F6\",\n          \"value\": \"136\"\n        },\n        {\n          \"name\": \"KEYCODE_F7\",\n          \"value\": \"137\"\n        },\n        {\n          \"name\": \"KEYCODE_F8\",\n          \"value\": \"138\"\n        },\n        {\n          \"name\": \"KEYCODE_F9\",\n          \"value\": \"139\"\n        },\n        {\n          \"name\": \"KEYCODE_F10\",\n          \"value\": \"140\"\n        },\n        {\n          \"name\": \"KEYCODE_F11\",\n          \"value\": \"141\"\n        },\n        {\n          \"name\": \"KEYCODE_F12\",\n          \"value\": \"142\"\n        },\n        {\n          \"name\": \"KEYCODE_NUM_LOCK\",\n          \"value\": \"143\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_0\",\n          \"value\": \"144\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_1\",\n          \"value\": \"145\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_2\",\n          \"value\": \"146\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_3\",\n          \"value\": \"147\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_4\",\n          \"value\": \"148\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_5\",\n          \"value\": \"149\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_6\",\n          \"value\": \"150\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_7\",\n          \"value\": \"151\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_8\",\n          \"value\": \"152\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_9\",\n          \"value\": \"153\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_DIVIDE\",\n          \"value\": \"154\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_MULTIPLY\",\n          \"value\": \"155\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_SUBTRACT\",\n          \"value\": \"156\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_ADD\",\n          \"value\": \"157\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_DOT\",\n          \"value\": \"158\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_COMMA\",\n          \"value\": \"159\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_ENTER\",\n          \"value\": \"160\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_EQUALS\",\n          \"value\": \"161\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_LEFT_PAREN\",\n          \"value\": \"162\"\n        },\n        {\n          \"name\": \"KEYCODE_NUMPAD_RIGHT_PAREN\",\n          \"value\": \"163\"\n        },\n        {\n          \"name\": \"KEYCODE_VOLUME_MUTE\",\n          \"value\": \"164\"\n        },\n        {\n          \"name\": \"KEYCODE_INFO\",\n          \"value\": \"165\"\n        },\n        {\n          \"name\": \"KEYCODE_CHANNEL_UP\",\n          \"value\": \"166\"\n        },\n        {\n          \"name\": \"KEYCODE_CHANNEL_DOWN\",\n          \"value\": \"167\"\n        },\n        {\n          \"name\": \"KEYCODE_ZOOM_IN\",\n          \"value\": \"168\"\n        },\n        {\n          \"name\": \"KEYCODE_ZOOM_OUT\",\n          \"value\": \"169\"\n        },\n        {\n          \"name\": \"KEYCODE_TV\",\n          \"value\": \"170\"\n        },\n        {\n          \"name\": \"KEYCODE_WINDOW\",\n          \"value\": \"171\"\n        },\n        {\n          \"name\": \"KEYCODE_GUIDE\",\n          \"value\": \"172\"\n        },\n        {\n          \"name\": \"KEYCODE_DVR\",\n          \"value\": \"173\"\n        },\n        {\n          \"name\": \"KEYCODE_BOOKMARK\",\n          \"value\": \"174\"\n        },\n        {\n          \"name\": \"KEYCODE_CAPTIONS\",\n          \"value\": \"175\"\n        },\n        {\n          \"name\": \"KEYCODE_SETTINGS\",\n          \"value\": \"176\"\n        },\n        {\n          \"name\": \"KEYCODE_TV_POWER\",\n          \"value\": \"177\"\n        },\n        {\n          \"name\": \"KEYCODE_TV_INPUT\",\n          \"value\": \"178\"\n        },\n        {\n          \"name\": \"KEYCODE_STB_POWER\",\n          \"value\": \"179\"\n        },\n        {\n          \"name\": \"KEYCODE_STB_INPUT\",\n          \"value\": \"180\"\n        },\n        {\n          \"name\": \"KEYCODE_AVR_POWER\",\n          \"value\": \"181\"\n        },\n        {\n          \"name\": \"KEYCODE_AVR_INPUT\",\n          \"value\": \"182\"\n        },\n        {\n          \"name\": \"KEYCODE_PROG_GRED\",\n          \"value\": \"183\"\n        },\n        {\n          \"name\": \"KEYCODE_PROG_GREEN\",\n          \"value\": \"184\"\n        },\n        {\n          \"name\": \"KEYCODE_PROG_YELLOW\",\n          \"value\": \"185\"\n        },\n        {\n          \"name\": \"KEYCODE_PROG_BLUE\",\n          \"value\": \"186\"\n        },\n        {\n          \"name\": \"KEYCODE_APP_SWITCH\",\n          \"value\": \"187\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_1\",\n          \"value\": \"188\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_2\",\n          \"value\": \"189\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_3\",\n          \"value\": \"190\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_4\",\n          \"value\": \"191\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_5\",\n          \"value\": \"192\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_6\",\n          \"value\": \"193\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_7\",\n          \"value\": \"194\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_8\",\n          \"value\": \"195\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_9\",\n          \"value\": \"196\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_10\",\n          \"value\": \"197\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_11\",\n          \"value\": \"198\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_12\",\n          \"value\": \"199\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_13\",\n          \"value\": \"200\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_14\",\n          \"value\": \"201\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_15\",\n          \"value\": \"202\"\n        },\n        {\n          \"name\": \"KEYCODE_BUTTON_16\",\n          \"value\": \"203\"\n        },\n        {\n          \"name\": \"KEYCODE_LANGUAGE_SWITCH\",\n          \"value\": \"204\"\n        },\n        {\n          \"name\": \"KEYCODE_MANNER_MODE\",\n          \"value\": \"205\"\n        },\n        {\n          \"name\": \"KEYCODE_3D_MODE\",\n          \"value\": \"206\"\n        },\n        {\n          \"name\": \"KEYCODE_CONTACTS\",\n          \"value\": \"207\"\n        },\n        {\n          \"name\": \"KEYCODE_CALENDAR\",\n          \"value\": \"208\"\n        },\n        {\n          \"name\": \"KEYCODE_MUSIC\",\n          \"value\": \"209\"\n        },\n        {\n          \"name\": \"KEYCODE_CALCULATOR\",\n          \"value\": \"210\"\n        },\n        {\n          \"name\": \"KEYCODE_ZENKAKU_HANKAKU\",\n          \"value\": \"211\"\n        },\n        {\n          \"name\": \"KEYCODE_EISU\",\n          \"value\": \"212\"\n        },\n        {\n          \"name\": \"KEYCODE_MUHENKAN\",\n          \"value\": \"213\"\n        },\n        {\n          \"name\": \"KEYCODE_HENKAN\",\n          \"value\": \"214\"\n        },\n        {\n          \"name\": \"KEYCODE_KATAKANA_HIRAGANA\",\n          \"value\": \"215\"\n        },\n        {\n          \"name\": \"KEYCODE_YEN\",\n          \"value\": \"216\"\n        },\n        {\n          \"name\": \"KEYCODE_RO\",\n          \"value\": \"217\"\n        },\n        {\n          \"name\": \"KEYCODE_KANA\",\n          \"value\": \"218\"\n        },\n        {\n          \"name\": \"KEYCODE_ASSIST\",\n          \"value\": \"219\"\n        },\n        {\n          \"name\": \"KEYCODE_BRIGHTNESS_DOWN\",\n          \"value\": \"220\"\n        },\n        {\n          \"name\": \"KEYCODE_BRIGHTNESS_UP\",\n          \"value\": \"221\"\n        },\n        {\n          \"name\": \"KEYCODE_MEDIA_AUDIO_TRACK\",\n          \"value\": \"222\"\n        }\n      ]\n    },\n    {\n      \"name\": \"layout_childType\",\n      \"format\": [\n        \"enum\"\n      ],\n      \"enum\": [\n        {\n          \"name\": \"none\",\n          \"value\": \"0\"\n        },\n        {\n          \"name\": \"widget\",\n          \"value\": \"1\"\n        },\n        {\n          \"name\": \"challenge\",\n          \"value\": \"2\"\n        },\n        {\n          \"name\": \"userSwitcher\",\n          \"value\": \"3\"\n        },\n        {\n          \"name\": \"scrim\",\n          \"value\": \"4\"\n        },\n        {\n          \"name\": \"widgets\",\n          \"value\": \"5\"\n        },\n        {\n          \"name\": \"expandChallengeHandle\",\n          \"value\": \"6\"\n        },\n        {\n          \"name\": \"pageDeleteDropTarget\",\n          \"value\": \"7\"\n        }\n      ]\n    }\n  ],\n  \"styleables\": {\n    \"Theme\": {\n      \"name\": \"Theme\",\n      \"attrs\": [\n        {\n          \"name\": \"colorForeground\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorForegroundInverse\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorBackground\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorBackgroundCacheHint\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorPressedHighlight\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorLongPressedHighlight\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorFocusedHighlight\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorActivatedHighlight\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"colorMultiSelectHighlight\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"disabledAlpha\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"backgroundDimAmount\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"backgroundDimEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"textAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textColorPrimary\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorSecondary\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorTertiary\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorPrimaryInverse\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorSecondaryInverse\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorTertiaryInverse\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorHintInverse\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorPrimaryDisableOnly\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorPrimaryInverseDisableOnly\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorPrimaryNoDisable\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorSecondaryNoDisable\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorPrimaryInverseNoDisable\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorSecondaryInverseNoDisable\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorSearchUrl\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorHighlightInverse\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorLinkInverse\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textColorAlertDialogListItem\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"searchWidgetCorpusItemBackground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceLarge\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceMedium\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceLargeInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceMediumInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceSmallInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceSearchResultTitle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceSearchResultSubtitle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceButton\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceLargePopupMenu\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceSmallPopupMenu\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceEasyCorrectSuggestion\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceMisspelledSuggestion\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceAutoCorrectionSuggestion\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textUnderlineColor\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"textUnderlineThickness\",\n          \"format\": [\n            \"reference\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"editTextColor\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"editTextBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"errorMessageBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"errorMessageAboveBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"candidatesTextStyleSpans\",\n          \"format\": [\n            \"reference\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"textCheckMark\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textCheckMarkInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listChoiceIndicatorMultiple\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listChoiceIndicatorSingle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listChoiceBackgroundIndicator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"activatedBackgroundIndicator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"buttonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"buttonStyleSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"buttonStyleInset\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"buttonStyleToggle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"galleryItemBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemHeightSmall\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemHeightLarge\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"searchResultListItemHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemPaddingLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemPaddingRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceListItem\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textAppearanceListItemSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listDivider\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listDividerAlertDialog\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listSeparatorTextViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"expandableListPreferredItemPaddingLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"expandableListPreferredChildPaddingLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"expandableListPreferredItemIndicatorLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"expandableListPreferredItemIndicatorRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"expandableListPreferredChildIndicatorLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"expandableListPreferredChildIndicatorRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"dropdownListPreferredItemHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemPaddingStart\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"listPreferredItemPaddingEnd\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"windowBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowFrame\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowNoTitle\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowFullscreen\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowOverscan\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowIsFloating\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowIsTranslucent\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowShowWallpaper\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowContentOverlay\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowTitleSize\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"windowTitleStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowTitleBackgroundStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowAnimationStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowActionBar\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowActionBarOverlay\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowActionModeOverlay\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowSplitActionBar\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowSoftInputMode\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"stateUnspecified\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"stateUnchanged\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"stateHidden\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"stateAlwaysHidden\",\n              \"value\": \"3\"\n            },\n            {\n              \"name\": \"stateVisible\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"stateAlwaysVisible\",\n              \"value\": \"5\"\n            },\n            {\n              \"name\": \"adjustUnspecified\",\n              \"value\": \"0x00\"\n            },\n            {\n              \"name\": \"adjustResize\",\n              \"value\": \"0x10\"\n            },\n            {\n              \"name\": \"adjustPan\",\n              \"value\": \"0x20\"\n            },\n            {\n              \"name\": \"adjustNothing\",\n              \"value\": \"0x30\"\n            }\n          ]\n        },\n        {\n          \"name\": \"windowDisablePreview\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowNoDisplay\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowEnableSplitTouch\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowCloseOnTouchOutside\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowTranslucentStatus\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"windowTranslucentNavigation\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"alertDialogStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"alertDialogButtonGroupStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"alertDialogCenterButtons\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"detailsElementBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"panelBackground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"panelFullBackground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"panelColorForeground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"panelColorBackground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"panelTextAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"panelMenuIsCompact\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"panelMenuListWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"panelMenuListTheme\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"absListViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"autoCompleteTextViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"checkboxStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"checkedTextViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dropDownListViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"editTextStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"expandableListViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"expandableListViewWhiteStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"galleryStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"gestureOverlayViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"gridViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"imageButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"imageWellStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listViewWhiteStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"popupWindowStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleHorizontal\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleSmallTitle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleLarge\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleSmallInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyleLargeInverse\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"seekBarStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"ratingBarStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"ratingBarStyleIndicator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"ratingBarStyleSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"radioButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"scrollViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"horizontalScrollViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"spinnerStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dropDownSpinnerStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionDropDownStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"starStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"tabWidgetStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"webTextViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"webViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dropDownItemStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"spinnerDropDownItemStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dropDownHintAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"spinnerItemStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"mapViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeOverlay\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeStyleWindowSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeStyleWindowMedium\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeStyleWindowLarge\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeStyleSmallWindowSmall\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeStyleSmallWindowMedium\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"quickContactBadgeStyleSmallWindowLarge\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textSelectHandleWindowStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textSuggestionsWindowStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listPopupWindowStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"popupMenuStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"stackViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"numberPickerStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"calendarViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"timePickerStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"datePickerStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"activityChooserViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fastScrollThumbDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fastScrollPreviewBackgroundRight\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fastScrollPreviewBackgroundLeft\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fastScrollTrackDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fastScrollOverlayPosition\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"floating\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"atThumb\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"fastScrollTextColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"actionBarTabStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarTabBarStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarTabTextStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionOverflowButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarSplitStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarWidgetTheme\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarSize\",\n          \"format\": [\n            \"dimension\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"wrap_content\",\n              \"value\": \"0\"\n            }\n          ]\n        },\n        {\n          \"name\": \"actionBarDivider\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionBarItemBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionMenuTextAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionMenuTextColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeCloseButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeSplitBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeCloseDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeCutDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeCopyDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModePasteDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeSelectAllDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeShareDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeFindDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModeWebSearchDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionModePopupWindowStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceScreenStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceFragmentStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceCategoryStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceInformationStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"checkBoxPreferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"yesNoPreferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dialogPreferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"editTextPreferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"ringtonePreferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceLayoutChild\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferencePanelStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceHeaderPanelStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceListStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceFragmentListStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceFragmentPaddingSide\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"switchPreferenceStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textSelectHandleLeft\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textSelectHandleRight\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textSelectHandle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textEditPasteWindowLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textEditNoPasteWindowLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textEditSidePasteWindowLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textEditSideNoPasteWindowLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textEditSuggestionItemLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dialogTheme\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dialogTitleIconsDecorLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dialogCustomTitleDecorLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dialogTitleDecorLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"alertDialogTheme\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"alertDialogIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"presentationTheme\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dividerVertical\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dividerHorizontal\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"buttonBarStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"buttonBarButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"segmentedButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"selectableItemBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"borderlessButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"toastFrameBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchDropdownBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewCloseIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewGoIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewSearchIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewVoiceIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewEditQuery\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewEditQueryBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewTextField\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchViewTextFieldRight\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"searchDialogTheme\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"homeAsUpIndicator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"preferenceFrameLayoutStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"switchStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"mediaRouteButtonStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"pointerStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"accessibilityFocusedDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"findOnPageNextDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"findOnPagePreviousDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"Window\": {\n      \"name\": \"Window\",\n      \"attrs\": [\n        {\n          \"name\": \"windowBackground\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowContentOverlay\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowFrame\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowNoTitle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowFullscreen\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowOverscan\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowIsFloating\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowIsTranslucent\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowShowWallpaper\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowAnimationStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowSoftInputMode\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowDisablePreview\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowNoDisplay\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColor\",\n          \"format\": []\n        },\n        {\n          \"name\": \"backgroundDimEnabled\",\n          \"format\": []\n        },\n        {\n          \"name\": \"backgroundDimAmount\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowActionBar\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowActionModeOverlay\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowActionBarOverlay\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowSplitActionBar\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowEnableSplitTouch\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowCloseOnTouchOutside\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowTranslucentStatus\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowTranslucentNavigation\",\n          \"format\": []\n        },\n        {\n          \"name\": \"windowMinWidthMajor\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"windowMinWidthMinor\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"windowFixedWidthMajor\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"windowFixedHeightMinor\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"windowFixedWidthMinor\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"windowFixedHeightMajor\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        }\n      ]\n    },\n    \"AlertDialog\": {\n      \"name\": \"AlertDialog\",\n      \"attrs\": [\n        {\n          \"name\": \"fullDark\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"topDark\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"centerDark\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"bottomDark\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"fullBright\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"topBright\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"centerBright\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"bottomBright\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"bottomMedium\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"centerMedium\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"layout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"listLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"multiChoiceItemLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"singleChoiceItemLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"listItemLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"horizontalProgressLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"FragmentAnimation\": {\n      \"name\": \"FragmentAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"fragmentOpenEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fragmentOpenExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fragmentCloseEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fragmentCloseExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fragmentFadeEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fragmentFadeExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"WindowAnimation\": {\n      \"name\": \"WindowAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"windowEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowShowAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowHideAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"activityOpenEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"activityOpenExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"activityCloseEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"activityCloseExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskOpenEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskOpenExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskCloseEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskCloseExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskToFrontEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskToFrontExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskToBackEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"taskToBackExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperOpenEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperOpenExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperCloseEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperCloseExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperIntraOpenEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperIntraOpenExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperIntraCloseEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"wallpaperIntraCloseExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"View\": {\n      \"name\": \"View\",\n      \"attrs\": [\n        {\n          \"name\": \"id\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"tag\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"scrollX\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"scrollY\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"background\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"padding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"paddingLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"paddingTop\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"paddingRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"paddingBottom\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"paddingStart\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"paddingEnd\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"focusable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"focusableInTouchMode\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"visibility\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"visible\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"invisible\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"gone\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"fitsSystemWindows\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"scrollbars\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"horizontal\",\n              \"value\": \"0x00000100\"\n            },\n            {\n              \"name\": \"vertical\",\n              \"value\": \"0x00000200\"\n            }\n          ]\n        },\n        {\n          \"name\": \"scrollbarStyle\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"insideOverlay\",\n              \"value\": \"0x0\"\n            },\n            {\n              \"name\": \"insideInset\",\n              \"value\": \"0x01000000\"\n            },\n            {\n              \"name\": \"outsideOverlay\",\n              \"value\": \"0x02000000\"\n            },\n            {\n              \"name\": \"outsideInset\",\n              \"value\": \"0x03000000\"\n            }\n          ]\n        },\n        {\n          \"name\": \"isScrollContainer\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"fadeScrollbars\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarFadeDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarDefaultDelayBeforeFade\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarSize\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarThumbHorizontal\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarThumbVertical\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarTrackHorizontal\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarTrackVertical\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarAlwaysDrawHorizontalTrack\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"scrollbarAlwaysDrawVerticalTrack\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"fadingEdge\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0x00000000\"\n            },\n            {\n              \"name\": \"horizontal\",\n              \"value\": \"0x00001000\"\n            },\n            {\n              \"name\": \"vertical\",\n              \"value\": \"0x00002000\"\n            }\n          ]\n        },\n        {\n          \"name\": \"requiresFadingEdge\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0x00000000\"\n            },\n            {\n              \"name\": \"horizontal\",\n              \"value\": \"0x00001000\"\n            },\n            {\n              \"name\": \"vertical\",\n              \"value\": \"0x00002000\"\n            }\n          ]\n        },\n        {\n          \"name\": \"fadingEdgeLength\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"nextFocusLeft\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"nextFocusRight\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"nextFocusUp\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"nextFocusDown\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"nextFocusForward\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"clickable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"longClickable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"saveEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"filterTouchesWhenObscured\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"drawingCacheQuality\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"auto\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"low\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"high\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"keepScreenOn\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"duplicateParentState\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"minHeight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"minWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"soundEffectsEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"hapticFeedbackEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"contentDescription\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"onClick\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"overScrollMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"always\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"ifContentScrolls\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"never\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"alpha\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"translationX\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"translationY\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"transformPivotX\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"transformPivotY\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"rotation\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"rotationX\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"rotationY\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"scaleX\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"scaleY\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"verticalScrollbarPosition\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"defaultPosition\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"left\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"right\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"layerType\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"software\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"hardware\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"layoutDirection\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"ltr\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"rtl\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"inherit\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"locale\",\n              \"value\": \"3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"textDirection\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"inherit\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"firstStrong\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"anyRtl\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"ltr\",\n              \"value\": \"3\"\n            },\n            {\n              \"name\": \"rtl\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"locale\",\n              \"value\": \"5\"\n            }\n          ]\n        },\n        {\n          \"name\": \"textAlignment\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"inherit\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"gravity\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"textStart\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"textEnd\",\n              \"value\": \"3\"\n            },\n            {\n              \"name\": \"center\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"viewStart\",\n              \"value\": \"5\"\n            },\n            {\n              \"name\": \"viewEnd\",\n              \"value\": \"6\"\n            }\n          ]\n        },\n        {\n          \"name\": \"importantForAccessibility\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"auto\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"yes\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"no\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"noHideDescendants\",\n              \"value\": \"4\"\n            }\n          ]\n        },\n        {\n          \"name\": \"accessibilityLiveRegion\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"polite\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"assertive\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"labelFor\",\n          \"format\": [\n            \"integer\"\n          ]\n        }\n      ]\n    },\n    \"ViewGroup\": {\n      \"name\": \"ViewGroup\",\n      \"attrs\": [\n        {\n          \"name\": \"animateLayoutChanges\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"clipChildren\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"clipToPadding\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layoutAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"animationCache\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"persistentDrawingCache\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0x0\"\n            },\n            {\n              \"name\": \"animation\",\n              \"value\": \"0x1\"\n            },\n            {\n              \"name\": \"scrolling\",\n              \"value\": \"0x2\"\n            },\n            {\n              \"name\": \"all\",\n              \"value\": \"0x3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"alwaysDrawnWithCache\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"addStatesFromChildren\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"descendantFocusability\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"beforeDescendants\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"afterDescendants\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"blocksDescendants\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"splitMotionEvents\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layoutMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"clipBounds\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"opticalBounds\",\n              \"value\": \"1\"\n            }\n          ]\n        }\n      ]\n    },\n    \"ViewStub\": {\n      \"name\": \"ViewStub\",\n      \"attrs\": [\n        {\n          \"name\": \"layout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"inflatedId\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"ViewGroup_Layout\": {\n      \"name\": \"ViewGroup_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_width\",\n          \"format\": [\n            \"dimension\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"fill_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"match_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"wrap_content\",\n              \"value\": \"-2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"layout_height\",\n          \"format\": [\n            \"dimension\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"fill_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"match_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"wrap_content\",\n              \"value\": \"-2\"\n            }\n          ]\n        }\n      ]\n    },\n    \"ViewGroup_MarginLayout\": {\n      \"name\": \"ViewGroup_MarginLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_width\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_height\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_margin\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_marginLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_marginTop\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_marginRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_marginBottom\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_marginStart\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_marginEnd\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"InputMethod\": {\n      \"name\": \"InputMethod\",\n      \"attrs\": [\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"isDefault\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"supportsSwitchingToNextInputMethod\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"InputMethod_Subtype\": {\n      \"name\": \"InputMethod_Subtype\",\n      \"attrs\": [\n        {\n          \"name\": \"label\",\n          \"format\": []\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"imeSubtypeLocale\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"imeSubtypeMode\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"isAuxiliary\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"overridesImplicitlyEnabledSubtype\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"imeSubtypeExtraValue\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"subtypeId\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"isAsciiCapable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"SpellChecker\": {\n      \"name\": \"SpellChecker\",\n      \"attrs\": [\n        {\n          \"name\": \"label\",\n          \"format\": []\n        },\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"SpellChecker_Subtype\": {\n      \"name\": \"SpellChecker_Subtype\",\n      \"attrs\": [\n        {\n          \"name\": \"label\",\n          \"format\": []\n        },\n        {\n          \"name\": \"subtypeLocale\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"subtypeExtraValue\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"AccessibilityService\": {\n      \"name\": \"AccessibilityService\",\n      \"attrs\": [\n        {\n          \"name\": \"accessibilityEventTypes\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"typeViewClicked\",\n              \"value\": \"0x00000001\"\n            },\n            {\n              \"name\": \"typeViewLongClicked\",\n              \"value\": \"0x00000002\"\n            },\n            {\n              \"name\": \"typeViewSelected\",\n              \"value\": \"0x00000004\"\n            },\n            {\n              \"name\": \"typeViewFocused\",\n              \"value\": \"0x00000008\"\n            },\n            {\n              \"name\": \"typeViewTextChanged\",\n              \"value\": \"0x00000010\"\n            },\n            {\n              \"name\": \"typeWindowStateChanged\",\n              \"value\": \"0x00000020\"\n            },\n            {\n              \"name\": \"typeNotificationStateChanged\",\n              \"value\": \"0x00000040\"\n            },\n            {\n              \"name\": \"typeViewHoverEnter\",\n              \"value\": \"0x00000080\"\n            },\n            {\n              \"name\": \"typeViewHoverExit\",\n              \"value\": \"0x00000100\"\n            },\n            {\n              \"name\": \"typeTouchExplorationGestureStart\",\n              \"value\": \"0x00000200\"\n            },\n            {\n              \"name\": \"typeTouchExplorationGestureEnd\",\n              \"value\": \"0x00000400\"\n            },\n            {\n              \"name\": \"typeWindowContentChanged\",\n              \"value\": \"0x00000800\"\n            },\n            {\n              \"name\": \"typeViewScrolled\",\n              \"value\": \"0x000001000\"\n            },\n            {\n              \"name\": \"typeViewTextSelectionChanged\",\n              \"value\": \"0x000002000\"\n            },\n            {\n              \"name\": \"typeAllMask\",\n              \"value\": \"0xffffffff\"\n            }\n          ]\n        },\n        {\n          \"name\": \"packageNames\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"accessibilityFeedbackType\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"feedbackSpoken\",\n              \"value\": \"0x00000001\"\n            },\n            {\n              \"name\": \"feedbackHaptic\",\n              \"value\": \"0x00000002\"\n            },\n            {\n              \"name\": \"feedbackAudible\",\n              \"value\": \"0x00000004\"\n            },\n            {\n              \"name\": \"feedbackVisual\",\n              \"value\": \"0x00000008\"\n            },\n            {\n              \"name\": \"feedbackGeneric\",\n              \"value\": \"0x00000010\"\n            },\n            {\n              \"name\": \"feedbackAllMask\",\n              \"value\": \"0xffffffff\"\n            }\n          ]\n        },\n        {\n          \"name\": \"notificationTimeout\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"accessibilityFlags\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"flagDefault\",\n              \"value\": \"0x00000001\"\n            },\n            {\n              \"name\": \"flagIncludeNotImportantViews\",\n              \"value\": \"0x00000002\"\n            },\n            {\n              \"name\": \"flagRequestTouchExplorationMode\",\n              \"value\": \"0x00000004\"\n            },\n            {\n              \"name\": \"flagRequestEnhancedWebAccessibility\",\n              \"value\": \"0x00000008\"\n            },\n            {\n              \"name\": \"flagReportViewIds\",\n              \"value\": \"0x00000010\"\n            },\n            {\n              \"name\": \"flagRequestFilterKeyEvents\",\n              \"value\": \"0x00000020\"\n            }\n          ]\n        },\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"canRetrieveWindowContent\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"canRequestTouchExplorationMode\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"canRequestEnhancedWebAccessibility\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"canRequestFilterKeyEvents\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"description\",\n          \"format\": []\n        }\n      ]\n    },\n    \"PrintService\": {\n      \"name\": \"PrintService\",\n      \"attrs\": [\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"addPrintersActivity\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"advancedPrintOptionsActivity\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"vendor\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"HostApduService\": {\n      \"name\": \"HostApduService\",\n      \"attrs\": [\n        {\n          \"name\": \"description\",\n          \"format\": []\n        },\n        {\n          \"name\": \"requireDeviceUnlock\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"apduServiceBanner\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"OffHostApduService\": {\n      \"name\": \"OffHostApduService\",\n      \"attrs\": [\n        {\n          \"name\": \"description\",\n          \"format\": []\n        },\n        {\n          \"name\": \"apduServiceBanner\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AidGroup\": {\n      \"name\": \"AidGroup\",\n      \"attrs\": [\n        {\n          \"name\": \"description\",\n          \"format\": []\n        },\n        {\n          \"name\": \"category\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"AidFilter\": {\n      \"name\": \"AidFilter\",\n      \"attrs\": [\n        {\n          \"name\": \"name\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ActionMenuItemView\": {\n      \"name\": \"ActionMenuItemView\",\n      \"attrs\": [\n        {\n          \"name\": \"minWidth\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AbsListView\": {\n      \"name\": \"AbsListView\",\n      \"attrs\": [\n        {\n          \"name\": \"listSelector\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"drawSelectorOnTop\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"stackFromBottom\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"scrollingCache\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"textFilterEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"transcriptMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"disabled\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"normal\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"alwaysScroll\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"cacheColorHint\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"fastScrollEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"smoothScrollbar\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"choiceMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"singleChoice\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"multipleChoice\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"multipleChoiceModal\",\n              \"value\": \"3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"fastScrollAlwaysVisible\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"AbsSpinner\": {\n      \"name\": \"AbsSpinner\",\n      \"attrs\": [\n        {\n          \"name\": \"entries\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AnalogClock\": {\n      \"name\": \"AnalogClock\",\n      \"attrs\": [\n        {\n          \"name\": \"dial\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"hand_hour\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"hand_minute\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"Button\": {\n      \"name\": \"Button\",\n      \"attrs\": []\n    },\n    \"Chronometer\": {\n      \"name\": \"Chronometer\",\n      \"attrs\": [\n        {\n          \"name\": \"format\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"CompoundButton\": {\n      \"name\": \"CompoundButton\",\n      \"attrs\": [\n        {\n          \"name\": \"checked\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"button\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"CheckedTextView\": {\n      \"name\": \"CheckedTextView\",\n      \"attrs\": [\n        {\n          \"name\": \"checked\",\n          \"format\": []\n        },\n        {\n          \"name\": \"checkMark\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"EditText\": {\n      \"name\": \"EditText\",\n      \"attrs\": []\n    },\n    \"FrameLayout\": {\n      \"name\": \"FrameLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"foreground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"foregroundGravity\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"top\",\n              \"value\": \"0x30\"\n            },\n            {\n              \"name\": \"bottom\",\n              \"value\": \"0x50\"\n            },\n            {\n              \"name\": \"left\",\n              \"value\": \"0x03\"\n            },\n            {\n              \"name\": \"right\",\n              \"value\": \"0x05\"\n            },\n            {\n              \"name\": \"center_vertical\",\n              \"value\": \"0x10\"\n            },\n            {\n              \"name\": \"fill_vertical\",\n              \"value\": \"0x70\"\n            },\n            {\n              \"name\": \"center_horizontal\",\n              \"value\": \"0x01\"\n            },\n            {\n              \"name\": \"fill_horizontal\",\n              \"value\": \"0x07\"\n            },\n            {\n              \"name\": \"center\",\n              \"value\": \"0x11\"\n            },\n            {\n              \"name\": \"fill\",\n              \"value\": \"0x77\"\n            },\n            {\n              \"name\": \"clip_vertical\",\n              \"value\": \"0x80\"\n            },\n            {\n              \"name\": \"clip_horizontal\",\n              \"value\": \"0x08\"\n            }\n          ]\n        },\n        {\n          \"name\": \"foregroundInsidePadding\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"measureAllChildren\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"ExpandableListView\": {\n      \"name\": \"ExpandableListView\",\n      \"attrs\": [\n        {\n          \"name\": \"groupIndicator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"childIndicator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"indicatorLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"indicatorRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"childIndicatorLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"childIndicatorRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"childDivider\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"indicatorStart\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"indicatorEnd\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"childIndicatorStart\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"childIndicatorEnd\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"Gallery\": {\n      \"name\": \"Gallery\",\n      \"attrs\": [\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"animationDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"spacing\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"unselectedAlpha\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"GridView\": {\n      \"name\": \"GridView\",\n      \"attrs\": [\n        {\n          \"name\": \"horizontalSpacing\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"verticalSpacing\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"stretchMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"spacingWidth\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"columnWidth\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"spacingWidthUniform\",\n              \"value\": \"3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"columnWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"numColumns\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"auto_fit\",\n              \"value\": \"-1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ImageSwitcher\": {\n      \"name\": \"ImageSwitcher\",\n      \"attrs\": []\n    },\n    \"ImageView\": {\n      \"name\": \"ImageView\",\n      \"attrs\": [\n        {\n          \"name\": \"src\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"scaleType\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"matrix\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"fitXY\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"fitStart\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"fitCenter\",\n              \"value\": \"3\"\n            },\n            {\n              \"name\": \"fitEnd\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"center\",\n              \"value\": \"5\"\n            },\n            {\n              \"name\": \"centerCrop\",\n              \"value\": \"6\"\n            },\n            {\n              \"name\": \"centerInside\",\n              \"value\": \"7\"\n            }\n          ]\n        },\n        {\n          \"name\": \"adjustViewBounds\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"maxWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"maxHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"tint\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"baselineAlignBottom\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"cropToPadding\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"baseline\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"drawableAlpha\",\n          \"format\": [\n            \"integer\"\n          ]\n        }\n      ]\n    },\n    \"ToggleButton\": {\n      \"name\": \"ToggleButton\",\n      \"attrs\": [\n        {\n          \"name\": \"textOn\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"textOff\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"disabledAlpha\",\n          \"format\": []\n        }\n      ]\n    },\n    \"RelativeLayout\": {\n      \"name\": \"RelativeLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"ignoreGravity\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"LinearLayout\": {\n      \"name\": \"LinearLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"baselineAligned\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"baselineAlignedChildIndex\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"weightSum\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"measureWithLargestChild\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"divider\",\n          \"format\": []\n        },\n        {\n          \"name\": \"showDividers\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"beginning\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"middle\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"end\",\n              \"value\": \"4\"\n            }\n          ]\n        },\n        {\n          \"name\": \"dividerPadding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"GridLayout\": {\n      \"name\": \"GridLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        },\n        {\n          \"name\": \"rowCount\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"columnCount\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"useDefaultMargins\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"alignmentMode\",\n          \"format\": []\n        },\n        {\n          \"name\": \"rowOrderPreserved\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"columnOrderPreserved\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"ListView\": {\n      \"name\": \"ListView\",\n      \"attrs\": [\n        {\n          \"name\": \"entries\",\n          \"format\": []\n        },\n        {\n          \"name\": \"divider\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"dividerHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"headerDividersEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"footerDividersEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"overScrollHeader\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"overScrollFooter\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        }\n      ]\n    },\n    \"PreferenceFrameLayout\": {\n      \"name\": \"PreferenceFrameLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"borderTop\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"borderBottom\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"borderLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"borderRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"PreferenceFrameLayout_Layout\": {\n      \"name\": \"PreferenceFrameLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_removeBorders\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"MenuView\": {\n      \"name\": \"MenuView\",\n      \"attrs\": [\n        {\n          \"name\": \"itemTextAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"horizontalDivider\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"verticalDivider\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"headerBackground\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"itemBackground\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"windowAnimationStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"itemIconDisabledAlpha\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"preserveIconSpacing\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"IconMenuView\": {\n      \"name\": \"IconMenuView\",\n      \"attrs\": [\n        {\n          \"name\": \"rowHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"maxRows\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"maxItemsPerRow\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"maxItems\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"moreIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"ProgressBar\": {\n      \"name\": \"ProgressBar\",\n      \"attrs\": [\n        {\n          \"name\": \"max\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"progress\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"secondaryProgress\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"indeterminate\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"indeterminateOnly\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"indeterminateDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"indeterminateDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"indeterminateBehavior\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"repeat\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"cycle\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"minWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"maxWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"minHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"maxHeight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"interpolator\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"animationResolution\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"mirrorForRtl\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"SeekBar\": {\n      \"name\": \"SeekBar\",\n      \"attrs\": [\n        {\n          \"name\": \"thumb\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"thumbOffset\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"StackView\": {\n      \"name\": \"StackView\",\n      \"attrs\": [\n        {\n          \"name\": \"resOutColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"clickColor\",\n          \"format\": [\n            \"color\"\n          ]\n        }\n      ]\n    },\n    \"RatingBar\": {\n      \"name\": \"RatingBar\",\n      \"attrs\": [\n        {\n          \"name\": \"numStars\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"rating\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"stepSize\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"isIndicator\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"RadioGroup\": {\n      \"name\": \"RadioGroup\",\n      \"attrs\": [\n        {\n          \"name\": \"checkedButton\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        }\n      ]\n    },\n    \"TableLayout\": {\n      \"name\": \"TableLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"stretchColumns\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"shrinkColumns\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"collapseColumns\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"TableRow\": {\n      \"name\": \"TableRow\",\n      \"attrs\": []\n    },\n    \"TableRow_Cell\": {\n      \"name\": \"TableRow_Cell\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_column\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"layout_span\",\n          \"format\": [\n            \"integer\"\n          ]\n        }\n      ]\n    },\n    \"TabWidget\": {\n      \"name\": \"TabWidget\",\n      \"attrs\": [\n        {\n          \"name\": \"divider\",\n          \"format\": []\n        },\n        {\n          \"name\": \"tabStripEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"tabStripLeft\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"tabStripRight\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"tabLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"TextAppearance\": {\n      \"name\": \"TextAppearance\",\n      \"attrs\": [\n        {\n          \"name\": \"textColor\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textSize\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"typeface\",\n          \"format\": []\n        },\n        {\n          \"name\": \"fontFamily\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColorHighlight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColorHint\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColorLink\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textAllCaps\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"shadowColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"shadowDx\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"shadowDy\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"shadowRadius\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"TextClock\": {\n      \"name\": \"TextClock\",\n      \"attrs\": [\n        {\n          \"name\": \"format12Hour\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"format24Hour\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"timeZone\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"TextSwitcher\": {\n      \"name\": \"TextSwitcher\",\n      \"attrs\": []\n    },\n    \"TextView\": {\n      \"name\": \"TextView\",\n      \"attrs\": [\n        {\n          \"name\": \"bufferType\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"normal\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"spannable\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"editable\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"text\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"hint\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"textColor\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColorHighlight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColorHint\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textAppearance\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textSize\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textScaleX\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"typeface\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"fontFamily\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textColorLink\",\n          \"format\": []\n        },\n        {\n          \"name\": \"cursorVisible\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"maxLines\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"maxHeight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"lines\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"height\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"minLines\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"minHeight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"maxEms\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"maxWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"ems\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"width\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"minEms\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"minWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"scrollHorizontally\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"password\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"singleLine\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"enabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"selectAllOnFocus\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"includeFontPadding\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"maxLength\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"shadowColor\",\n          \"format\": []\n        },\n        {\n          \"name\": \"shadowDx\",\n          \"format\": []\n        },\n        {\n          \"name\": \"shadowDy\",\n          \"format\": []\n        },\n        {\n          \"name\": \"shadowRadius\",\n          \"format\": []\n        },\n        {\n          \"name\": \"autoLink\",\n          \"format\": []\n        },\n        {\n          \"name\": \"linksClickable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"numeric\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"integer\",\n              \"value\": \"0x01\"\n            },\n            {\n              \"name\": \"signed\",\n              \"value\": \"0x03\"\n            },\n            {\n              \"name\": \"decimal\",\n              \"value\": \"0x05\"\n            }\n          ]\n        },\n        {\n          \"name\": \"digits\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"phoneNumber\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"inputMethod\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"capitalize\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"sentences\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"words\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"characters\",\n              \"value\": \"3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"autoText\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"editable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"freezesText\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"ellipsize\",\n          \"format\": []\n        },\n        {\n          \"name\": \"drawableTop\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"drawableBottom\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"drawableLeft\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"drawableRight\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"drawableStart\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"drawableEnd\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"drawablePadding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"lineSpacingExtra\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"lineSpacingMultiplier\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"marqueeRepeatLimit\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"marquee_forever\",\n              \"value\": \"-1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"inputType\",\n          \"format\": []\n        },\n        {\n          \"name\": \"imeOptions\",\n          \"format\": []\n        },\n        {\n          \"name\": \"privateImeOptions\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"imeActionLabel\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"imeActionId\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"editorExtras\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textSelectHandleLeft\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textSelectHandleRight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textSelectHandle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textEditPasteWindowLayout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textEditNoPasteWindowLayout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textEditSidePasteWindowLayout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textEditSideNoPasteWindowLayout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textEditSuggestionItemLayout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textCursorDrawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textIsSelectable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textAllCaps\",\n          \"format\": []\n        }\n      ]\n    },\n    \"TextViewAppearance\": {\n      \"name\": \"TextViewAppearance\",\n      \"attrs\": [\n        {\n          \"name\": \"textAppearance\",\n          \"format\": []\n        }\n      ]\n    },\n    \"SelectionModeDrawables\": {\n      \"name\": \"SelectionModeDrawables\",\n      \"attrs\": [\n        {\n          \"name\": \"actionModeSelectAllDrawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"actionModeCutDrawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"actionModeCopyDrawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"actionModePasteDrawable\",\n          \"format\": []\n        }\n      ]\n    },\n    \"SuggestionSpan\": {\n      \"name\": \"SuggestionSpan\",\n      \"attrs\": [\n        {\n          \"name\": \"textUnderlineColor\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textUnderlineThickness\",\n          \"format\": []\n        }\n      ]\n    },\n    \"InputExtras\": {\n      \"name\": \"InputExtras\",\n      \"attrs\": []\n    },\n    \"AutoCompleteTextView\": {\n      \"name\": \"AutoCompleteTextView\",\n      \"attrs\": [\n        {\n          \"name\": \"completionHint\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"completionHintView\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"completionThreshold\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"dropDownSelector\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"dropDownVerticalOffset\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"dropDownHorizontalOffset\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"dropDownAnchor\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dropDownWidth\",\n          \"format\": [\n            \"dimension\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"fill_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"match_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"wrap_content\",\n              \"value\": \"-2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"dropDownHeight\",\n          \"format\": [\n            \"dimension\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"fill_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"match_parent\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"wrap_content\",\n              \"value\": \"-2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"inputType\",\n          \"format\": []\n        }\n      ]\n    },\n    \"PopupWindow\": {\n      \"name\": \"PopupWindow\",\n      \"attrs\": [\n        {\n          \"name\": \"popupBackground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"popupAnimationStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"ViewAnimator\": {\n      \"name\": \"ViewAnimator\",\n      \"attrs\": [\n        {\n          \"name\": \"inAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"outAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"animateFirstView\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"ViewFlipper\": {\n      \"name\": \"ViewFlipper\",\n      \"attrs\": [\n        {\n          \"name\": \"flipInterval\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"autoStart\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"AdapterViewAnimator\": {\n      \"name\": \"AdapterViewAnimator\",\n      \"attrs\": [\n        {\n          \"name\": \"inAnimation\",\n          \"format\": []\n        },\n        {\n          \"name\": \"outAnimation\",\n          \"format\": []\n        },\n        {\n          \"name\": \"loopViews\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"animateFirstView\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AdapterViewFlipper\": {\n      \"name\": \"AdapterViewFlipper\",\n      \"attrs\": [\n        {\n          \"name\": \"flipInterval\",\n          \"format\": []\n        },\n        {\n          \"name\": \"autoStart\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ViewSwitcher\": {\n      \"name\": \"ViewSwitcher\",\n      \"attrs\": []\n    },\n    \"ScrollView\": {\n      \"name\": \"ScrollView\",\n      \"attrs\": [\n        {\n          \"name\": \"fillViewport\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"HorizontalScrollView\": {\n      \"name\": \"HorizontalScrollView\",\n      \"attrs\": [\n        {\n          \"name\": \"fillViewport\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Spinner\": {\n      \"name\": \"Spinner\",\n      \"attrs\": [\n        {\n          \"name\": \"prompt\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"spinnerMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"dialog\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"dropdown\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"dropDownSelector\",\n          \"format\": []\n        },\n        {\n          \"name\": \"popupBackground\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dropDownVerticalOffset\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dropDownHorizontalOffset\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dropDownWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"popupPromptView\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"disableChildrenWhenDisabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"DatePicker\": {\n      \"name\": \"DatePicker\",\n      \"attrs\": [\n        {\n          \"name\": \"startYear\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"endYear\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"spinnersShown\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"calendarViewShown\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"minDate\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"maxDate\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"internalLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"TwoLineListItem\": {\n      \"name\": \"TwoLineListItem\",\n      \"attrs\": [\n        {\n          \"name\": \"mode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"oneLine\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"collapsing\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"twoLine\",\n              \"value\": \"3\"\n            }\n          ]\n        }\n      ]\n    },\n    \"SlidingDrawer\": {\n      \"name\": \"SlidingDrawer\",\n      \"attrs\": [\n        {\n          \"name\": \"handle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"content\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        },\n        {\n          \"name\": \"bottomOffset\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"topOffset\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"allowSingleTap\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"animateOnClick\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"GestureOverlayView\": {\n      \"name\": \"GestureOverlayView\",\n      \"attrs\": [\n        {\n          \"name\": \"gestureStrokeWidth\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"gestureColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"uncertainGestureColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"fadeOffset\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"fadeDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"gestureStrokeType\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"single\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"multiple\",\n              \"value\": \"1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"gestureStrokeLengthThreshold\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"gestureStrokeSquarenessThreshold\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"gestureStrokeAngleThreshold\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"eventsInterceptionEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"fadeEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        }\n      ]\n    },\n    \"QuickContactBadge\": {\n      \"name\": \"QuickContactBadge\",\n      \"attrs\": [\n        {\n          \"name\": \"quickContactWindowSize\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"modeSmall\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"modeMedium\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"modeLarge\",\n              \"value\": \"3\"\n            }\n          ]\n        }\n      ]\n    },\n    \"AbsoluteLayout_Layout\": {\n      \"name\": \"AbsoluteLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_x\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_y\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"LinearLayout_Layout\": {\n      \"name\": \"LinearLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_width\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_height\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_weight\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"layout_gravity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"GridLayout_Layout\": {\n      \"name\": \"GridLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_row\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"layout_rowSpan\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"layout_column\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_columnSpan\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"layout_gravity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"FrameLayout_Layout\": {\n      \"name\": \"FrameLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_gravity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"RelativeLayout_Layout\": {\n      \"name\": \"RelativeLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_toLeftOf\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_toRightOf\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_above\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_below\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignBaseline\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignLeft\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignTop\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignRight\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignBottom\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignParentLeft\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignParentTop\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignParentRight\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignParentBottom\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_centerInParent\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_centerHorizontal\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_centerVertical\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignWithParentIfMissing\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_toStartOf\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_toEndOf\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignStart\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignEnd\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignParentStart\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"layout_alignParentEnd\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"VerticalSlider_Layout\": {\n      \"name\": \"VerticalSlider_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_scale\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"RotarySelector\": {\n      \"name\": \"RotarySelector\",\n      \"attrs\": [\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        }\n      ]\n    },\n    \"WeightedLinearLayout\": {\n      \"name\": \"WeightedLinearLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"majorWeightMin\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"minorWeightMin\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"majorWeightMax\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"minorWeightMax\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"CalendarView\": {\n      \"name\": \"CalendarView\",\n      \"attrs\": [\n        {\n          \"name\": \"firstDayOfWeek\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"showWeekNumber\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"minDate\",\n          \"format\": []\n        },\n        {\n          \"name\": \"maxDate\",\n          \"format\": []\n        },\n        {\n          \"name\": \"shownWeekCount\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"selectedWeekBackgroundColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"focusedMonthDateColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"unfocusedMonthDateColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"weekNumberColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"weekSeparatorLineColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"selectedDateVerticalBar\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"weekDayTextAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"dateTextAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"NumberPicker\": {\n      \"name\": \"NumberPicker\",\n      \"attrs\": [\n        {\n          \"name\": \"solidColor\",\n          \"format\": [\n            \"color\",\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"selectionDivider\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"selectionDividerHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"selectionDividersDistance\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"internalMinHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"internalMaxHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"internalMinWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"internalMaxWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"internalLayout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"virtualButtonPressedDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"TimePicker\": {\n      \"name\": \"TimePicker\",\n      \"attrs\": [\n        {\n          \"name\": \"internalLayout\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Drawable\": {\n      \"name\": \"Drawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"autoMirrored\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"StateListDrawable\": {\n      \"name\": \"StateListDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"variablePadding\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"constantSize\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"dither\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"enterFadeDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"exitFadeDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"autoMirrored\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AnimationDrawable\": {\n      \"name\": \"AnimationDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"variablePadding\",\n          \"format\": []\n        },\n        {\n          \"name\": \"oneshot\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"AnimationDrawableItem\": {\n      \"name\": \"AnimationDrawableItem\",\n      \"attrs\": [\n        {\n          \"name\": \"duration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"GradientDrawable\": {\n      \"name\": \"GradientDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dither\",\n          \"format\": []\n        },\n        {\n          \"name\": \"shape\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"rectangle\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"oval\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"line\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"ring\",\n              \"value\": \"3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"innerRadiusRatio\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"thicknessRatio\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"innerRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"thickness\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"useLevel\",\n          \"format\": []\n        }\n      ]\n    },\n    \"GradientDrawableSize\": {\n      \"name\": \"GradientDrawableSize\",\n      \"attrs\": [\n        {\n          \"name\": \"width\",\n          \"format\": []\n        },\n        {\n          \"name\": \"height\",\n          \"format\": []\n        }\n      ]\n    },\n    \"GradientDrawableGradient\": {\n      \"name\": \"GradientDrawableGradient\",\n      \"attrs\": [\n        {\n          \"name\": \"startColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"centerColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"endColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"useLevel\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"angle\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"type\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"linear\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"radial\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"sweep\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"centerX\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"centerY\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"gradientRadius\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        }\n      ]\n    },\n    \"GradientDrawableSolid\": {\n      \"name\": \"GradientDrawableSolid\",\n      \"attrs\": [\n        {\n          \"name\": \"color\",\n          \"format\": [\n            \"color\"\n          ]\n        }\n      ]\n    },\n    \"GradientDrawableStroke\": {\n      \"name\": \"GradientDrawableStroke\",\n      \"attrs\": [\n        {\n          \"name\": \"width\",\n          \"format\": []\n        },\n        {\n          \"name\": \"color\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dashWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"dashGap\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"DrawableCorners\": {\n      \"name\": \"DrawableCorners\",\n      \"attrs\": [\n        {\n          \"name\": \"radius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"topLeftRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"topRightRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"bottomLeftRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"bottomRightRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"GradientDrawablePadding\": {\n      \"name\": \"GradientDrawablePadding\",\n      \"attrs\": [\n        {\n          \"name\": \"left\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"top\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"right\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"bottom\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"LayerDrawable\": {\n      \"name\": \"LayerDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"opacity\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"opaque\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"transparent\",\n              \"value\": \"-2\"\n            },\n            {\n              \"name\": \"translucent\",\n              \"value\": \"-3\"\n            }\n          ]\n        },\n        {\n          \"name\": \"autoMirrored\",\n          \"format\": []\n        }\n      ]\n    },\n    \"LayerDrawableItem\": {\n      \"name\": \"LayerDrawableItem\",\n      \"attrs\": [\n        {\n          \"name\": \"left\",\n          \"format\": []\n        },\n        {\n          \"name\": \"top\",\n          \"format\": []\n        },\n        {\n          \"name\": \"right\",\n          \"format\": []\n        },\n        {\n          \"name\": \"bottom\",\n          \"format\": []\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"id\",\n          \"format\": []\n        }\n      ]\n    },\n    \"LevelListDrawableItem\": {\n      \"name\": \"LevelListDrawableItem\",\n      \"attrs\": [\n        {\n          \"name\": \"minLevel\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"maxLevel\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        }\n      ]\n    },\n    \"RotateDrawable\": {\n      \"name\": \"RotateDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"fromDegrees\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"toDegrees\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"pivotX\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"pivotY\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AnimatedRotateDrawable\": {\n      \"name\": \"AnimatedRotateDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"frameDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"framesCount\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"pivotX\",\n          \"format\": []\n        },\n        {\n          \"name\": \"pivotY\",\n          \"format\": []\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        }\n      ]\n    },\n    \"InsetDrawable\": {\n      \"name\": \"InsetDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"insetLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"insetRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"insetTop\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"insetBottom\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"BitmapDrawable\": {\n      \"name\": \"BitmapDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"src\",\n          \"format\": []\n        },\n        {\n          \"name\": \"antialias\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"filter\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"dither\",\n          \"format\": []\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"tileMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"disabled\",\n              \"value\": \"-1\"\n            },\n            {\n              \"name\": \"clamp\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"repeat\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"mirror\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"mipMap\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"autoMirrored\",\n          \"format\": []\n        }\n      ]\n    },\n    \"NinePatchDrawable\": {\n      \"name\": \"NinePatchDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"src\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dither\",\n          \"format\": []\n        },\n        {\n          \"name\": \"autoMirrored\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ColorDrawable\": {\n      \"name\": \"ColorDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"color\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ScaleDrawable\": {\n      \"name\": \"ScaleDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"scaleWidth\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"scaleHeight\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"scaleGravity\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"top\",\n              \"value\": \"0x30\"\n            },\n            {\n              \"name\": \"bottom\",\n              \"value\": \"0x50\"\n            },\n            {\n              \"name\": \"left\",\n              \"value\": \"0x03\"\n            },\n            {\n              \"name\": \"right\",\n              \"value\": \"0x05\"\n            },\n            {\n              \"name\": \"center_vertical\",\n              \"value\": \"0x10\"\n            },\n            {\n              \"name\": \"fill_vertical\",\n              \"value\": \"0x70\"\n            },\n            {\n              \"name\": \"center_horizontal\",\n              \"value\": \"0x01\"\n            },\n            {\n              \"name\": \"fill_horizontal\",\n              \"value\": \"0x07\"\n            },\n            {\n              \"name\": \"center\",\n              \"value\": \"0x11\"\n            },\n            {\n              \"name\": \"fill\",\n              \"value\": \"0x77\"\n            },\n            {\n              \"name\": \"clip_vertical\",\n              \"value\": \"0x80\"\n            },\n            {\n              \"name\": \"clip_horizontal\",\n              \"value\": \"0x08\"\n            },\n            {\n              \"name\": \"start\",\n              \"value\": \"0x00800003\"\n            },\n            {\n              \"name\": \"end\",\n              \"value\": \"0x00800005\"\n            }\n          ]\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"useIntrinsicSizeAsMinimum\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"ClipDrawable\": {\n      \"name\": \"ClipDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"clipOrientation\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"horizontal\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"vertical\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"drawable\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ShapeDrawablePadding\": {\n      \"name\": \"ShapeDrawablePadding\",\n      \"attrs\": [\n        {\n          \"name\": \"left\",\n          \"format\": []\n        },\n        {\n          \"name\": \"top\",\n          \"format\": []\n        },\n        {\n          \"name\": \"right\",\n          \"format\": []\n        },\n        {\n          \"name\": \"bottom\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ShapeDrawable\": {\n      \"name\": \"ShapeDrawable\",\n      \"attrs\": [\n        {\n          \"name\": \"color\",\n          \"format\": []\n        },\n        {\n          \"name\": \"width\",\n          \"format\": []\n        },\n        {\n          \"name\": \"height\",\n          \"format\": []\n        },\n        {\n          \"name\": \"dither\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Animation\": {\n      \"name\": \"Animation\",\n      \"attrs\": [\n        {\n          \"name\": \"interpolator\",\n          \"format\": []\n        },\n        {\n          \"name\": \"fillEnabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"fillBefore\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"fillAfter\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"duration\",\n          \"format\": []\n        },\n        {\n          \"name\": \"startOffset\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"repeatCount\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"infinite\",\n              \"value\": \"-1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"repeatMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"restart\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"reverse\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"zAdjustment\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"normal\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"top\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"bottom\",\n              \"value\": \"-1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"background\",\n          \"format\": []\n        },\n        {\n          \"name\": \"detachWallpaper\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"AnimationSet\": {\n      \"name\": \"AnimationSet\",\n      \"attrs\": [\n        {\n          \"name\": \"shareInterpolator\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"fillBefore\",\n          \"format\": []\n        },\n        {\n          \"name\": \"fillAfter\",\n          \"format\": []\n        },\n        {\n          \"name\": \"duration\",\n          \"format\": []\n        },\n        {\n          \"name\": \"startOffset\",\n          \"format\": []\n        },\n        {\n          \"name\": \"repeatMode\",\n          \"format\": []\n        }\n      ]\n    },\n    \"RotateAnimation\": {\n      \"name\": \"RotateAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"fromDegrees\",\n          \"format\": []\n        },\n        {\n          \"name\": \"toDegrees\",\n          \"format\": []\n        },\n        {\n          \"name\": \"pivotX\",\n          \"format\": []\n        },\n        {\n          \"name\": \"pivotY\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ScaleAnimation\": {\n      \"name\": \"ScaleAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"fromXScale\",\n          \"format\": [\n            \"float\",\n            \"fraction\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"toXScale\",\n          \"format\": [\n            \"float\",\n            \"fraction\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"fromYScale\",\n          \"format\": [\n            \"float\",\n            \"fraction\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"toYScale\",\n          \"format\": [\n            \"float\",\n            \"fraction\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"pivotX\",\n          \"format\": []\n        },\n        {\n          \"name\": \"pivotY\",\n          \"format\": []\n        }\n      ]\n    },\n    \"TranslateAnimation\": {\n      \"name\": \"TranslateAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"fromXDelta\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"toXDelta\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"fromYDelta\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"toYDelta\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        }\n      ]\n    },\n    \"AlphaAnimation\": {\n      \"name\": \"AlphaAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"fromAlpha\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"toAlpha\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"LayoutAnimation\": {\n      \"name\": \"LayoutAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"delay\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"animation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"animationOrder\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"normal\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"reverse\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"random\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"interpolator\",\n          \"format\": []\n        }\n      ]\n    },\n    \"GridLayoutAnimation\": {\n      \"name\": \"GridLayoutAnimation\",\n      \"attrs\": [\n        {\n          \"name\": \"columnDelay\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"rowDelay\",\n          \"format\": [\n            \"float\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"direction\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"left_to_right\",\n              \"value\": \"0x0\"\n            },\n            {\n              \"name\": \"right_to_left\",\n              \"value\": \"0x1\"\n            },\n            {\n              \"name\": \"top_to_bottom\",\n              \"value\": \"0x0\"\n            },\n            {\n              \"name\": \"bottom_to_top\",\n              \"value\": \"0x2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"directionPriority\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"column\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"row\",\n              \"value\": \"2\"\n            }\n          ]\n        }\n      ]\n    },\n    \"AccelerateInterpolator\": {\n      \"name\": \"AccelerateInterpolator\",\n      \"attrs\": [\n        {\n          \"name\": \"factor\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"DecelerateInterpolator\": {\n      \"name\": \"DecelerateInterpolator\",\n      \"attrs\": [\n        {\n          \"name\": \"factor\",\n          \"format\": []\n        }\n      ]\n    },\n    \"CycleInterpolator\": {\n      \"name\": \"CycleInterpolator\",\n      \"attrs\": [\n        {\n          \"name\": \"cycles\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"AnticipateInterpolator\": {\n      \"name\": \"AnticipateInterpolator\",\n      \"attrs\": [\n        {\n          \"name\": \"tension\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"OvershootInterpolator\": {\n      \"name\": \"OvershootInterpolator\",\n      \"attrs\": [\n        {\n          \"name\": \"tension\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AnticipateOvershootInterpolator\": {\n      \"name\": \"AnticipateOvershootInterpolator\",\n      \"attrs\": [\n        {\n          \"name\": \"tension\",\n          \"format\": []\n        },\n        {\n          \"name\": \"extraTension\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"Transition\": {\n      \"name\": \"Transition\",\n      \"attrs\": [\n        {\n          \"name\": \"duration\",\n          \"format\": []\n        },\n        {\n          \"name\": \"startDelay\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"interpolator\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Fade\": {\n      \"name\": \"Fade\",\n      \"attrs\": [\n        {\n          \"name\": \"fadingMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"fade_in\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"fade_out\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"fade_in_out\",\n              \"value\": \"3\"\n            }\n          ]\n        }\n      ]\n    },\n    \"TransitionTarget\": {\n      \"name\": \"TransitionTarget\",\n      \"attrs\": [\n        {\n          \"name\": \"targetId\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"TransitionSet\": {\n      \"name\": \"TransitionSet\",\n      \"attrs\": [\n        {\n          \"name\": \"transitionOrdering\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"together\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"sequential\",\n              \"value\": \"1\"\n            }\n          ]\n        }\n      ]\n    },\n    \"TransitionManager\": {\n      \"name\": \"TransitionManager\",\n      \"attrs\": [\n        {\n          \"name\": \"transition\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"fromScene\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"toScene\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"Animator\": {\n      \"name\": \"Animator\",\n      \"attrs\": [\n        {\n          \"name\": \"interpolator\",\n          \"format\": []\n        },\n        {\n          \"name\": \"duration\",\n          \"format\": []\n        },\n        {\n          \"name\": \"startOffset\",\n          \"format\": []\n        },\n        {\n          \"name\": \"repeatCount\",\n          \"format\": []\n        },\n        {\n          \"name\": \"repeatMode\",\n          \"format\": []\n        },\n        {\n          \"name\": \"valueFrom\",\n          \"format\": [\n            \"float\",\n            \"integer\",\n            \"color\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"valueTo\",\n          \"format\": [\n            \"float\",\n            \"integer\",\n            \"color\",\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"valueType\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"floatType\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"intType\",\n              \"value\": \"1\"\n            }\n          ]\n        }\n      ]\n    },\n    \"PropertyAnimator\": {\n      \"name\": \"PropertyAnimator\",\n      \"attrs\": [\n        {\n          \"name\": \"propertyName\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"AnimatorSet\": {\n      \"name\": \"AnimatorSet\",\n      \"attrs\": [\n        {\n          \"name\": \"ordering\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"together\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"sequentially\",\n              \"value\": \"1\"\n            }\n          ]\n        }\n      ]\n    },\n    \"DrawableStates\": {\n      \"name\": \"DrawableStates\",\n      \"attrs\": [\n        {\n          \"name\": \"state_focused\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_window_focused\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_enabled\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_checkable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_checked\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_selected\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_pressed\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_activated\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_active\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_single\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_first\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_middle\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_last\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_accelerated\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_hovered\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_drag_can_accept\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_drag_hovered\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_accessibility_focused\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"ViewDrawableStates\": {\n      \"name\": \"ViewDrawableStates\",\n      \"attrs\": [\n        {\n          \"name\": \"state_pressed\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_focused\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_selected\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_window_focused\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_enabled\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_activated\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_accelerated\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_hovered\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_drag_can_accept\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_drag_hovered\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MenuItemCheckedState\": {\n      \"name\": \"MenuItemCheckedState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_checkable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_checked\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MenuItemUncheckedState\": {\n      \"name\": \"MenuItemUncheckedState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_checkable\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MenuItemCheckedFocusedState\": {\n      \"name\": \"MenuItemCheckedFocusedState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_checkable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_checked\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_focused\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MenuItemUncheckedFocusedState\": {\n      \"name\": \"MenuItemUncheckedFocusedState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_checkable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"state_focused\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ExpandableListChildIndicatorState\": {\n      \"name\": \"ExpandableListChildIndicatorState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_last\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ExpandableListGroupIndicatorState\": {\n      \"name\": \"ExpandableListGroupIndicatorState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_expanded\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"state_empty\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"PopupWindowBackgroundState\": {\n      \"name\": \"PopupWindowBackgroundState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_above_anchor\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"TextViewMultiLineBackgroundState\": {\n      \"name\": \"TextViewMultiLineBackgroundState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_multiline\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"Searchable\": {\n      \"name\": \"Searchable\",\n      \"attrs\": [\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"label\",\n          \"format\": []\n        },\n        {\n          \"name\": \"hint\",\n          \"format\": []\n        },\n        {\n          \"name\": \"searchButtonText\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"inputType\",\n          \"format\": []\n        },\n        {\n          \"name\": \"imeOptions\",\n          \"format\": []\n        },\n        {\n          \"name\": \"searchMode\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"showSearchLabelAsBadge\",\n              \"value\": \"0x04\"\n            },\n            {\n              \"name\": \"showSearchIconAsBadge\",\n              \"value\": \"0x08\"\n            },\n            {\n              \"name\": \"queryRewriteFromData\",\n              \"value\": \"0x10\"\n            },\n            {\n              \"name\": \"queryRewriteFromText\",\n              \"value\": \"0x20\"\n            }\n          ]\n        },\n        {\n          \"name\": \"voiceSearchMode\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"showVoiceSearchButton\",\n              \"value\": \"0x01\"\n            },\n            {\n              \"name\": \"launchWebSearch\",\n              \"value\": \"0x02\"\n            },\n            {\n              \"name\": \"launchRecognizer\",\n              \"value\": \"0x04\"\n            }\n          ]\n        },\n        {\n          \"name\": \"voiceLanguageModel\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"voicePromptText\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"voiceLanguage\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"voiceMaxResults\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"searchSuggestAuthority\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"searchSuggestPath\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"searchSuggestSelection\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"searchSuggestIntentAction\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"searchSuggestIntentData\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"searchSuggestThreshold\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"includeInGlobalSearch\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"queryAfterZeroResults\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"searchSettingsDescription\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"autoUrlDetect\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"SearchableActionKey\": {\n      \"name\": \"SearchableActionKey\",\n      \"attrs\": [\n        {\n          \"name\": \"keycode\",\n          \"format\": []\n        },\n        {\n          \"name\": \"queryActionMsg\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"suggestActionMsg\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"suggestActionMsgColumn\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"MapView\": {\n      \"name\": \"MapView\",\n      \"attrs\": [\n        {\n          \"name\": \"apiKey\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"Menu\": {\n      \"name\": \"Menu\",\n      \"attrs\": []\n    },\n    \"MenuGroup\": {\n      \"name\": \"MenuGroup\",\n      \"attrs\": [\n        {\n          \"name\": \"id\",\n          \"format\": []\n        },\n        {\n          \"name\": \"menuCategory\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"container\",\n              \"value\": \"0x00010000\"\n            },\n            {\n              \"name\": \"system\",\n              \"value\": \"0x00020000\"\n            },\n            {\n              \"name\": \"secondary\",\n              \"value\": \"0x00030000\"\n            },\n            {\n              \"name\": \"alternative\",\n              \"value\": \"0x00040000\"\n            }\n          ]\n        },\n        {\n          \"name\": \"orderInCategory\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"checkableBehavior\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"all\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"single\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"enabled\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MenuItem\": {\n      \"name\": \"MenuItem\",\n      \"attrs\": [\n        {\n          \"name\": \"id\",\n          \"format\": []\n        },\n        {\n          \"name\": \"menuCategory\",\n          \"format\": []\n        },\n        {\n          \"name\": \"orderInCategory\",\n          \"format\": []\n        },\n        {\n          \"name\": \"title\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"titleCondensed\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"alphabeticShortcut\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"numericShortcut\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"checkable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"checked\",\n          \"format\": []\n        },\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        },\n        {\n          \"name\": \"enabled\",\n          \"format\": []\n        },\n        {\n          \"name\": \"onClick\",\n          \"format\": []\n        },\n        {\n          \"name\": \"showAsAction\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"never\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"ifRoom\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"always\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"withText\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"collapseActionView\",\n              \"value\": \"8\"\n            }\n          ]\n        },\n        {\n          \"name\": \"actionLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"actionViewClass\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"actionProviderClass\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"ActivityChooserView\": {\n      \"name\": \"ActivityChooserView\",\n      \"attrs\": [\n        {\n          \"name\": \"initialActivityCount\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"expandActivityOverflowButtonDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"PreferenceGroup\": {\n      \"name\": \"PreferenceGroup\",\n      \"attrs\": [\n        {\n          \"name\": \"orderingFromXml\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"PreferenceHeader\": {\n      \"name\": \"PreferenceHeader\",\n      \"attrs\": [\n        {\n          \"name\": \"id\",\n          \"format\": []\n        },\n        {\n          \"name\": \"title\",\n          \"format\": []\n        },\n        {\n          \"name\": \"summary\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"breadCrumbTitle\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"breadCrumbShortTitle\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"fragment\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"Preference\": {\n      \"name\": \"Preference\",\n      \"attrs\": [\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"key\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"title\",\n          \"format\": []\n        },\n        {\n          \"name\": \"summary\",\n          \"format\": []\n        },\n        {\n          \"name\": \"order\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"fragment\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout\",\n          \"format\": []\n        },\n        {\n          \"name\": \"widgetLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"enabled\",\n          \"format\": []\n        },\n        {\n          \"name\": \"selectable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"dependency\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"persistent\",\n          \"format\": []\n        },\n        {\n          \"name\": \"defaultValue\",\n          \"format\": [\n            \"string\",\n            \"boolean\",\n            \"integer\",\n            \"reference\",\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"shouldDisableView\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"CheckBoxPreference\": {\n      \"name\": \"CheckBoxPreference\",\n      \"attrs\": [\n        {\n          \"name\": \"summaryOn\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"summaryOff\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"disableDependentsState\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"DialogPreference\": {\n      \"name\": \"DialogPreference\",\n      \"attrs\": [\n        {\n          \"name\": \"dialogTitle\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"dialogMessage\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"dialogIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"positiveButtonText\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"negativeButtonText\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"dialogLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"ListPreference\": {\n      \"name\": \"ListPreference\",\n      \"attrs\": [\n        {\n          \"name\": \"entries\",\n          \"format\": []\n        },\n        {\n          \"name\": \"entryValues\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"MultiSelectListPreference\": {\n      \"name\": \"MultiSelectListPreference\",\n      \"attrs\": [\n        {\n          \"name\": \"entries\",\n          \"format\": []\n        },\n        {\n          \"name\": \"entryValues\",\n          \"format\": []\n        }\n      ]\n    },\n    \"RingtonePreference\": {\n      \"name\": \"RingtonePreference\",\n      \"attrs\": [\n        {\n          \"name\": \"ringtoneType\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"ringtone\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"notification\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"alarm\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"all\",\n              \"value\": \"7\"\n            }\n          ]\n        },\n        {\n          \"name\": \"showDefault\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"showSilent\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"VolumePreference\": {\n      \"name\": \"VolumePreference\",\n      \"attrs\": [\n        {\n          \"name\": \"streamType\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"voice\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"system\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"ring\",\n              \"value\": \"2\"\n            },\n            {\n              \"name\": \"music\",\n              \"value\": \"3\"\n            },\n            {\n              \"name\": \"alarm\",\n              \"value\": \"4\"\n            }\n          ]\n        }\n      ]\n    },\n    \"InputMethodService\": {\n      \"name\": \"InputMethodService\",\n      \"attrs\": [\n        {\n          \"name\": \"imeFullscreenBackground\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"imeExtractEnterAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"imeExtractExitAnimation\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"KeyboardView\": {\n      \"name\": \"KeyboardView\",\n      \"attrs\": [\n        {\n          \"name\": \"keyboardViewStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"keyBackground\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"keyTextSize\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"labelTextSize\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"keyTextColor\",\n          \"format\": [\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"keyPreviewLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"keyPreviewOffset\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"keyPreviewHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"verticalCorrection\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"popupLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"shadowColor\",\n          \"format\": []\n        },\n        {\n          \"name\": \"shadowRadius\",\n          \"format\": []\n        }\n      ]\n    },\n    \"KeyboardViewPreviewState\": {\n      \"name\": \"KeyboardViewPreviewState\",\n      \"attrs\": [\n        {\n          \"name\": \"state_long_pressable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"Keyboard\": {\n      \"name\": \"Keyboard\",\n      \"attrs\": [\n        {\n          \"name\": \"keyWidth\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"keyHeight\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"horizontalGap\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        },\n        {\n          \"name\": \"verticalGap\",\n          \"format\": [\n            \"dimension\",\n            \"fraction\"\n          ]\n        }\n      ]\n    },\n    \"Keyboard_Row\": {\n      \"name\": \"Keyboard_Row\",\n      \"attrs\": [\n        {\n          \"name\": \"rowEdgeFlags\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"top\",\n              \"value\": \"4\"\n            },\n            {\n              \"name\": \"bottom\",\n              \"value\": \"8\"\n            }\n          ]\n        },\n        {\n          \"name\": \"keyboardMode\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"Keyboard_Key\": {\n      \"name\": \"Keyboard_Key\",\n      \"attrs\": [\n        {\n          \"name\": \"codes\",\n          \"format\": [\n            \"integer\",\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"popupKeyboard\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"popupCharacters\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"keyEdgeFlags\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"left\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"right\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"isModifier\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"isSticky\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"isRepeatable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"iconPreview\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"keyOutputText\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"keyLabel\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"keyIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"keyboardMode\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AppWidgetProviderInfo\": {\n      \"name\": \"AppWidgetProviderInfo\",\n      \"attrs\": [\n        {\n          \"name\": \"minWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"minHeight\",\n          \"format\": []\n        },\n        {\n          \"name\": \"minResizeWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"minResizeHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"updatePeriodMillis\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"initialLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"initialKeyguardLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"configure\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"previewImage\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"autoAdvanceViewId\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"resizeMode\",\n          \"format\": [\n            \"integer\",\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0x0\"\n            },\n            {\n              \"name\": \"horizontal\",\n              \"value\": \"0x1\"\n            },\n            {\n              \"name\": \"vertical\",\n              \"value\": \"0x2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"widgetCategory\",\n          \"format\": [\n            \"integer\",\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"home_screen\",\n              \"value\": \"0x1\"\n            },\n            {\n              \"name\": \"keyguard\",\n              \"value\": \"0x2\"\n            }\n          ]\n        }\n      ]\n    },\n    \"WallpaperPreviewInfo\": {\n      \"name\": \"WallpaperPreviewInfo\",\n      \"attrs\": [\n        {\n          \"name\": \"staticWallpaperPreview\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"Fragment\": {\n      \"name\": \"Fragment\",\n      \"attrs\": [\n        {\n          \"name\": \"name\",\n          \"format\": []\n        },\n        {\n          \"name\": \"id\",\n          \"format\": []\n        },\n        {\n          \"name\": \"tag\",\n          \"format\": []\n        }\n      ]\n    },\n    \"DeviceAdmin\": {\n      \"name\": \"DeviceAdmin\",\n      \"attrs\": [\n        {\n          \"name\": \"visible\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Wallpaper\": {\n      \"name\": \"Wallpaper\",\n      \"attrs\": [\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"thumbnail\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"author\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"description\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Dream\": {\n      \"name\": \"Dream\",\n      \"attrs\": [\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"AccountAuthenticator\": {\n      \"name\": \"AccountAuthenticator\",\n      \"attrs\": [\n        {\n          \"name\": \"accountType\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"label\",\n          \"format\": []\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"smallIcon\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"accountPreferences\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"customTokens\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"SyncAdapter\": {\n      \"name\": \"SyncAdapter\",\n      \"attrs\": [\n        {\n          \"name\": \"contentAuthority\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"accountType\",\n          \"format\": []\n        },\n        {\n          \"name\": \"userVisible\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"supportsUploading\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"allowParallelSyncs\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"isAlwaysSyncable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Icon\": {\n      \"name\": \"Icon\",\n      \"attrs\": [\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"mimeType\",\n          \"format\": []\n        }\n      ]\n    },\n    \"IconDefault\": {\n      \"name\": \"IconDefault\",\n      \"attrs\": [\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ContactsDataKind\": {\n      \"name\": \"ContactsDataKind\",\n      \"attrs\": [\n        {\n          \"name\": \"mimeType\",\n          \"format\": []\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"summaryColumn\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"detailColumn\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"detailSocialSummary\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"allContactsName\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"SlidingTab\": {\n      \"name\": \"SlidingTab\",\n      \"attrs\": [\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        }\n      ]\n    },\n    \"GlowPadView\": {\n      \"name\": \"GlowPadView\",\n      \"attrs\": [\n        {\n          \"name\": \"targetDrawables\",\n          \"format\": []\n        },\n        {\n          \"name\": \"targetDescriptions\",\n          \"format\": []\n        },\n        {\n          \"name\": \"directionDescriptions\",\n          \"format\": []\n        },\n        {\n          \"name\": \"handleDrawable\",\n          \"format\": []\n        },\n        {\n          \"name\": \"outerRingDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"pointDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"innerRadius\",\n          \"format\": []\n        },\n        {\n          \"name\": \"outerRadius\",\n          \"format\": []\n        },\n        {\n          \"name\": \"glowRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"vibrationDuration\",\n          \"format\": []\n        },\n        {\n          \"name\": \"snapMargin\",\n          \"format\": []\n        },\n        {\n          \"name\": \"feedbackCount\",\n          \"format\": []\n        },\n        {\n          \"name\": \"alwaysTrackFinger\",\n          \"format\": []\n        },\n        {\n          \"name\": \"firstItemOffset\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"magneticTargets\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"allowScaling\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"MultiWaveView\": {\n      \"name\": \"MultiWaveView\",\n      \"attrs\": [\n        {\n          \"name\": \"targetDrawables\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"targetDescriptions\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"directionDescriptions\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"handleDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"chevronDrawables\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"waveDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"outerRadius\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"vibrationDuration\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"snapMargin\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"feedbackCount\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"alwaysTrackFinger\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"SizeAdaptiveLayout_Layout\": {\n      \"name\": \"SizeAdaptiveLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_maxHeight\",\n          \"format\": [\n            \"dimension\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"unbounded\",\n              \"value\": \"-1\"\n            }\n          ]\n        },\n        {\n          \"name\": \"layout_minHeight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"SizeAdaptiveLayout\": {\n      \"name\": \"SizeAdaptiveLayout\",\n      \"attrs\": []\n    },\n    \"SettingInjectorService\": {\n      \"name\": \"SettingInjectorService\",\n      \"attrs\": [\n        {\n          \"name\": \"title\",\n          \"format\": []\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"LockPatternView\": {\n      \"name\": \"LockPatternView\",\n      \"attrs\": [\n        {\n          \"name\": \"aspect\",\n          \"format\": [\n            \"string\"\n          ]\n        }\n      ]\n    },\n    \"RecognitionService\": {\n      \"name\": \"RecognitionService\",\n      \"attrs\": [\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ActionBar\": {\n      \"name\": \"ActionBar\",\n      \"attrs\": [\n        {\n          \"name\": \"navigationMode\",\n          \"format\": [\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"normal\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"listMode\",\n              \"value\": \"1\"\n            },\n            {\n              \"name\": \"tabMode\",\n              \"value\": \"2\"\n            }\n          ]\n        },\n        {\n          \"name\": \"displayOptions\",\n          \"format\": [\n            \"flags\"\n          ],\n          \"flags\": [\n            {\n              \"name\": \"none\",\n              \"value\": \"0\"\n            },\n            {\n              \"name\": \"useLogo\",\n              \"value\": \"0x1\"\n            },\n            {\n              \"name\": \"showHome\",\n              \"value\": \"0x2\"\n            },\n            {\n              \"name\": \"homeAsUp\",\n              \"value\": \"0x4\"\n            },\n            {\n              \"name\": \"showTitle\",\n              \"value\": \"0x8\"\n            },\n            {\n              \"name\": \"showCustom\",\n              \"value\": \"0x10\"\n            },\n            {\n              \"name\": \"disableHome\",\n              \"value\": \"0x20\"\n            }\n          ]\n        },\n        {\n          \"name\": \"title\",\n          \"format\": []\n        },\n        {\n          \"name\": \"subtitle\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"titleTextStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"subtitleTextStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"icon\",\n          \"format\": []\n        },\n        {\n          \"name\": \"logo\",\n          \"format\": []\n        },\n        {\n          \"name\": \"divider\",\n          \"format\": []\n        },\n        {\n          \"name\": \"background\",\n          \"format\": []\n        },\n        {\n          \"name\": \"backgroundStacked\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"backgroundSplit\",\n          \"format\": [\n            \"reference\",\n            \"color\"\n          ]\n        },\n        {\n          \"name\": \"customNavigationLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"height\",\n          \"format\": []\n        },\n        {\n          \"name\": \"homeLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"indeterminateProgressStyle\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"progressBarPadding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"itemPadding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"ActionMode\": {\n      \"name\": \"ActionMode\",\n      \"attrs\": [\n        {\n          \"name\": \"titleTextStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"subtitleTextStyle\",\n          \"format\": []\n        },\n        {\n          \"name\": \"background\",\n          \"format\": []\n        },\n        {\n          \"name\": \"backgroundSplit\",\n          \"format\": []\n        },\n        {\n          \"name\": \"height\",\n          \"format\": []\n        }\n      ]\n    },\n    \"SearchView\": {\n      \"name\": \"SearchView\",\n      \"attrs\": [\n        {\n          \"name\": \"iconifiedByDefault\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"maxWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"queryHint\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"imeOptions\",\n          \"format\": []\n        },\n        {\n          \"name\": \"inputType\",\n          \"format\": []\n        }\n      ]\n    },\n    \"ActionBar_LayoutParams\": {\n      \"name\": \"ActionBar_LayoutParams\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_gravity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"Switch\": {\n      \"name\": \"Switch\",\n      \"attrs\": [\n        {\n          \"name\": \"thumb\",\n          \"format\": []\n        },\n        {\n          \"name\": \"track\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"textOn\",\n          \"format\": []\n        },\n        {\n          \"name\": \"textOff\",\n          \"format\": []\n        },\n        {\n          \"name\": \"thumbTextPadding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"switchTextAppearance\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"switchMinWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"switchPadding\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"Pointer\": {\n      \"name\": \"Pointer\",\n      \"attrs\": [\n        {\n          \"name\": \"pointerIconArrow\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"pointerIconSpotHover\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"pointerIconSpotTouch\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"pointerIconSpotAnchor\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"PointerIcon\": {\n      \"name\": \"PointerIcon\",\n      \"attrs\": [\n        {\n          \"name\": \"bitmap\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"hotSpotX\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"hotSpotY\",\n          \"format\": [\n            \"float\"\n          ]\n        }\n      ]\n    },\n    \"Storage\": {\n      \"name\": \"Storage\",\n      \"attrs\": [\n        {\n          \"name\": \"mountPoint\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"storageDescription\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"primary\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"removable\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"emulated\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"mtpReserve\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"allowMassStorage\",\n          \"format\": [\n            \"boolean\"\n          ]\n        },\n        {\n          \"name\": \"maxFileSize\",\n          \"format\": [\n            \"integer\"\n          ]\n        }\n      ]\n    },\n    \"SwitchPreference\": {\n      \"name\": \"SwitchPreference\",\n      \"attrs\": [\n        {\n          \"name\": \"summaryOn\",\n          \"format\": []\n        },\n        {\n          \"name\": \"summaryOff\",\n          \"format\": []\n        },\n        {\n          \"name\": \"switchTextOn\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"switchTextOff\",\n          \"format\": [\n            \"string\"\n          ]\n        },\n        {\n          \"name\": \"disableDependentsState\",\n          \"format\": []\n        }\n      ]\n    },\n    \"TextToSpeechEngine\": {\n      \"name\": \"TextToSpeechEngine\",\n      \"attrs\": [\n        {\n          \"name\": \"settingsActivity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"KeyboardLayout\": {\n      \"name\": \"KeyboardLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"name\",\n          \"format\": []\n        },\n        {\n          \"name\": \"label\",\n          \"format\": []\n        },\n        {\n          \"name\": \"keyboardLayout\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    },\n    \"MediaRouteButton\": {\n      \"name\": \"MediaRouteButton\",\n      \"attrs\": [\n        {\n          \"name\": \"externalRouteEnabledDrawable\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"mediaRouteTypes\",\n          \"format\": [\n            \"integer\",\n            \"enum\"\n          ],\n          \"enum\": [\n            {\n              \"name\": \"liveAudio\",\n              \"value\": \"0x1\"\n            },\n            {\n              \"name\": \"user\",\n              \"value\": \"0x800000\"\n            }\n          ]\n        },\n        {\n          \"name\": \"minWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"minHeight\",\n          \"format\": []\n        }\n      ]\n    },\n    \"PagedView\": {\n      \"name\": \"PagedView\",\n      \"attrs\": [\n        {\n          \"name\": \"pageSpacing\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"scrollIndicatorPaddingLeft\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"scrollIndicatorPaddingRight\",\n          \"format\": [\n            \"dimension\"\n          ]\n        }\n      ]\n    },\n    \"KeyguardGlowStripView\": {\n      \"name\": \"KeyguardGlowStripView\",\n      \"attrs\": [\n        {\n          \"name\": \"dotSize\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"numDots\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"glowDot\",\n          \"format\": [\n            \"reference\"\n          ]\n        },\n        {\n          \"name\": \"leftToRight\",\n          \"format\": [\n            \"boolean\"\n          ]\n        }\n      ]\n    },\n    \"SlidingChallengeLayout_Layout\": {\n      \"name\": \"SlidingChallengeLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_childType\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_maxHeight\",\n          \"format\": []\n        }\n      ]\n    },\n    \"FragmentBreadCrumbs\": {\n      \"name\": \"FragmentBreadCrumbs\",\n      \"attrs\": [\n        {\n          \"name\": \"gravity\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MultiPaneChallengeLayout\": {\n      \"name\": \"MultiPaneChallengeLayout\",\n      \"attrs\": [\n        {\n          \"name\": \"orientation\",\n          \"format\": []\n        }\n      ]\n    },\n    \"MultiPaneChallengeLayout_Layout\": {\n      \"name\": \"MultiPaneChallengeLayout_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_centerWithinArea\",\n          \"format\": [\n            \"float\"\n          ]\n        },\n        {\n          \"name\": \"layout_childType\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_gravity\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_maxWidth\",\n          \"format\": [\n            \"dimension\"\n          ]\n        },\n        {\n          \"name\": \"layout_maxHeight\",\n          \"format\": []\n        }\n      ]\n    },\n    \"KeyguardSecurityViewFlipper_Layout\": {\n      \"name\": \"KeyguardSecurityViewFlipper_Layout\",\n      \"attrs\": [\n        {\n          \"name\": \"layout_maxWidth\",\n          \"format\": []\n        },\n        {\n          \"name\": \"layout_maxHeight\",\n          \"format\": []\n        }\n      ]\n    },\n    \"NumPadKey\": {\n      \"name\": \"NumPadKey\",\n      \"attrs\": [\n        {\n          \"name\": \"digit\",\n          \"format\": [\n            \"integer\"\n          ]\n        },\n        {\n          \"name\": \"textView\",\n          \"format\": [\n            \"reference\"\n          ]\n        }\n      ]\n    }\n  }\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/resources/views.json",
    "content": "{\"DigitalClock\":[\"TextView\"],\"Chronometer\":[\"TextView\"],\"EditText\":[\"TextView\"],\"Button\":[\"TextView\"],\"CheckedTextView\":[\"TextView\"],\"AbsSeekBar\":[\"ProgressBar\"],\"ImageButton\":[\"ImageView\"],\"QuickContactBadge\":[\"ImageView\"],\"VideoView\":[\"SurfaceView\"],\"GridLayout\":[\"ViewGroup\"],\"SlidingDrawer\":[\"ViewGroup\"],\"RelativeLayout\":[\"ViewGroup\"],\"AbsoluteLayout\":[\"ViewGroup\"],\"FrameLayout\":[\"ViewGroup\"],\"LinearLayout\":[\"ViewGroup\"],\"AdapterView\":[\"ViewGroup\"],\"AutoCompleteTextView\":[\"EditText\",\"TextView\"],\"CompoundButton\":[\"Button\",\"TextView\"],\"SeekBar\":[\"AbsSeekBar\",\"ProgressBar\"],\"RatingBar\":[\"AbsSeekBar\",\"ProgressBar\"],\"ZoomButton\":[\"ImageButton\",\"ImageView\"],\"DialerFilter\":[\"RelativeLayout\",\"ViewGroup\"],\"TwoLineListItem\":[\"RelativeLayout\",\"ViewGroup\"],\"HorizontalScrollView\":[\"FrameLayout\",\"ViewGroup\"],\"TimePicker\":[\"FrameLayout\",\"ViewGroup\"],\"CalendarView\":[\"FrameLayout\",\"ViewGroup\"],\"ViewAnimator\":[\"FrameLayout\",\"ViewGroup\"],\"MediaController\":[\"FrameLayout\",\"ViewGroup\"],\"TabHost\":[\"FrameLayout\",\"ViewGroup\"],\"ScrollView\":[\"FrameLayout\",\"ViewGroup\"],\"DatePicker\":[\"FrameLayout\",\"ViewGroup\"],\"TableRow\":[\"LinearLayout\",\"ViewGroup\"],\"SearchView\":[\"LinearLayout\",\"ViewGroup\"],\"RadioGroup\":[\"LinearLayout\",\"ViewGroup\"],\"TableLayout\":[\"LinearLayout\",\"ViewGroup\"],\"ZoomControls\":[\"LinearLayout\",\"ViewGroup\"],\"NumberPicker\":[\"LinearLayout\",\"ViewGroup\"],\"TabWidget\":[\"LinearLayout\",\"ViewGroup\"],\"AbsSpinner\":[\"AdapterView\",\"ViewGroup\"],\"AdapterViewAnimator\":[\"AdapterView\",\"ViewGroup\"],\"AbsListView\":[\"AdapterView\",\"ViewGroup\"],\"MultiAutoCompleteTextView\":[\"AutoCompleteTextView\",\"EditText\",\"TextView\"],\"CheckBox\":[\"CompoundButton\",\"Button\",\"TextView\"],\"RadioButton\":[\"CompoundButton\",\"Button\",\"TextView\"],\"Switch\":[\"CompoundButton\",\"Button\",\"TextView\"],\"ToggleButton\":[\"CompoundButton\",\"Button\",\"TextView\"],\"ViewSwitcher\":[\"ViewAnimator\",\"FrameLayout\",\"ViewGroup\"],\"ViewFlipper\":[\"ViewAnimator\",\"FrameLayout\",\"ViewGroup\"],\"Gallery\":[\"AbsSpinner\",\"AdapterView\",\"ViewGroup\"],\"Spinner\":[\"AbsSpinner\",\"AdapterView\",\"ViewGroup\"],\"AdapterViewFlipper\":[\"AdapterViewAnimator\",\"AdapterView\",\"ViewGroup\"],\"StackView\":[\"AdapterViewAnimator\",\"AdapterView\",\"ViewGroup\"],\"ListView\":[\"AbsListView\",\"AdapterView\",\"ViewGroup\"],\"GridView\":[\"AbsListView\",\"AdapterView\",\"ViewGroup\"],\"ImageSwitcher\":[\"ViewSwitcher\",\"ViewAnimator\",\"FrameLayout\",\"ViewGroup\"],\"TextSwitcher\":[\"ViewSwitcher\",\"ViewAnimator\",\"FrameLayout\",\"ViewGroup\"],\"ExpandableListView\":[\"ListView\",\"AbsListView\",\"AdapterView\",\"ViewGroup\"]}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/AttributeOptimizer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport org.jetbrains.kotlin.android.attrs.NoAttr\n\ninternal val attributeOptimizations = listOf(\n        ::optimizeInclude,\n        ::optimizeHelperConstructors\n)\n\ninternal fun optimizeInclude(name: String, attrs: List<KeyValuePair>): Pair<String, List<KeyValuePair>>? {\n    val layout = attrs.firstOrNull { it.key == \"layout\" }?.value\n    return if (name == \"include\" && layout != null) {\n        val rendered = renderReference(NoAttr, \"layout\", layout)\n        \"$name<View>(${rendered?.value ?: layout})\" to attrs.filter { it.key != \"layout\" }\n    } else null\n}\n\ninternal fun optimizeHelperConstructors(name: String, attrs: List<KeyValuePair>): Pair<String, List<KeyValuePair>>? {\n    val helpers = listOf(\n            attrs.firstOrNull { it.key == \"text\" },\n            attrs.firstOrNull { it.key == \"textResource\" }\n    ).filterNotNull()\n    return if (helpers.isNotEmpty()) {\n        val helper = helpers.first()\n        \"$name(${helper.value})\" to attrs.filter { it.key != helper.key }\n    } else null\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/AttributeParser.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport org.jetbrains.kotlin.android.attrs.Attr\nimport org.jetbrains.kotlin.android.attrs.NoAttr\nimport java.util.regex.Pattern\n\ninternal fun renderLayoutAttributes(attributes: List<KeyValuePair>, parentName: String): String {\n    val map = attributes.map { it.key.replace(\"android:layout_\", \"\") to it.value }.toMap()\n\n    fun renderLayoutDimension(s: String) = when {\n        s == \"wrap_content\" -> \"wrapContent\"\n        s == \"match_parent\" || s == \"fill_parent\" -> \"matchParent\"\n        s.isDimension() -> {\n            val dimension = s.parseDimension()\n            \"${dimension.second}(${dimension.first})\"\n        }\n        else -> s\n    }\n\n    val width = renderLayoutDimension(map[\"width\"] ?: \"wrap_content\")\n    val height = renderLayoutDimension(map[\"height\"] ?: \"wrap_content\")\n\n    val options = (layoutAttributeRenderers.findFirst { it(parentName, map) } ?: emptyList()).filterNotNull()\n    val optionsString = if (options.isNotEmpty()) {\n        options.map { it.toString().indent(1) }.joinToString(\"\\n\", \" {\\n\", \"\\n}\")\n    } else \"\"\n\n    return \".lparams(width = $width, height = $height)$optionsString\"\n}\n\ninternal fun transformAttribute(widgetName: String, name: String, value: String): KeyValuePair? {\n    return when {\n        name.startsWith(\"xmlns:\") -> null\n        name.startsWith(\"tools:\") -> null\n        name == \"style\" -> null\n        name.startsWith(\"android:\") -> {\n            val shortName = name.substring(\"android:\".length)\n            // Search for attribute in `widgetName` styleable, then in superclass styleables,\n            // then in `View` styleable, then in free attributes\n            val attr = attrs.free.firstOrNull { it.name == shortName } ?:\n                attrs.styleables[widgetName]?.attrs?.firstOrNull { it.name == shortName } ?:\n                viewHierarchy[widgetName]?.findFirst { attrs.styleables[it]?.attrs?.firstOrNull { it.name == shortName } }\n                attrs.styleables[\"View\"]?.attrs?.firstOrNull { it.name == shortName }\n\n            return if (attr != null) {\n                renderAttribute(attr, shortName, value)\n            } else renderAttribute(NoAttr, shortName, value)\n        }\n        else -> name * value\n    }\n}\n\ninternal fun renderAttribute(attr: Attr, p: KeyValuePair) = renderAttribute(attr, p.key, p.value)\n\nprivate fun renderAttribute(attr: Attr, key: String, value: String): KeyValuePair? {\n    for (renderer in viewAttributeRenderers) {\n        val v = renderer(attr, key, value)\n        if (v != null) return v\n    }\n\n    return null\n}\n\nfun String.parseReference(): XmlReference? {\n    val matcher = Pattern.compile(\"@((([A-Za-z0-9._]+)\\\\:)?)([+A-Za-z0-9_]+)\\\\/([A-Za-z0-9_]+)\").matcher(this)\n    if (!matcher.matches()) {\n        return null\n    }\n    return XmlReference(matcher.group(3) ?: \"\", matcher.group(4), matcher.group(5))\n}\n\nfun String.parseFlagValue(): Int {\n    return if (startsWith(\"0x\")) Integer.parseInt(this.substring(2), 16) else this.toInt()\n}\n\nfun String.isReference(): Boolean {\n    return startsWith(\"@\")\n}\n\nfun String.isSpecialReferenceAttribute() = when (this) {\n    \"text\" -> true\n    \"background\" -> true\n    else -> false\n}\n\nfun String.isDimension(): Boolean {\n    return endsWith(\"sp\") || endsWith(\"dp\") || endsWith(\"px\") || endsWith(\"dip\")\n}\n\nfun String.isColor(): Boolean {\n    return toLowerCase().matches(\"#[0-9a-f]+\".toRegex())\n}\n\nfun String.parseDimension(): Pair<String, String> {\n    val matcher = Pattern.compile(\"([0-9\\\\.]+)(dip|dp|px|sp)\").matcher(this)\n    if (!matcher.matches()) {\n        throw RuntimeException(\"Invalid dimension: $this\")\n    }\n    val numericValue = matcher.group(1)\n    val dimensionUnit = matcher.group(2).let { if (it == \"dp\") \"dip\" else it }\n    return (if (\".\" in numericValue) \"${numericValue}f\" else numericValue) to dimensionUnit\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/ConvertAction.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport com.intellij.facet.FacetManager\nimport com.intellij.ide.highlighter.XmlFileType\nimport com.intellij.openapi.actionSystem.AnAction\nimport com.intellij.openapi.actionSystem.AnActionEvent\nimport com.intellij.openapi.actionSystem.CommonDataKeys\nimport com.intellij.openapi.application.ApplicationManager\nimport com.intellij.openapi.fileEditor.FileEditorManager\nimport com.intellij.openapi.module.Module\nimport com.intellij.openapi.project.Project\nimport com.intellij.openapi.roots.ModuleRootManager\nimport com.intellij.openapi.roots.ProjectRootManager\nimport com.intellij.openapi.ui.ex.MessagesEx\nimport com.intellij.openapi.vfs.LocalFileSystem\nimport com.intellij.openapi.vfs.VfsUtilCore\nimport com.intellij.openapi.vfs.VirtualFile\nimport com.intellij.openapi.vfs.VirtualFileVisitor\nimport org.jetbrains.android.facet.AndroidFacet\nimport org.jetbrains.kotlin.idea.refactoring.fqName.getKotlinFqName\nimport java.io.File\nimport java.io.IOException\n\nclass ConvertAction : AnAction() {\n\n    private class FileToConvert(val xmlFile: VirtualFile, val ktFile: File)\n\n    override fun actionPerformed(e: AnActionEvent) {\n        val virtualFiles = e.getData(CommonDataKeys.VIRTUAL_FILE_ARRAY) ?: return\n        val project = CommonDataKeys.PROJECT.getData(e.dataContext) ?: return\n\n        val files = allFilesToConvert(virtualFiles, project)\n        if (files.isEmpty()) return\n\n        ApplicationManager.getApplication().runWriteAction {\n            var lastConvertedFile: VirtualFile? = null\n\n            for (file in files) {\n                System.err.println(\"Converting file \" + file.xmlFile.path)\n                file.convert(project)\n                lastConvertedFile = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(file.ktFile)\n            }\n\n            if (lastConvertedFile != null) {\n                FileEditorManager.getInstance(project).openFile(lastConvertedFile, true)\n            }\n        }\n    }\n\n    private fun VirtualFile.getFileToConvert(project: Project): FileToConvert? {\n        if (fileType !is XmlFileType) return null\n        if (!parent.name.startsWith(\"layout\")) return null\n        val androidFacet = resolveAndroidFacet(project) ?: return null\n\n        val probResourceDirectory = parent?.parent?.path\n        val resourceDirectories = androidFacet.allResourceDirectories\n        if (!resourceDirectories.any { it.canonicalPath == probResourceDirectory }) return null\n\n        val targetDirectory = getActivityDirectory(androidFacet) ?: getMainAndroidSourceRoot(androidFacet)\n        val ktFileNameBase = nameWithoutExtension.firstCapital()\n\n        var candidateKtFile = File(targetDirectory, ktFileNameBase + \"LayoutActivity.kt\")\n        var counter = 0\n        while (candidateKtFile.exists()) {\n            candidateKtFile = File(targetDirectory, ktFileNameBase + \"LayoutActivity$counter.kt\")\n            counter++\n        }\n\n        return FileToConvert(this, candidateKtFile)\n    }\n\n    private fun getActivityDirectory(androidFacet: AndroidFacet): String? {\n        val manifest = androidFacet.manifest\n        val appPackage = manifest?.`package`?.value\n        val activities = manifest?.application?.activities\n\n        if (appPackage == null || activities == null) return null\n\n        val activityClasses = activities.map { it.activityClass.value }\n        val activity = activityClasses\n                .filter { it?.getKotlinFqName()?.asString()?.startsWith(appPackage) ?: false }\n                .firstOrNull()\n        return activity?.containingFile?.containingDirectory?.virtualFile?.canonicalPath\n    }\n\n    private fun getMainAndroidSourceRoot(androidFacet: AndroidFacet): String? {\n        return ModuleRootManager.getInstance(androidFacet.module)\n                .contentRoots.filter { !it.canonicalPath!!.endsWith(\"/gen\") }.first().canonicalPath\n    }\n\n    override fun update(e: AnActionEvent) {\n        e.presentation.isEnabled = selectedLayoutFiles(e).any()\n    }\n\n    private fun selectedLayoutFiles(e: AnActionEvent): List<FileToConvert> {\n        val virtualFiles = e.getData(CommonDataKeys.VIRTUAL_FILE_ARRAY) ?: return emptyList()\n        val project = CommonDataKeys.PROJECT.getData(e.dataContext) ?: return emptyList()\n        return allFilesToConvert(virtualFiles, project)\n    }\n\n    private fun allFilesToConvert(filesOrDirs: Array<VirtualFile>, project: Project): List<FileToConvert> {\n        val result = arrayListOf<FileToConvert>()\n        for (file in filesOrDirs) {\n            VfsUtilCore.visitChildrenRecursively(file, object : VirtualFileVisitor<Unit>() {\n                override fun visitFile(file: VirtualFile): Boolean {\n                    val fileToConvert = file.getFileToConvert(project)\n                    if (fileToConvert != null) result.add(fileToConvert)\n                    return true\n                }\n            })\n        }\n        return result\n    }\n\n    private fun VirtualFile.resolveAndroidFacet(project: Project): AndroidFacet? {\n        return ProjectRootManager.getInstance(project).fileIndex.getModuleForFile(this)?.resolveAndroidFacet()\n    }\n\n    private fun Module.resolveAndroidFacet(): AndroidFacet? {\n        val facetManager = FacetManager.getInstance(this)\n        for (facet in facetManager.allFacets) {\n            if (facet is AndroidFacet) {\n                return facet\n            }\n        }\n        return null\n    }\n\n    private fun FileToConvert.convert(project: Project) {\n        try {\n            ktFile.writeText(XmlConverter.convert(xmlFile.contentsToByteArray().toString(charset(\"UTF-8\"))))\n        }\n        catch (e: IOException) {\n            MessagesEx.error(project, e.message).showLater()\n        }\n    }\n\n    private fun String.firstCapital() = if (isEmpty()) \"\" else Character.toUpperCase(this[0]) + substring(1)\n\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/LayoutAttributeRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport org.jetbrains.kotlin.android.attrs.NoAttr\n\ninternal val layoutAttributeRenderers = listOf(\n        ::linearLayoutRenderer,\n        ::relativeLayoutRenderer\n)\n\ninternal fun linearLayoutRenderer(parentName: String, attrs: Map<String, String>) = if (parentName == \"LinearLayout\") listOf(\n        attrs.prop(\"gravity\") { renderAttribute(NoAttr, it) },\n        attrs.prop(\"weight\")\n) + marginLayoutRenderer(parentName, attrs) else null\n\ninternal fun relativeLayoutRenderer(parentName: String, attrs: Map<String, String>) = if (parentName == \"RelativeLayout\") listOf(\n        attrs.func(\"above\") { renderReference(NoAttr, it.key, it.value) },\n        attrs.func(\"below\") { renderReference(NoAttr, it.key, it.value) },\n        attrs.func(\"toRightOf\") { renderReference(NoAttr, \"toRightOf\", it.value) },\n        attrs.func(\"toLeftOf\") { renderReference(NoAttr, \"toLeftOf\", it.value) },\n        attrs.func(\"alignLeft\") { renderReference(NoAttr, \"sameLeft\", it.value) },\n        attrs.func(\"alignTop\") { renderReference(NoAttr, \"sameTop\", it.value) },\n        attrs.func(\"alignRight\") { renderReference(NoAttr, \"sameRight\", it.value) },\n        attrs.func(\"alignBottom\") { renderReference(NoAttr, \"sameBottom\", it.value) },\n        attrs.func(\"alignParentLeft\") { \"alignParentLeft\" * \"\" },\n        attrs.func(\"alignParentTop\") { \"alignParentTop\" * \"\" },\n        attrs.func(\"alignParentRight\") { \"alignParentRight\" * \"\" },\n        attrs.func(\"alignParentBottom\") { \"alignParentBottom\" * \"\" },\n        attrs.func(\"alignParentStart\") { \"alignParentStart\" * \"\" },\n        attrs.func(\"alignParentEnd\") { \"alignParentEnd\" * \"\" },\n        attrs.func(\"centerInParent\") { \"centerInParent\" * \"\" },\n        attrs.func(\"centerHorizontal\") { \"centerHorizontally\" * \"\" },\n        attrs.func(\"centerVertical\") { \"centerVertically\" * \"\" }\n\n) + marginLayoutRenderer(parentName, attrs) else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun marginLayoutRenderer(parentName: String, attrs: Map<String, String>) =\n        listOf(\"margin\", \"marginLeft\", \"marginTop\", \"marginRight\", \"marginBottom\").map {\n            attrs.prop(it) { renderDimension(NoAttr, it.key.swapCamelCase(), it.value) }\n        }\n\nprivate fun Map<String, String>.func(key: String, transformer: ((KeyValuePair) -> KeyValuePair?)? = null): KeyValuePair? {\n    val value = get(key)\n    return if (value != null) {\n        if (transformer != null) {\n            val result = transformer(key * value)\n            return if (result != null) (result.key + \"(\" + result.value + \")\") * \"\" else null\n        } else \"$key($value)\" * \"\"\n    } else null\n}\n\nprivate fun Map<String, String>.prop(key: String, transformer: ((KeyValuePair) -> KeyValuePair?)? = null): KeyValuePair? {\n    val value = get(key)\n    return if (value != null) {\n        if (transformer != null) transformer(key * value) else key * value\n    } else null\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/Util.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport com.google.gson.Gson\nimport com.google.gson.reflect.TypeToken\nimport org.jetbrains.kotlin.android.attrs.Attrs\nimport org.jetbrains.kotlin.android.attrs.readResource\n\nprivate val INTENT = \"    \"\n\ninternal val attrs = Gson().fromJson(readResource(\"attrs.json\"), Attrs::class.java)\n\ninternal val viewHierarchy = Gson().fromJson<Map<String, List<String>>>(readResource(\"views.json\"),\n        (object : TypeToken<Map<String, List<String>>>() {}).type)\n\ninternal data class KeyValuePair(val key: String, val value: String) {\n    override fun toString() = if (value.isNotEmpty()) \"$key = $value\" else key\n}\n\ninternal operator fun String.times(value: String) = KeyValuePair(this, value)\n\ninternal fun <T: Any, R: Any> List<T>.findFirst(transformer: (T) -> R?): R? {\n    for (item in this) {\n        val r = transformer(item)\n        if (r != null) return r\n    }\n    return null\n}\n\ninternal fun String.indent(width: Int): String {\n    if (isEmpty()) return this\n    val intent = INTENT.repeat(width)\n    return split('\\n').map { intent + it }.joinToString(\"\\n\")\n}\n\ninternal fun String.swapCamelCase(): String {\n    val ch = withIndex().firstOrNull { Character.isUpperCase(it.value) }\n    return if (ch == null) this else substring(ch.index).toLowerCase() + substring(0, ch.index).firstCapital()\n}\n\ninternal fun String.firstCapital(): String = if (isEmpty()) this else Character.toUpperCase(this[0]) + substring(1)"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/ViewAttributeRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport org.jetbrains.kotlin.android.attrs.Attr\nimport org.jetbrains.kotlin.android.attrs.NoAttr\n\ninternal val viewAttributeRenderers = listOf(\n        ::renderGravity,\n        ::renderBackground,\n        ::renderLinearLayoutOrientation,\n        ::renderTextSize,\n        ::renderTag,\n        ::renderVisibility,\n        ::renderSingleLine,\n        ::renderOrientation,\n        ::renderColor,\n        ::renderReference,\n        ::renderDimension,\n        ::renderString,\n        ::renderBoolean,\n        ::renderInteger,\n        ::renderFloat,\n        ::renderEnum,\n        ::renderFlags\n)\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderGravity(attr: Attr, key: String, value: String) = if (key == \"gravity\") {\n        val values = value.split('|').map { \"Gravity.${it.toUpperCase()}\" }\n        key * values.joinToString(\" or \")\n    } else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderBackground(attr: Attr, key: String, value: String) = if (key == \"background\") {\n    if (value.isReference()) renderReference(NoAttr, \"${key}Resource\", value)\n    else if (value.isColor()) renderColor(NoAttr, \"${key}Color\", value)\n    else null\n} else null\n\ninternal fun renderLinearLayoutOrientation(attr: Attr, key: String, value: String) =\n    if (key == \"orientation\" && attr.name == \"LinearLayout\")\n        key * \"android.widget.LinearLayout.${value.toUpperCase()}\" else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderTextSize(attr: Attr, key: String, value: String) = if (key == \"textSize\") {\n        val dimension = value.parseDimension()\n        key * \"${dimension.first}f\"\n    } else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderTag(attr: Attr, key: String, value: String) = if (key == \"tag\") {\n    renderString(NoAttr, key, value)\n} else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderVisibility(attr: Attr, key: String, value: String) = if (key == \"visibility\") {\n    \"visibility\" * \"View.${value.toUpperCase()}\"\n} else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderSingleLine(attr: Attr, key: String, value: String) = if (key == \"singleLine\") {\n        \"setSingleLine($value)\" * \"\"\n    } else null\n\n@Suppress(\"UNUSED_PARAMETER\")\ninternal fun renderOrientation(attr: Attr, key: String, value: String) = if (key == \"orientation\") {\n    \"orientation\" * \"LinearLayout.${value.toUpperCase()}\"\n} else null\n\ninternal fun renderBoolean(attr: Attr, key: String, value: String) =\n        if (attr accepts \"boolean\" && (value == \"true\" || value == \"false\")) key * value else null\n\ninternal fun renderInteger(attr: Attr, key: String, value: String) =\n        if (attr accepts \"integer\" && value.matches(\"\\\\-?[0-9]+\".toRegex())) key * value else null\n\ninternal fun renderFloat(attr: Attr, key: String, value: String) = if (attr accepts \"float\") key * \"${value}f\" else null\n\ninternal fun renderString(attr: Attr, key: String, value: String) =\n        if (attr accepts \"string\") {\n            if (value.isReference() && key.isSpecialReferenceAttribute())\n                renderReference(NoAttr, key + \"Resource\", value)\n            else\n                key * (\"\\\"\" + value.replace(\"\\\"\", \"\\\\\\\"\") + \"\\\"\")\n        } else null\n\ninternal fun renderColor(attr: Attr, key: String, value: String) = if (attr accepts \"color\" && value.isColor()) {\n        val color = value.replace(\"#\", \"\").toLowerCase()\n        val displayColor = if (color.length > 6 && !color.startsWith(\"ff\"))\n            \"0x$color.toInt()\" else \"0x${color}.opaque\"\n        key * displayColor\n    } else null\n\ninternal fun renderReference(attr: Attr, key: String, value: String): KeyValuePair? {\n    if (attr accepts \"reference\" && value.isReference()) {\n        val reference = value.parseReference() ?: return null\n        val packageName = if (reference.packageName.isNotEmpty()) \"${reference.packageName}.\" else \"\"\n        return when (reference.type) {\n            \"+id\" -> key * \"${packageName}Ids.${reference.value}\"\n            else -> key * \"${packageName}R.${reference.type}.${reference.value}\"\n        }\n    }\n    else\n        return null\n}\n\ninternal fun renderEnum(attr: Attr, key: String, value: String) = if (attr accepts \"enum\" && attr.enum != null) {\n        val enumEntry = attr.enum?.firstOrNull { it.name == value }\n        if (enumEntry != null) key * enumEntry.value else key * value\n    } else null\n\ninternal fun renderFlags(attr: Attr, key: String, value: String) = if (attr accepts \"flags\" && attr.flags != null) {\n        val sum = value.split('|').fold(0) { sum, flag ->\n            val entry = attr.flags?.firstOrNull { it.name == flag }\n            sum + (entry?.value?.parseFlagValue() ?: 0)\n        }\n        key * sum.toString()\n    } else null\n\ninternal fun renderDimension(attr: Attr, key: String, value: String) = if (attr accepts \"dimension\" && value.isDimension()) {\n    val dimension = value.parseDimension()\n    key * \"${dimension.second}(${dimension.first})\"\n} else null\n\nprivate infix fun Attr.accepts(f: String) = this == NoAttr || f in this.format"
  },
  {
    "path": "anko/idea-plugin/xml-converter/src/org/jetbrains/kotlin/android/xmlconverter/XmlConverter.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.kotlin.android.xmlconverter\n\nimport org.w3c.dom.Document\nimport org.w3c.dom.Element\nimport org.xml.sax.InputSource\nimport java.io.File\nimport java.io.StringReader\nimport java.util.*\nimport javax.xml.parsers.DocumentBuilderFactory\nimport kotlinx.dom.childElements\n\nprivate class Widget(val name: String, val attrs: List<KeyValuePair>, val layoutParams: String, val children: List<Widget>) {\n    override fun toString(): String {\n        fun KeyValuePair.render() = if (value.isNotEmpty()) \"$key = $value\" else key\n\n        val attributes = attrs.map { it.render() }.joinToString(\"\\n\").indent(1)\n        val childrenRendered = children.map { it.toString() }.joinToString(\"\\n\").indent(1)\n\n        return if (attributes.isEmpty() && childrenRendered.isEmpty()) {\n            \"$name$layoutParams\"\n        } else {\n            val beforeChildren = if (attributes.isNotEmpty() && childrenRendered.isNotEmpty()) \"\\n\\n\" else \"\"\n            \"$name {\\n$attributes$beforeChildren$childrenRendered\\n}$layoutParams\"\n        }\n    }\n}\n\nclass XmlReference(val packageName: String, val type: String, val value: String)\n\nobject XmlConverter {\n    fun convert(xml: String, options: Set<String> = emptySet()): String {\n        val layout = xml.parseXml()\n        val root = layout.documentElement\n        val ids = TreeSet<String>()\n        val widget = parseView(root, null, ids)\n\n        if (\"raw\" in options) return widget.toString()\n\n        val imports = listOf(\n                \"android.app.*\",\n                \"android.view.*\",\n                \"android.widget.*\",\n                \"org.jetbrains.anko.*\",\n                \"android.os.Bundle\"\n        )\n\n        val idsToProcess = ids.filter { it.startsWith(\"Ids.\") }\n        val idsObject = if (idsToProcess.isNotEmpty()) {\n            \"private object Ids {\\n\" +\n                    idsToProcess.withIndex().map {\n                        \"val \" + it.value.replace(\"Ids.\", \"\") + \" = \" + (it.index + 1)\n                    }.joinToString(\"\\n\").indent(1) + \"\\n}\"\n        } else \"\"\n\n        return imports.map { \"import $it\" }.joinToString(\"\\n\", postfix = \"\\n\\n\") +\n                \"class SomeActivity : Activity() {\\n\" +\n                \"    override fun onCreate(savedInstanceState: Bundle?) {\\n\" +\n                \"        super<Activity>.onCreate(savedInstanceState)\\n\\n\" +\n                widget.toString().indent(2) +\n                \"\\n    }\\n\\n\" + idsObject.indent(1) +\n                \"\\n}\"\n    }\n\n    private fun parseView(widget: Element, parentName: String?, idsCollector: SortedSet<String>): Widget {\n        val name = widget.tagName\n        val displayName = Character.toLowerCase(name[0]) + name.substring(1)\n\n        val (attributes, layoutParams) = widget.getWidgetAttributes(name, parentName)\n        val children = widget.childElements().map { parseView(it, name, idsCollector) }\n\n        val (optimizedName, optimizedAttributes) = applyAttributeOptimizations(displayName, attributes)\n        optimizedAttributes.firstOrNull { it.key == \"id\" }?.let { idsCollector.add(it.value) }\n        return Widget(optimizedName, optimizedAttributes, layoutParams, children)\n    }\n\n    private fun applyAttributeOptimizations(displayName: String, attributes: List<KeyValuePair>): Pair<String, List<KeyValuePair>> {\n        var last = displayName to attributes\n        for (optimization in attributeOptimizations) {\n            val f = optimization(last.first, last.second)\n            if (f != null) last = f\n        }\n        return last\n    }\n\n    private fun Element.getWidgetAttributes(name: String, parentName: String?): Pair<List<KeyValuePair>, String> {\n        val original = arrayListOf<KeyValuePair>()\n        val attributesNodeMap = attributes\n        for (i in 0..(attributesNodeMap.length - 1)) {\n            val attribute = attributesNodeMap.item(i)\n            original.add(attribute.nodeName * attribute.nodeValue)\n        }\n        val (layoutAttributes, ordinaryAttributes) = original.partition { it.key.startsWith(\"android:layout_\") }\n        val layoutParams = if (parentName != null) renderLayoutAttributes(layoutAttributes, parentName) else \"\"\n\n        return ordinaryAttributes.map { transformAttribute(name, it.key, it.value) }.filterNotNull() to layoutParams\n    }\n\n}\n\nfun main(args: Array<String>) {\n    if (args.size < 2) {\n        println(\"Usage: <xml file> <kt file>\")\n        return\n    }\n\n    val xmlFile = File(args[0])\n    val ktFile = File(args[1])\n    val options = if (args.size > 2) args[2].split(',').toSet() else emptySet()\n\n    if (!xmlFile.exists()) {\n        println(\"$xmlFile does not exist. Aborting\")\n        return\n    }\n\n    val kt = XmlConverter.convert(xmlFile.readText(), options)\n    ktFile.writeText(kt)\n    println(kt)\n}\n\nprivate fun String.parseXml(): Document {\n    val factory = DocumentBuilderFactory.newInstance()\n    val builder = factory.newDocumentBuilder()\n    val inputSource = InputSource(StringReader(this))\n    return builder.parse(inputSource)\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/test/org/jetbrains/kotlin/android/xmlconverter/BaseXmlConverterTest.java",
    "content": "package org.jetbrains.kotlin.android.xmlconverter;\n\nimport static kotlin.collections.SetsKt.setOf;\nimport static kotlin.io.FilesKt.readText;\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertTrue;\n\nimport java.io.File;\n\nimport kotlin.text.Charsets;\nimport org.junit.Rule;\nimport org.junit.rules.TestName;\n\npublic class BaseXmlConverterTest {\n\n    @Rule\n    public TestName name = new TestName();\n\n    protected void doLayoutTest() {\n        File testDataDir = new File(\"testData\");\n        String testName = name.getMethodName();\n        if (!testName.startsWith(\"test\")) {\n            throw new IllegalStateException(\"Test name must start with a 'test' preffix\");\n        }\n\n        File testDir = new File(testDataDir, decapitalize(testName.substring(\"test\".length())));\n        File inputFile = new File(testDir, \"layout.xml\");\n        File outputFile = new File(testDir, \"layout.kt\");\n\n        assertTrue(inputFile + \" does not exist\", inputFile.exists());\n        assertTrue(outputFile + \" does not exist\", outputFile.exists());\n\n        String actual = XmlConverter.INSTANCE.convert(readText(inputFile, Charsets.UTF_8), setOf(\"raw\"));\n        String expected = readText(outputFile, Charsets.UTF_8);\n\n        assertEquals(expected, actual);\n    }\n\n    private String decapitalize(String original) {\n        if (original.isEmpty()) return original;\n        return Character.toLowerCase(original.charAt(0)) + original.substring(1);\n    }\n\n}\n"
  },
  {
    "path": "anko/idea-plugin/xml-converter/test/org/jetbrains/kotlin/android/xmlconverter/XmlConverterTest.kt",
    "content": "package org.jetbrains.kotlin.android.xmlconverter\n\nimport org.junit.Test\n\nclass XmlConverterTest : BaseXmlConverterTest() {\n\n    @Test fun testSimple() = doLayoutTest()\n    @Test fun testLinearLayout() = doLayoutTest()\n    @Test fun testRelativeLayout() = doLayoutTest()\n    @Test fun testDimensions() = doLayoutTest()\n    @Test fun testAttributes() = doLayoutTest()\n\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/attributes/layout.kt",
    "content": "frameLayout {\n    textView(\"Text\") {\n        backgroundColor = 0xff0000.opaque\n        enabled = false\n        hint = \"Hint\"\n        id = Ids.textView1\n        lines = 5\n        paddingBottom = dip(4)\n        paddingLeft = dip(1)\n        paddingRight = dip(3)\n        paddingTop = dip(2)\n        tag = \"Tag\"\n        textColor = 0x00ff00.opaque\n        textSize = 17f\n        visibility = View.INVISIBLE\n    }.lparams(width = wrapContent, height = wrapContent)\n    textView {\n        backgroundColor = 0xeeffff00.toInt()\n        textSize = 17f\n    }.lparams(width = wrapContent, height = wrapContent)\n    textView {\n        backgroundResource = android.R.color.background_light\n        textSize = 17f\n    }.lparams(width = wrapContent, height = wrapContent)\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/attributes/layout.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<FrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n             android:layout_width=\"match_parent\"\n             android:layout_height=\"match_parent\">\n\n    <TextView\n            android:id=\"@+id/textView1\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"center\"\n            android:text=\"Text\"\n            android:tag=\"Tag\"\n            android:hint=\"Hint\"\n            android:background=\"#ff0000\"\n            android:textColor=\"#00ff00\"\n            android:enabled=\"false\"\n            android:lines=\"5\"\n            android:visibility=\"invisible\"\n            android:textSize=\"17sp\"\n            android:paddingLeft=\"1dip\"\n            android:paddingTop=\"2dip\"\n            android:paddingRight=\"3dip\"\n            android:paddingBottom=\"4dip\"/>\n\n    <TextView android:layout_width=\"wrap_content\"\n              android:layout_height=\"wrap_content\"\n              android:background=\"#eeffff00\"\n              android:textSize=\"17px\" />\n\n    <TextView android:layout_width=\"wrap_content\"\n              android:layout_height=\"wrap_content\"\n              android:background=\"@android:color/background_light\"\n              android:textSize=\"17dip\" />\n\n</FrameLayout>"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/dimensions/layout.kt",
    "content": "linearLayout {\n    button.lparams(width = wrapContent, height = wrapContent) {\n        leftMargin = dip(0.5f)\n        topMargin = dip(1)\n        rightMargin = sp(2)\n        bottomMargin = px(3)\n    }\n    button.lparams(width = wrapContent, height = wrapContent)\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/dimensions/layout.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n              android:layout_width=\"match_parent\"\n              android:layout_height=\"match_parent\">\n\n    <Button\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginLeft=\"0.5dp\"\n            android:layout_marginTop=\"1dip\"\n            android:layout_marginRight=\"2sp\"\n            android:layout_marginBottom=\"3px\"/>\n\n    <Button\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginLeft=\"4in\"\n            android:layout_marginTop=\"5pt\"\n            android:layout_marginRight=\"6mm\"/>\n\n</LinearLayout>"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/linearLayout/layout.kt",
    "content": "linearLayout {\n    button.lparams(width = matchParent, height = wrapContent) {\n        gravity = Gravity.END\n        bottomMargin = dip(5)\n    }\n    textView.lparams(width = wrapContent, height = matchParent) {\n        gravity = Gravity.CENTER\n        weight = 5\n        margin = dip(10)\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/linearLayout/layout.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n              android:layout_width=\"match_parent\"\n              android:layout_height=\"match_parent\">\n\n    <Button\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"end\"\n            android:layout_marginBottom=\"5dp\"/>\n\n    <TextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"fill_parent\"\n            android:layout_gravity=\"center\"\n            android:layout_margin=\"10dp\"\n            android:layout_weight=\"5\"/>\n\n</LinearLayout>"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/relativeLayout/layout.kt",
    "content": "relativeLayout {\n    button {\n        id = Ids.button1\n    }.lparams(width = matchParent, height = wrapContent) {\n        toLeftOf(Ids.textView2)\n        centerInParent()\n    }\n    textView {\n        id = Ids.textView2\n    }.lparams(width = wrapContent, height = matchParent) {\n        below(Ids.button1)\n        sameRight(Ids.button1)\n        alignParentRight()\n    }\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/relativeLayout/layout.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\">\n\n    <Button\n            android:id=\"@+id/button1\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_toLeftOf=\"@+id/textView2\"\n            android:layout_centerInParent=\"true\"\n            />\n\n    <TextView\n            android:id=\"@+id/textView2\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"fill_parent\"\n            android:layout_alignRight=\"@+id/button1\"\n            android:layout_below=\"@+id/button1\"\n            android:layout_alignParentRight=\"true\"\n            />\n\n</RelativeLayout>"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/simple/layout.kt",
    "content": "linearLayout {\n    orientation = LinearLayout.VERTICAL\n\n    textView(\"Hello World\").lparams(width = matchParent, height = wrapContent)\n}"
  },
  {
    "path": "anko/idea-plugin/xml-converter/testData/simple/layout.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n              android:orientation=\"vertical\"\n              android:layout_width=\"fill_parent\"\n              android:layout_height=\"fill_parent\">\n    <TextView\n            android:layout_width=\"fill_parent\"\n            android:layout_height=\"wrap_content\"\n            android:text=\"Hello World\"/>\n</LinearLayout>"
  },
  {
    "path": "anko/library/generated/anko/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':generated:anko-coroutines')\n    api project(':generated:anko-sqlite')\n    api project(':generated:anko-sdk27')\n    api project(':generated:anko-sdk27-coroutines')\n    api project(':generated:anko-appcompat-v7')\n    api project(':generated:anko-appcompat-v7-coroutines')\n}\n"
  },
  {
    "path": "anko/library/generated/anko/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.anko\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/appcompat-v7/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:appcompat-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-support-v4')\n    api project(':generated:anko-appcompat-v7-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.appcompatV7\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/appcompat-v7/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"AppcompatV7LayoutsKt\")\npackage org.jetbrains.anko.appcompat.v7\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.LinearLayout\nimport android.support.v7.view.menu.ListMenuItemView\nimport android.view.View\nimport android.widget.FrameLayout\nimport android.support.v7.widget.ActionBarContainer\nimport android.support.v7.widget.ActionBarOverlayLayout\nimport android.support.v7.widget.ActionMenuView\nimport android.support.v7.widget.LinearLayoutCompat\nimport android.support.v7.widget.AlertDialogLayout\nimport android.support.v7.widget.ButtonBarLayout\nimport android.support.v7.widget.ScrollingTabContainerView\nimport android.support.v7.widget.Toolbar\nimport android.support.v7.app.ActionBar\n\nopen class _ListMenuItemView(ctx: Context, attrs: AttributeSet?): ListMenuItemView(ctx, null) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionBarContainer(ctx: Context): ActionBarContainer(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionBarOverlayLayout(ctx: Context): ActionBarOverlayLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionBarOverlayLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionBarOverlayLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: ActionBarOverlayLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: ActionBarOverlayLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = ActionBarOverlayLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionMenuView(ctx: Context): ActionMenuView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AlertDialogLayout(ctx: Context): AlertDialogLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayoutCompat.LayoutParams?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayoutCompat.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ButtonBarLayout(ctx: Context, attrs: AttributeSet?): ButtonBarLayout(ctx, null) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayoutCompat(ctx: Context): LinearLayoutCompat(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayoutCompat.LayoutParams?,\n            init: LinearLayoutCompat.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayoutCompat.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayoutCompat.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollingTabContainerView(ctx: Context): ScrollingTabContainerView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Toolbar(ctx: Context): Toolbar(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"AppcompatV7PropertiesKt\")\npackage org.jetbrains.anko.appcompat.v7\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.support.v7.widget.Toolbar.logoResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogo(v)\n\nvar android.support.v7.widget.Toolbar.logoDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogoDescription(v)\n\nvar android.support.v7.widget.Toolbar.navigationContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationContentDescription(v)\n\nvar android.support.v7.widget.Toolbar.navigationIconResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationIcon(v)\n\nvar android.support.v7.widget.Toolbar.subtitleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSubtitle(v)\n\nvar android.support.v7.widget.Toolbar.titleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTitle(v)\n\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7/src/main/java/Views.kt",
    "content": "@file:JvmName(\"AppcompatV7ViewsKt\")\npackage org.jetbrains.anko.appcompat.v7\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$AppcompatV7View` {\n    val ACTION_MENU_ITEM_VIEW = { ctx: Context -> android.support.v7.view.menu.ActionMenuItemView(ctx) }\n    val EXPANDED_MENU_VIEW = { ctx: Context -> android.support.v7.view.menu.ExpandedMenuView(ctx, null) }\n    val ACTION_BAR_CONTEXT_VIEW = { ctx: Context -> android.support.v7.widget.ActionBarContextView(ctx) }\n    val ACTIVITY_CHOOSER_VIEW = { ctx: Context -> android.support.v7.widget.ActivityChooserView(ctx) }\n    val TINTED_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatAutoCompleteTextView(ctx) else AutoCompleteTextView(ctx) }\n    val TINTED_BUTTON = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatButton(ctx) else Button(ctx) }\n    val TINTED_CHECK_BOX = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatCheckBox(ctx) else CheckBox(ctx) }\n    val TINTED_CHECKED_TEXT_VIEW = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatCheckedTextView(ctx) else CheckedTextView(ctx) }\n    val TINTED_EDIT_TEXT = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatEditText(ctx) else EditText(ctx) }\n    val TINTED_IMAGE_BUTTON = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatImageButton(ctx) else ImageButton(ctx) }\n    val TINTED_IMAGE_VIEW = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatImageView(ctx) else ImageView(ctx) }\n    val TINTED_MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatMultiAutoCompleteTextView(ctx) else MultiAutoCompleteTextView(ctx) }\n    val TINTED_RADIO_BUTTON = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatRadioButton(ctx) else RadioButton(ctx) }\n    val TINTED_RATING_BAR = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatRatingBar(ctx) else RatingBar(ctx) }\n    val TINTED_SEEK_BAR = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatSeekBar(ctx) else SeekBar(ctx) }\n    val TINTED_SPINNER = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatSpinner(ctx) else Spinner(ctx) }\n    val TINTED_TEXT_VIEW = { ctx: Context -> if (Build.VERSION.SDK_INT < 21) android.support.v7.widget.AppCompatTextView(ctx) else TextView(ctx) }\n    val CONTENT_FRAME_LAYOUT = { ctx: Context -> android.support.v7.widget.ContentFrameLayout(ctx) }\n    val DIALOG_TITLE = { ctx: Context -> android.support.v7.widget.DialogTitle(ctx) }\n    val FIT_WINDOWS_FRAME_LAYOUT = { ctx: Context -> android.support.v7.widget.FitWindowsFrameLayout(ctx) }\n    val FIT_WINDOWS_LINEAR_LAYOUT = { ctx: Context -> android.support.v7.widget.FitWindowsLinearLayout(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.support.v7.widget.SearchView(ctx) }\n    val SWITCH_COMPAT = { ctx: Context -> android.support.v7.widget.SwitchCompat(ctx) }\n    val VIEW_STUB_COMPAT = { ctx: Context -> android.support.v7.widget.ViewStubCompat(ctx, null) }\n}\n\ninline fun ViewManager.actionMenuItemView(): android.support.v7.view.menu.ActionMenuItemView = actionMenuItemView() {}\ninline fun ViewManager.actionMenuItemView(init: (@AnkoViewDslMarker android.support.v7.view.menu.ActionMenuItemView).() -> Unit): android.support.v7.view.menu.ActionMenuItemView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_MENU_ITEM_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuItemView(theme: Int = 0): android.support.v7.view.menu.ActionMenuItemView = themedActionMenuItemView(theme) {}\ninline fun ViewManager.themedActionMenuItemView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.view.menu.ActionMenuItemView).() -> Unit): android.support.v7.view.menu.ActionMenuItemView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_MENU_ITEM_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.expandedMenuView(): android.support.v7.view.menu.ExpandedMenuView = expandedMenuView() {}\ninline fun ViewManager.expandedMenuView(init: (@AnkoViewDslMarker android.support.v7.view.menu.ExpandedMenuView).() -> Unit): android.support.v7.view.menu.ExpandedMenuView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.EXPANDED_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandedMenuView(theme: Int = 0): android.support.v7.view.menu.ExpandedMenuView = themedExpandedMenuView(theme) {}\ninline fun ViewManager.themedExpandedMenuView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.view.menu.ExpandedMenuView).() -> Unit): android.support.v7.view.menu.ExpandedMenuView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.EXPANDED_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.expandedMenuView(): android.support.v7.view.menu.ExpandedMenuView = expandedMenuView() {}\ninline fun Context.expandedMenuView(init: (@AnkoViewDslMarker android.support.v7.view.menu.ExpandedMenuView).() -> Unit): android.support.v7.view.menu.ExpandedMenuView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.EXPANDED_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandedMenuView(theme: Int = 0): android.support.v7.view.menu.ExpandedMenuView = themedExpandedMenuView(theme) {}\ninline fun Context.themedExpandedMenuView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.view.menu.ExpandedMenuView).() -> Unit): android.support.v7.view.menu.ExpandedMenuView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.EXPANDED_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandedMenuView(): android.support.v7.view.menu.ExpandedMenuView = expandedMenuView() {}\ninline fun Activity.expandedMenuView(init: (@AnkoViewDslMarker android.support.v7.view.menu.ExpandedMenuView).() -> Unit): android.support.v7.view.menu.ExpandedMenuView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.EXPANDED_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandedMenuView(theme: Int = 0): android.support.v7.view.menu.ExpandedMenuView = themedExpandedMenuView(theme) {}\ninline fun Activity.themedExpandedMenuView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.view.menu.ExpandedMenuView).() -> Unit): android.support.v7.view.menu.ExpandedMenuView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.EXPANDED_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.actionBarContextView(): android.support.v7.widget.ActionBarContextView = actionBarContextView() {}\ninline fun ViewManager.actionBarContextView(init: (@AnkoViewDslMarker android.support.v7.widget.ActionBarContextView).() -> Unit): android.support.v7.widget.ActionBarContextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_BAR_CONTEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionBarContextView(theme: Int = 0): android.support.v7.widget.ActionBarContextView = themedActionBarContextView(theme) {}\ninline fun ViewManager.themedActionBarContextView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ActionBarContextView).() -> Unit): android.support.v7.widget.ActionBarContextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_BAR_CONTEXT_VIEW, theme) { init() }\n}\n\ninline fun Context.actionBarContextView(): android.support.v7.widget.ActionBarContextView = actionBarContextView() {}\ninline fun Context.actionBarContextView(init: (@AnkoViewDslMarker android.support.v7.widget.ActionBarContextView).() -> Unit): android.support.v7.widget.ActionBarContextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_BAR_CONTEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionBarContextView(theme: Int = 0): android.support.v7.widget.ActionBarContextView = themedActionBarContextView(theme) {}\ninline fun Context.themedActionBarContextView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ActionBarContextView).() -> Unit): android.support.v7.widget.ActionBarContextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_BAR_CONTEXT_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionBarContextView(): android.support.v7.widget.ActionBarContextView = actionBarContextView() {}\ninline fun Activity.actionBarContextView(init: (@AnkoViewDslMarker android.support.v7.widget.ActionBarContextView).() -> Unit): android.support.v7.widget.ActionBarContextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_BAR_CONTEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionBarContextView(theme: Int = 0): android.support.v7.widget.ActionBarContextView = themedActionBarContextView(theme) {}\ninline fun Activity.themedActionBarContextView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ActionBarContextView).() -> Unit): android.support.v7.widget.ActionBarContextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTION_BAR_CONTEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.activityChooserView(): android.support.v7.widget.ActivityChooserView = activityChooserView() {}\ninline fun ViewManager.activityChooserView(init: (@AnkoViewDslMarker android.support.v7.widget.ActivityChooserView).() -> Unit): android.support.v7.widget.ActivityChooserView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTIVITY_CHOOSER_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActivityChooserView(theme: Int = 0): android.support.v7.widget.ActivityChooserView = themedActivityChooserView(theme) {}\ninline fun ViewManager.themedActivityChooserView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ActivityChooserView).() -> Unit): android.support.v7.widget.ActivityChooserView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTIVITY_CHOOSER_VIEW, theme) { init() }\n}\n\ninline fun Context.activityChooserView(): android.support.v7.widget.ActivityChooserView = activityChooserView() {}\ninline fun Context.activityChooserView(init: (@AnkoViewDslMarker android.support.v7.widget.ActivityChooserView).() -> Unit): android.support.v7.widget.ActivityChooserView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTIVITY_CHOOSER_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActivityChooserView(theme: Int = 0): android.support.v7.widget.ActivityChooserView = themedActivityChooserView(theme) {}\ninline fun Context.themedActivityChooserView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ActivityChooserView).() -> Unit): android.support.v7.widget.ActivityChooserView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTIVITY_CHOOSER_VIEW, theme) { init() }\n}\n\ninline fun Activity.activityChooserView(): android.support.v7.widget.ActivityChooserView = activityChooserView() {}\ninline fun Activity.activityChooserView(init: (@AnkoViewDslMarker android.support.v7.widget.ActivityChooserView).() -> Unit): android.support.v7.widget.ActivityChooserView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.ACTIVITY_CHOOSER_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActivityChooserView(theme: Int = 0): android.support.v7.widget.ActivityChooserView = themedActivityChooserView(theme) {}\ninline fun Activity.themedActivityChooserView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ActivityChooserView).() -> Unit): android.support.v7.widget.ActivityChooserView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.ACTIVITY_CHOOSER_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tintedAutoCompleteTextView(): AutoCompleteTextView = tintedAutoCompleteTextView() {}\ninline fun ViewManager.tintedAutoCompleteTextView(init: (@AnkoViewDslMarker AutoCompleteTextView).() -> Unit): AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedAutoCompleteTextView(theme: Int = 0): AutoCompleteTextView = themedTintedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedTintedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker AutoCompleteTextView).() -> Unit): AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tintedButton(): Button = tintedButton() {}\ninline fun ViewManager.tintedButton(init: (@AnkoViewDslMarker Button).() -> Unit): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedButton(theme: Int = 0): Button = themedTintedButton(theme) {}\ninline fun ViewManager.themedTintedButton(theme: Int = 0, init: (@AnkoViewDslMarker Button).() -> Unit): Button {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.tintedButton(text: CharSequence?): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedButton(text: CharSequence?, init: (@AnkoViewDslMarker Button).() -> Unit): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedButton(text: CharSequence?, theme: Int): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker Button).() -> Unit): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedButton(text: Int): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedButton(text: Int, init: (@AnkoViewDslMarker Button).() -> Unit): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedButton(text: Int, theme: Int): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker Button).() -> Unit): Button {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedCheckBox(): CheckBox = tintedCheckBox() {}\ninline fun ViewManager.tintedCheckBox(init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedCheckBox(theme: Int = 0): CheckBox = themedTintedCheckBox(theme) {}\ninline fun ViewManager.themedTintedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.tintedCheckBox(text: CharSequence?): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedCheckBox(text: CharSequence?, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: CharSequence?, theme: Int): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedCheckBox(text: Int): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedCheckBox(text: Int, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: Int, theme: Int): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedCheckBox(text: CharSequence?, checked: Boolean): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.tintedCheckBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.tintedCheckBox(text: Int, checked: Boolean): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.tintedCheckBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: Int, checked: Boolean, theme: Int): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedTintedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker CheckBox).() -> Unit): CheckBox {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.tintedCheckedTextView(): CheckedTextView = tintedCheckedTextView() {}\ninline fun ViewManager.tintedCheckedTextView(init: (@AnkoViewDslMarker CheckedTextView).() -> Unit): CheckedTextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedCheckedTextView(theme: Int = 0): CheckedTextView = themedTintedCheckedTextView(theme) {}\ninline fun ViewManager.themedTintedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker CheckedTextView).() -> Unit): CheckedTextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tintedEditText(): EditText = tintedEditText() {}\ninline fun ViewManager.tintedEditText(init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedEditText(theme: Int = 0): EditText = themedTintedEditText(theme) {}\ninline fun ViewManager.themedTintedEditText(theme: Int = 0, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.tintedEditText(text: CharSequence?): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedEditText(text: CharSequence?, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedEditText(text: CharSequence?, theme: Int): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedEditText(text: Int): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedEditText(text: Int, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedEditText(text: Int, theme: Int): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedImageButton(): ImageButton = tintedImageButton() {}\ninline fun ViewManager.tintedImageButton(init: (@AnkoViewDslMarker ImageButton).() -> Unit): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedImageButton(theme: Int = 0): ImageButton = themedTintedImageButton(theme) {}\ninline fun ViewManager.themedTintedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker ImageButton).() -> Unit): ImageButton {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.tintedImageButton(imageDrawable: android.graphics.drawable.Drawable?): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.tintedImageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker ImageButton).() -> Unit): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedTintedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedTintedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker ImageButton).() -> Unit): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.tintedImageButton(imageResource: Int): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.tintedImageButton(imageResource: Int, init: (@AnkoViewDslMarker ImageButton).() -> Unit): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedTintedImageButton(imageResource: Int, theme: Int): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedTintedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker ImageButton).() -> Unit): ImageButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.tintedImageView(): ImageView = tintedImageView() {}\ninline fun ViewManager.tintedImageView(init: (@AnkoViewDslMarker ImageView).() -> Unit): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedImageView(theme: Int = 0): ImageView = themedTintedImageView(theme) {}\ninline fun ViewManager.themedTintedImageView(theme: Int = 0, init: (@AnkoViewDslMarker ImageView).() -> Unit): ImageView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tintedImageView(imageDrawable: android.graphics.drawable.Drawable?): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.tintedImageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker ImageView).() -> Unit): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedTintedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedTintedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker ImageView).() -> Unit): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.tintedImageView(imageResource: Int): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.tintedImageView(imageResource: Int, init: (@AnkoViewDslMarker ImageView).() -> Unit): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedTintedImageView(imageResource: Int, theme: Int): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedTintedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker ImageView).() -> Unit): ImageView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.tintedMultiAutoCompleteTextView(): MultiAutoCompleteTextView = tintedMultiAutoCompleteTextView() {}\ninline fun ViewManager.tintedMultiAutoCompleteTextView(init: (@AnkoViewDslMarker MultiAutoCompleteTextView).() -> Unit): MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedMultiAutoCompleteTextView(theme: Int = 0): MultiAutoCompleteTextView = themedTintedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedTintedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker MultiAutoCompleteTextView).() -> Unit): MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tintedRadioButton(): RadioButton = tintedRadioButton() {}\ninline fun ViewManager.tintedRadioButton(init: (@AnkoViewDslMarker RadioButton).() -> Unit): RadioButton {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedRadioButton(theme: Int = 0): RadioButton = themedTintedRadioButton(theme) {}\ninline fun ViewManager.themedTintedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker RadioButton).() -> Unit): RadioButton {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.tintedRatingBar(): RatingBar = tintedRatingBar() {}\ninline fun ViewManager.tintedRatingBar(init: (@AnkoViewDslMarker RatingBar).() -> Unit): RatingBar {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedRatingBar(theme: Int = 0): RatingBar = themedTintedRatingBar(theme) {}\ninline fun ViewManager.themedTintedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker RatingBar).() -> Unit): RatingBar {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.tintedSeekBar(): SeekBar = tintedSeekBar() {}\ninline fun ViewManager.tintedSeekBar(init: (@AnkoViewDslMarker SeekBar).() -> Unit): SeekBar {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedSeekBar(theme: Int = 0): SeekBar = themedTintedSeekBar(theme) {}\ninline fun ViewManager.themedTintedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker SeekBar).() -> Unit): SeekBar {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.tintedSpinner(): Spinner = tintedSpinner() {}\ninline fun ViewManager.tintedSpinner(init: (@AnkoViewDslMarker Spinner).() -> Unit): Spinner {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedSpinner(theme: Int = 0): Spinner = themedTintedSpinner(theme) {}\ninline fun ViewManager.themedTintedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker Spinner).() -> Unit): Spinner {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SPINNER, theme) { init() }\n}\n\ninline fun Context.tintedSpinner(): Spinner = tintedSpinner() {}\ninline fun Context.tintedSpinner(init: (@AnkoViewDslMarker Spinner).() -> Unit): Spinner {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedTintedSpinner(theme: Int = 0): Spinner = themedTintedSpinner(theme) {}\ninline fun Context.themedTintedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker Spinner).() -> Unit): Spinner {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SPINNER, theme) { init() }\n}\n\ninline fun Activity.tintedSpinner(): Spinner = tintedSpinner() {}\ninline fun Activity.tintedSpinner(init: (@AnkoViewDslMarker Spinner).() -> Unit): Spinner {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTintedSpinner(theme: Int = 0): Spinner = themedTintedSpinner(theme) {}\ninline fun Activity.themedTintedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker Spinner).() -> Unit): Spinner {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.tintedTextView(): TextView = tintedTextView() {}\ninline fun ViewManager.tintedTextView(init: (@AnkoViewDslMarker TextView).() -> Unit): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTintedTextView(theme: Int = 0): TextView = themedTintedTextView(theme) {}\ninline fun ViewManager.themedTintedTextView(theme: Int = 0, init: (@AnkoViewDslMarker TextView).() -> Unit): TextView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tintedTextView(text: CharSequence?): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedTextView(text: CharSequence?, init: (@AnkoViewDslMarker TextView).() -> Unit): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedTextView(text: CharSequence?, theme: Int): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker TextView).() -> Unit): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.tintedTextView(text: Int): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.tintedTextView(text: Int, init: (@AnkoViewDslMarker TextView).() -> Unit): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedTextView(text: Int, theme: Int): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTintedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker TextView).() -> Unit): TextView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.TINTED_TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.contentFrameLayout(): android.support.v7.widget.ContentFrameLayout = contentFrameLayout() {}\ninline fun ViewManager.contentFrameLayout(init: (@AnkoViewDslMarker android.support.v7.widget.ContentFrameLayout).() -> Unit): android.support.v7.widget.ContentFrameLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.CONTENT_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedContentFrameLayout(theme: Int = 0): android.support.v7.widget.ContentFrameLayout = themedContentFrameLayout(theme) {}\ninline fun ViewManager.themedContentFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ContentFrameLayout).() -> Unit): android.support.v7.widget.ContentFrameLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.CONTENT_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.contentFrameLayout(): android.support.v7.widget.ContentFrameLayout = contentFrameLayout() {}\ninline fun Context.contentFrameLayout(init: (@AnkoViewDslMarker android.support.v7.widget.ContentFrameLayout).() -> Unit): android.support.v7.widget.ContentFrameLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.CONTENT_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedContentFrameLayout(theme: Int = 0): android.support.v7.widget.ContentFrameLayout = themedContentFrameLayout(theme) {}\ninline fun Context.themedContentFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ContentFrameLayout).() -> Unit): android.support.v7.widget.ContentFrameLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.CONTENT_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.contentFrameLayout(): android.support.v7.widget.ContentFrameLayout = contentFrameLayout() {}\ninline fun Activity.contentFrameLayout(init: (@AnkoViewDslMarker android.support.v7.widget.ContentFrameLayout).() -> Unit): android.support.v7.widget.ContentFrameLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.CONTENT_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedContentFrameLayout(theme: Int = 0): android.support.v7.widget.ContentFrameLayout = themedContentFrameLayout(theme) {}\ninline fun Activity.themedContentFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ContentFrameLayout).() -> Unit): android.support.v7.widget.ContentFrameLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.CONTENT_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.dialogTitle(): android.support.v7.widget.DialogTitle = dialogTitle() {}\ninline fun ViewManager.dialogTitle(init: (@AnkoViewDslMarker android.support.v7.widget.DialogTitle).() -> Unit): android.support.v7.widget.DialogTitle {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.DIALOG_TITLE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialogTitle(theme: Int = 0): android.support.v7.widget.DialogTitle = themedDialogTitle(theme) {}\ninline fun ViewManager.themedDialogTitle(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.DialogTitle).() -> Unit): android.support.v7.widget.DialogTitle {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.DIALOG_TITLE, theme) { init() }\n}\n\ninline fun ViewManager.fitWindowsFrameLayout(): android.support.v7.widget.FitWindowsFrameLayout = fitWindowsFrameLayout() {}\ninline fun ViewManager.fitWindowsFrameLayout(init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsFrameLayout).() -> Unit): android.support.v7.widget.FitWindowsFrameLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFitWindowsFrameLayout(theme: Int = 0): android.support.v7.widget.FitWindowsFrameLayout = themedFitWindowsFrameLayout(theme) {}\ninline fun ViewManager.themedFitWindowsFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsFrameLayout).() -> Unit): android.support.v7.widget.FitWindowsFrameLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.fitWindowsFrameLayout(): android.support.v7.widget.FitWindowsFrameLayout = fitWindowsFrameLayout() {}\ninline fun Context.fitWindowsFrameLayout(init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsFrameLayout).() -> Unit): android.support.v7.widget.FitWindowsFrameLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFitWindowsFrameLayout(theme: Int = 0): android.support.v7.widget.FitWindowsFrameLayout = themedFitWindowsFrameLayout(theme) {}\ninline fun Context.themedFitWindowsFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsFrameLayout).() -> Unit): android.support.v7.widget.FitWindowsFrameLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.fitWindowsFrameLayout(): android.support.v7.widget.FitWindowsFrameLayout = fitWindowsFrameLayout() {}\ninline fun Activity.fitWindowsFrameLayout(init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsFrameLayout).() -> Unit): android.support.v7.widget.FitWindowsFrameLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFitWindowsFrameLayout(theme: Int = 0): android.support.v7.widget.FitWindowsFrameLayout = themedFitWindowsFrameLayout(theme) {}\ninline fun Activity.themedFitWindowsFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsFrameLayout).() -> Unit): android.support.v7.widget.FitWindowsFrameLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.fitWindowsLinearLayout(): android.support.v7.widget.FitWindowsLinearLayout = fitWindowsLinearLayout() {}\ninline fun ViewManager.fitWindowsLinearLayout(init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsLinearLayout).() -> Unit): android.support.v7.widget.FitWindowsLinearLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFitWindowsLinearLayout(theme: Int = 0): android.support.v7.widget.FitWindowsLinearLayout = themedFitWindowsLinearLayout(theme) {}\ninline fun ViewManager.themedFitWindowsLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsLinearLayout).() -> Unit): android.support.v7.widget.FitWindowsLinearLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.fitWindowsLinearLayout(): android.support.v7.widget.FitWindowsLinearLayout = fitWindowsLinearLayout() {}\ninline fun Context.fitWindowsLinearLayout(init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsLinearLayout).() -> Unit): android.support.v7.widget.FitWindowsLinearLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFitWindowsLinearLayout(theme: Int = 0): android.support.v7.widget.FitWindowsLinearLayout = themedFitWindowsLinearLayout(theme) {}\ninline fun Context.themedFitWindowsLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsLinearLayout).() -> Unit): android.support.v7.widget.FitWindowsLinearLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.fitWindowsLinearLayout(): android.support.v7.widget.FitWindowsLinearLayout = fitWindowsLinearLayout() {}\ninline fun Activity.fitWindowsLinearLayout(init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsLinearLayout).() -> Unit): android.support.v7.widget.FitWindowsLinearLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFitWindowsLinearLayout(theme: Int = 0): android.support.v7.widget.FitWindowsLinearLayout = themedFitWindowsLinearLayout(theme) {}\ninline fun Activity.themedFitWindowsLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.FitWindowsLinearLayout).() -> Unit): android.support.v7.widget.FitWindowsLinearLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.FIT_WINDOWS_LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.support.v7.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.support.v7.widget.SearchView).() -> Unit): android.support.v7.widget.SearchView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.support.v7.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.SearchView).() -> Unit): android.support.v7.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.support.v7.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.support.v7.widget.SearchView).() -> Unit): android.support.v7.widget.SearchView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.support.v7.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.SearchView).() -> Unit): android.support.v7.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.support.v7.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.support.v7.widget.SearchView).() -> Unit): android.support.v7.widget.SearchView {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.support.v7.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.SearchView).() -> Unit): android.support.v7.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switchCompat(): android.support.v7.widget.SwitchCompat = switchCompat() {}\ninline fun ViewManager.switchCompat(init: (@AnkoViewDslMarker android.support.v7.widget.SwitchCompat).() -> Unit): android.support.v7.widget.SwitchCompat {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.SWITCH_COMPAT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitchCompat(theme: Int = 0): android.support.v7.widget.SwitchCompat = themedSwitchCompat(theme) {}\ninline fun ViewManager.themedSwitchCompat(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.SwitchCompat).() -> Unit): android.support.v7.widget.SwitchCompat {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.SWITCH_COMPAT, theme) { init() }\n}\n\ninline fun ViewManager.viewStubCompat(): android.support.v7.widget.ViewStubCompat = viewStubCompat() {}\ninline fun ViewManager.viewStubCompat(init: (@AnkoViewDslMarker android.support.v7.widget.ViewStubCompat).() -> Unit): android.support.v7.widget.ViewStubCompat {\n    return ankoView(`$$Anko$Factories$AppcompatV7View`.VIEW_STUB_COMPAT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStubCompat(theme: Int = 0): android.support.v7.widget.ViewStubCompat = themedViewStubCompat(theme) {}\ninline fun ViewManager.themedViewStubCompat(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v7.widget.ViewStubCompat).() -> Unit): android.support.v7.widget.ViewStubCompat {\nreturn ankoView(`$$Anko$Factories$AppcompatV7View`.VIEW_STUB_COMPAT, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$AppcompatV7ViewGroup` {\n    val LIST_MENU_ITEM_VIEW = { ctx: Context -> _ListMenuItemView(ctx, null) }\n    val ACTION_BAR_CONTAINER = { ctx: Context -> _ActionBarContainer(ctx) }\n    val ACTION_BAR_OVERLAY_LAYOUT = { ctx: Context -> _ActionBarOverlayLayout(ctx) }\n    val ACTION_MENU_VIEW = { ctx: Context -> _ActionMenuView(ctx) }\n    val ALERT_DIALOG_LAYOUT = { ctx: Context -> _AlertDialogLayout(ctx) }\n    val BUTTON_BAR_LAYOUT = { ctx: Context -> _ButtonBarLayout(ctx, null) }\n    val LINEAR_LAYOUT_COMPAT = { ctx: Context -> _LinearLayoutCompat(ctx) }\n    val SCROLLING_TAB_CONTAINER_VIEW = { ctx: Context -> _ScrollingTabContainerView(ctx) }\n    val TOOLBAR = { ctx: Context -> _Toolbar(ctx) }\n}\n\ninline fun ViewManager.listMenuItemView(): android.support.v7.view.menu.ListMenuItemView = listMenuItemView() {}\ninline fun ViewManager.listMenuItemView(init: (@AnkoViewDslMarker _ListMenuItemView).() -> Unit): android.support.v7.view.menu.ListMenuItemView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LIST_MENU_ITEM_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListMenuItemView(theme: Int = 0): android.support.v7.view.menu.ListMenuItemView = themedListMenuItemView(theme) {}\ninline fun ViewManager.themedListMenuItemView(theme: Int = 0, init: (@AnkoViewDslMarker _ListMenuItemView).() -> Unit): android.support.v7.view.menu.ListMenuItemView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LIST_MENU_ITEM_VIEW, theme) { init() }\n}\n\ninline fun Context.listMenuItemView(): android.support.v7.view.menu.ListMenuItemView = listMenuItemView() {}\ninline fun Context.listMenuItemView(init: (@AnkoViewDslMarker _ListMenuItemView).() -> Unit): android.support.v7.view.menu.ListMenuItemView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LIST_MENU_ITEM_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListMenuItemView(theme: Int = 0): android.support.v7.view.menu.ListMenuItemView = themedListMenuItemView(theme) {}\ninline fun Context.themedListMenuItemView(theme: Int = 0, init: (@AnkoViewDslMarker _ListMenuItemView).() -> Unit): android.support.v7.view.menu.ListMenuItemView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LIST_MENU_ITEM_VIEW, theme) { init() }\n}\n\ninline fun Activity.listMenuItemView(): android.support.v7.view.menu.ListMenuItemView = listMenuItemView() {}\ninline fun Activity.listMenuItemView(init: (@AnkoViewDslMarker _ListMenuItemView).() -> Unit): android.support.v7.view.menu.ListMenuItemView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LIST_MENU_ITEM_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListMenuItemView(theme: Int = 0): android.support.v7.view.menu.ListMenuItemView = themedListMenuItemView(theme) {}\ninline fun Activity.themedListMenuItemView(theme: Int = 0, init: (@AnkoViewDslMarker _ListMenuItemView).() -> Unit): android.support.v7.view.menu.ListMenuItemView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LIST_MENU_ITEM_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.actionBarContainer(): android.support.v7.widget.ActionBarContainer = actionBarContainer() {}\ninline fun ViewManager.actionBarContainer(init: (@AnkoViewDslMarker _ActionBarContainer).() -> Unit): android.support.v7.widget.ActionBarContainer {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_CONTAINER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionBarContainer(theme: Int = 0): android.support.v7.widget.ActionBarContainer = themedActionBarContainer(theme) {}\ninline fun ViewManager.themedActionBarContainer(theme: Int = 0, init: (@AnkoViewDslMarker _ActionBarContainer).() -> Unit): android.support.v7.widget.ActionBarContainer {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_CONTAINER, theme) { init() }\n}\n\ninline fun Context.actionBarContainer(): android.support.v7.widget.ActionBarContainer = actionBarContainer() {}\ninline fun Context.actionBarContainer(init: (@AnkoViewDslMarker _ActionBarContainer).() -> Unit): android.support.v7.widget.ActionBarContainer {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_CONTAINER, theme = 0) { init() }\n}\n\ninline fun Context.themedActionBarContainer(theme: Int = 0): android.support.v7.widget.ActionBarContainer = themedActionBarContainer(theme) {}\ninline fun Context.themedActionBarContainer(theme: Int = 0, init: (@AnkoViewDslMarker _ActionBarContainer).() -> Unit): android.support.v7.widget.ActionBarContainer {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_CONTAINER, theme) { init() }\n}\n\ninline fun Activity.actionBarContainer(): android.support.v7.widget.ActionBarContainer = actionBarContainer() {}\ninline fun Activity.actionBarContainer(init: (@AnkoViewDslMarker _ActionBarContainer).() -> Unit): android.support.v7.widget.ActionBarContainer {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_CONTAINER, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionBarContainer(theme: Int = 0): android.support.v7.widget.ActionBarContainer = themedActionBarContainer(theme) {}\ninline fun Activity.themedActionBarContainer(theme: Int = 0, init: (@AnkoViewDslMarker _ActionBarContainer).() -> Unit): android.support.v7.widget.ActionBarContainer {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_CONTAINER, theme) { init() }\n}\n\ninline fun ViewManager.actionBarOverlayLayout(): android.support.v7.widget.ActionBarOverlayLayout = actionBarOverlayLayout() {}\ninline fun ViewManager.actionBarOverlayLayout(init: (@AnkoViewDslMarker _ActionBarOverlayLayout).() -> Unit): android.support.v7.widget.ActionBarOverlayLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_OVERLAY_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionBarOverlayLayout(theme: Int = 0): android.support.v7.widget.ActionBarOverlayLayout = themedActionBarOverlayLayout(theme) {}\ninline fun ViewManager.themedActionBarOverlayLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ActionBarOverlayLayout).() -> Unit): android.support.v7.widget.ActionBarOverlayLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_OVERLAY_LAYOUT, theme) { init() }\n}\n\ninline fun Context.actionBarOverlayLayout(): android.support.v7.widget.ActionBarOverlayLayout = actionBarOverlayLayout() {}\ninline fun Context.actionBarOverlayLayout(init: (@AnkoViewDslMarker _ActionBarOverlayLayout).() -> Unit): android.support.v7.widget.ActionBarOverlayLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_OVERLAY_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedActionBarOverlayLayout(theme: Int = 0): android.support.v7.widget.ActionBarOverlayLayout = themedActionBarOverlayLayout(theme) {}\ninline fun Context.themedActionBarOverlayLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ActionBarOverlayLayout).() -> Unit): android.support.v7.widget.ActionBarOverlayLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_OVERLAY_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.actionBarOverlayLayout(): android.support.v7.widget.ActionBarOverlayLayout = actionBarOverlayLayout() {}\ninline fun Activity.actionBarOverlayLayout(init: (@AnkoViewDslMarker _ActionBarOverlayLayout).() -> Unit): android.support.v7.widget.ActionBarOverlayLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_OVERLAY_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionBarOverlayLayout(theme: Int = 0): android.support.v7.widget.ActionBarOverlayLayout = themedActionBarOverlayLayout(theme) {}\ninline fun Activity.themedActionBarOverlayLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ActionBarOverlayLayout).() -> Unit): android.support.v7.widget.ActionBarOverlayLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_BAR_OVERLAY_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.actionMenuView(): android.support.v7.widget.ActionMenuView = actionMenuView() {}\ninline fun ViewManager.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.support.v7.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuView(theme: Int = 0): android.support.v7.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun ViewManager.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.support.v7.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.actionMenuView(): android.support.v7.widget.ActionMenuView = actionMenuView() {}\ninline fun Context.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.support.v7.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionMenuView(theme: Int = 0): android.support.v7.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Context.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.support.v7.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionMenuView(): android.support.v7.widget.ActionMenuView = actionMenuView() {}\ninline fun Activity.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.support.v7.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionMenuView(theme: Int = 0): android.support.v7.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Activity.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.support.v7.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.alertDialogLayout(): android.support.v7.widget.AlertDialogLayout = alertDialogLayout() {}\ninline fun ViewManager.alertDialogLayout(init: (@AnkoViewDslMarker _AlertDialogLayout).() -> Unit): android.support.v7.widget.AlertDialogLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ALERT_DIALOG_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAlertDialogLayout(theme: Int = 0): android.support.v7.widget.AlertDialogLayout = themedAlertDialogLayout(theme) {}\ninline fun ViewManager.themedAlertDialogLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AlertDialogLayout).() -> Unit): android.support.v7.widget.AlertDialogLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ALERT_DIALOG_LAYOUT, theme) { init() }\n}\n\ninline fun Context.alertDialogLayout(): android.support.v7.widget.AlertDialogLayout = alertDialogLayout() {}\ninline fun Context.alertDialogLayout(init: (@AnkoViewDslMarker _AlertDialogLayout).() -> Unit): android.support.v7.widget.AlertDialogLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ALERT_DIALOG_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAlertDialogLayout(theme: Int = 0): android.support.v7.widget.AlertDialogLayout = themedAlertDialogLayout(theme) {}\ninline fun Context.themedAlertDialogLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AlertDialogLayout).() -> Unit): android.support.v7.widget.AlertDialogLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ALERT_DIALOG_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.alertDialogLayout(): android.support.v7.widget.AlertDialogLayout = alertDialogLayout() {}\ninline fun Activity.alertDialogLayout(init: (@AnkoViewDslMarker _AlertDialogLayout).() -> Unit): android.support.v7.widget.AlertDialogLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ALERT_DIALOG_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAlertDialogLayout(theme: Int = 0): android.support.v7.widget.AlertDialogLayout = themedAlertDialogLayout(theme) {}\ninline fun Activity.themedAlertDialogLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AlertDialogLayout).() -> Unit): android.support.v7.widget.AlertDialogLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.ALERT_DIALOG_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.buttonBarLayout(): android.support.v7.widget.ButtonBarLayout = buttonBarLayout() {}\ninline fun ViewManager.buttonBarLayout(init: (@AnkoViewDslMarker _ButtonBarLayout).() -> Unit): android.support.v7.widget.ButtonBarLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.BUTTON_BAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButtonBarLayout(theme: Int = 0): android.support.v7.widget.ButtonBarLayout = themedButtonBarLayout(theme) {}\ninline fun ViewManager.themedButtonBarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ButtonBarLayout).() -> Unit): android.support.v7.widget.ButtonBarLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.BUTTON_BAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.buttonBarLayout(): android.support.v7.widget.ButtonBarLayout = buttonBarLayout() {}\ninline fun Context.buttonBarLayout(init: (@AnkoViewDslMarker _ButtonBarLayout).() -> Unit): android.support.v7.widget.ButtonBarLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.BUTTON_BAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedButtonBarLayout(theme: Int = 0): android.support.v7.widget.ButtonBarLayout = themedButtonBarLayout(theme) {}\ninline fun Context.themedButtonBarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ButtonBarLayout).() -> Unit): android.support.v7.widget.ButtonBarLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.BUTTON_BAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.buttonBarLayout(): android.support.v7.widget.ButtonBarLayout = buttonBarLayout() {}\ninline fun Activity.buttonBarLayout(init: (@AnkoViewDslMarker _ButtonBarLayout).() -> Unit): android.support.v7.widget.ButtonBarLayout {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.BUTTON_BAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedButtonBarLayout(theme: Int = 0): android.support.v7.widget.ButtonBarLayout = themedButtonBarLayout(theme) {}\ninline fun Activity.themedButtonBarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ButtonBarLayout).() -> Unit): android.support.v7.widget.ButtonBarLayout {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.BUTTON_BAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.linearLayoutCompat(): android.support.v7.widget.LinearLayoutCompat = linearLayoutCompat() {}\ninline fun ViewManager.linearLayoutCompat(init: (@AnkoViewDslMarker _LinearLayoutCompat).() -> Unit): android.support.v7.widget.LinearLayoutCompat {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LINEAR_LAYOUT_COMPAT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayoutCompat(theme: Int = 0): android.support.v7.widget.LinearLayoutCompat = themedLinearLayoutCompat(theme) {}\ninline fun ViewManager.themedLinearLayoutCompat(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayoutCompat).() -> Unit): android.support.v7.widget.LinearLayoutCompat {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LINEAR_LAYOUT_COMPAT, theme) { init() }\n}\n\ninline fun Context.linearLayoutCompat(): android.support.v7.widget.LinearLayoutCompat = linearLayoutCompat() {}\ninline fun Context.linearLayoutCompat(init: (@AnkoViewDslMarker _LinearLayoutCompat).() -> Unit): android.support.v7.widget.LinearLayoutCompat {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LINEAR_LAYOUT_COMPAT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayoutCompat(theme: Int = 0): android.support.v7.widget.LinearLayoutCompat = themedLinearLayoutCompat(theme) {}\ninline fun Context.themedLinearLayoutCompat(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayoutCompat).() -> Unit): android.support.v7.widget.LinearLayoutCompat {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LINEAR_LAYOUT_COMPAT, theme) { init() }\n}\n\ninline fun Activity.linearLayoutCompat(): android.support.v7.widget.LinearLayoutCompat = linearLayoutCompat() {}\ninline fun Activity.linearLayoutCompat(init: (@AnkoViewDslMarker _LinearLayoutCompat).() -> Unit): android.support.v7.widget.LinearLayoutCompat {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LINEAR_LAYOUT_COMPAT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayoutCompat(theme: Int = 0): android.support.v7.widget.LinearLayoutCompat = themedLinearLayoutCompat(theme) {}\ninline fun Activity.themedLinearLayoutCompat(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayoutCompat).() -> Unit): android.support.v7.widget.LinearLayoutCompat {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.LINEAR_LAYOUT_COMPAT, theme) { init() }\n}\n\ninline fun ViewManager.scrollingTabContainerView(): android.support.v7.widget.ScrollingTabContainerView = scrollingTabContainerView() {}\ninline fun ViewManager.scrollingTabContainerView(init: (@AnkoViewDslMarker _ScrollingTabContainerView).() -> Unit): android.support.v7.widget.ScrollingTabContainerView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.SCROLLING_TAB_CONTAINER_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollingTabContainerView(theme: Int = 0): android.support.v7.widget.ScrollingTabContainerView = themedScrollingTabContainerView(theme) {}\ninline fun ViewManager.themedScrollingTabContainerView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollingTabContainerView).() -> Unit): android.support.v7.widget.ScrollingTabContainerView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.SCROLLING_TAB_CONTAINER_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollingTabContainerView(): android.support.v7.widget.ScrollingTabContainerView = scrollingTabContainerView() {}\ninline fun Context.scrollingTabContainerView(init: (@AnkoViewDslMarker _ScrollingTabContainerView).() -> Unit): android.support.v7.widget.ScrollingTabContainerView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.SCROLLING_TAB_CONTAINER_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollingTabContainerView(theme: Int = 0): android.support.v7.widget.ScrollingTabContainerView = themedScrollingTabContainerView(theme) {}\ninline fun Context.themedScrollingTabContainerView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollingTabContainerView).() -> Unit): android.support.v7.widget.ScrollingTabContainerView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.SCROLLING_TAB_CONTAINER_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollingTabContainerView(): android.support.v7.widget.ScrollingTabContainerView = scrollingTabContainerView() {}\ninline fun Activity.scrollingTabContainerView(init: (@AnkoViewDslMarker _ScrollingTabContainerView).() -> Unit): android.support.v7.widget.ScrollingTabContainerView {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.SCROLLING_TAB_CONTAINER_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollingTabContainerView(theme: Int = 0): android.support.v7.widget.ScrollingTabContainerView = themedScrollingTabContainerView(theme) {}\ninline fun Activity.themedScrollingTabContainerView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollingTabContainerView).() -> Unit): android.support.v7.widget.ScrollingTabContainerView {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.SCROLLING_TAB_CONTAINER_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.toolbar(): android.support.v7.widget.Toolbar = toolbar() {}\ninline fun ViewManager.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.support.v7.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToolbar(theme: Int = 0): android.support.v7.widget.Toolbar = themedToolbar(theme) {}\ninline fun ViewManager.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.support.v7.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Context.toolbar(): android.support.v7.widget.Toolbar = toolbar() {}\ninline fun Context.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.support.v7.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Context.themedToolbar(theme: Int = 0): android.support.v7.widget.Toolbar = themedToolbar(theme) {}\ninline fun Context.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.support.v7.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Activity.toolbar(): android.support.v7.widget.Toolbar = toolbar() {}\ninline fun Activity.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.support.v7.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Activity.themedToolbar(theme: Int = 0): android.support.v7.widget.Toolbar = themedToolbar(theme) {}\ninline fun Activity.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.support.v7.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$AppcompatV7ViewGroup`.TOOLBAR, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7-commons/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:support-v4:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-support-v4-commons')\n    api project(':static:appcompatV7-base')\n}\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7-commons/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.appcompatV7Common\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/appcompat-v7-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api \"com.android.support:appcompat-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-support-v4-commons')\n    api project(':generated:anko-appcompat-v7-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.appcompatV7.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/appcompat-v7-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"AppcompatV7CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.appcompat.v7.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\n\nfun android.support.v7.widget.ActionMenuView.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.support.v7.widget.ActivityChooserView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.support.v7.widget.FitWindowsFrameLayout.onFitSystemWindows(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(insets: android.graphics.Rect?) -> Unit\n) {\n    setOnFitSystemWindowsListener { insets ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(insets)\n        }\n    }\n}\n\nfun android.support.v7.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.support.v7.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.support.v7.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.support.v7.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.support.v7.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.support.v7.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.support.v7.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.support.v7.widget.Toolbar.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.support.v7.widget.ViewStubCompat.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.support.v7.widget.ViewStubCompat?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:appcompat-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-support-v4-commons')\n    api project(':generated:anko-appcompat-v7-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/appcompat-v7-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.appcompatV7.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/appcompat-v7-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"AppcompatV7ListenersListenersKt\")\npackage org.jetbrains.anko.appcompat.v7.listeners\n\n\ninline fun android.support.v7.widget.ActionMenuView.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.support.v7.widget.ActivityChooserView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.support.v7.widget.FitWindowsFrameLayout.onFitSystemWindows(noinline l: (insets: android.graphics.Rect?) -> Unit) {\n    setOnFitSystemWindowsListener(l)\n}\n\ninline fun android.support.v7.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.support.v7.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.support.v7.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.support.v7.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.support.v7.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.support.v7.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.support.v7.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\ninline fun android.support.v7.widget.Toolbar.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.support.v7.widget.ViewStubCompat.onInflate(noinline l: (stub: android.support.v7.widget.ViewStubCompat?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/cardview-v7/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:cardview-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/cardview-v7/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.cardviewV7\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/cardview-v7/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"CardviewV7LayoutsKt\")\npackage org.jetbrains.anko.cardview.v7\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.support.v7.widget.CardView\nimport android.view.View\n\nopen class _CardView(ctx: Context): CardView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/cardview-v7/src/main/java/Views.kt",
    "content": "@file:JvmName(\"CardviewV7ViewsKt\")\npackage org.jetbrains.anko.cardview.v7\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$CardviewV7ViewGroup` {\n    val CARD_VIEW = { ctx: Context -> _CardView(ctx) }\n}\n\ninline fun ViewManager.cardView(): android.support.v7.widget.CardView = cardView() {}\ninline fun ViewManager.cardView(init: (@AnkoViewDslMarker _CardView).() -> Unit): android.support.v7.widget.CardView {\n    return ankoView(`$$Anko$Factories$CardviewV7ViewGroup`.CARD_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCardView(theme: Int = 0): android.support.v7.widget.CardView = themedCardView(theme) {}\ninline fun ViewManager.themedCardView(theme: Int = 0, init: (@AnkoViewDslMarker _CardView).() -> Unit): android.support.v7.widget.CardView {\nreturn ankoView(`$$Anko$Factories$CardviewV7ViewGroup`.CARD_VIEW, theme) { init() }\n}\n\ninline fun Context.cardView(): android.support.v7.widget.CardView = cardView() {}\ninline fun Context.cardView(init: (@AnkoViewDslMarker _CardView).() -> Unit): android.support.v7.widget.CardView {\n    return ankoView(`$$Anko$Factories$CardviewV7ViewGroup`.CARD_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCardView(theme: Int = 0): android.support.v7.widget.CardView = themedCardView(theme) {}\ninline fun Context.themedCardView(theme: Int = 0, init: (@AnkoViewDslMarker _CardView).() -> Unit): android.support.v7.widget.CardView {\nreturn ankoView(`$$Anko$Factories$CardviewV7ViewGroup`.CARD_VIEW, theme) { init() }\n}\n\ninline fun Activity.cardView(): android.support.v7.widget.CardView = cardView() {}\ninline fun Activity.cardView(init: (@AnkoViewDslMarker _CardView).() -> Unit): android.support.v7.widget.CardView {\n    return ankoView(`$$Anko$Factories$CardviewV7ViewGroup`.CARD_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCardView(theme: Int = 0): android.support.v7.widget.CardView = themedCardView(theme) {}\ninline fun Activity.themedCardView(theme: Int = 0, init: (@AnkoViewDslMarker _CardView).() -> Unit): android.support.v7.widget.CardView {\nreturn ankoView(`$$Anko$Factories$CardviewV7ViewGroup`.CARD_VIEW, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/common/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/common/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.common\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/commons/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':static:commons-base')\n}\n"
  },
  {
    "path": "anko/library/generated/commons/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.commons\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/constraint-layout/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support.constraint:constraint-layout:$CONSTRAINT_LAYOUT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n    api project(':static:constraint-layout-base')\n}\n"
  },
  {
    "path": "anko/library/generated/constraint-layout/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.constraint.layout\">\n    <application/>\n</manifest>\n"
  },
  {
    "path": "anko/library/generated/constraint-layout/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"ConstraintLayoutLayoutsKt\")\npackage org.jetbrains.anko.constraint.layout\n\n\nimport android.support.constraint.ConstraintLayout\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.view.View\n\nopen class _ConstraintLayout(ctx: Context): ConstraintLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            source: ConstraintLayout.LayoutParams?,\n            init: ConstraintLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(source!!)\n        layoutParams.init()\n        layoutParams.validate()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ConstraintLayout.LayoutParams?\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ConstraintLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        layoutParams.validate()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ConstraintLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(width, height)\n        layoutParams.init()\n        layoutParams.validate()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: ConstraintLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(source!!)\n        layoutParams.init()\n        layoutParams.validate()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ConstraintLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/constraint-layout/src/main/java/Views.kt",
    "content": "@file:JvmName(\"ConstraintLayoutViewsKt\")\npackage org.jetbrains.anko.constraint.layout\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$ConstraintLayoutView` {\n    val BARRIER = { ctx: Context -> android.support.constraint.Barrier(ctx) }\n    val GROUP = { ctx: Context -> android.support.constraint.Group(ctx) }\n    val GUIDELINE = { ctx: Context -> android.support.constraint.Guideline(ctx) }\n    val PLACEHOLDER = { ctx: Context -> android.support.constraint.Placeholder(ctx) }\n}\n\ninline fun ViewManager.barrier(): android.support.constraint.Barrier = barrier() {}\ninline fun ViewManager.barrier(init: (@AnkoViewDslMarker android.support.constraint.Barrier).() -> Unit): android.support.constraint.Barrier {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutView`.BARRIER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedBarrier(theme: Int = 0): android.support.constraint.Barrier = themedBarrier(theme) {}\ninline fun ViewManager.themedBarrier(theme: Int = 0, init: (@AnkoViewDslMarker android.support.constraint.Barrier).() -> Unit): android.support.constraint.Barrier {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutView`.BARRIER, theme) { init() }\n}\n\ninline fun ViewManager.group(): android.support.constraint.Group = group() {}\ninline fun ViewManager.group(init: (@AnkoViewDslMarker android.support.constraint.Group).() -> Unit): android.support.constraint.Group {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutView`.GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGroup(theme: Int = 0): android.support.constraint.Group = themedGroup(theme) {}\ninline fun ViewManager.themedGroup(theme: Int = 0, init: (@AnkoViewDslMarker android.support.constraint.Group).() -> Unit): android.support.constraint.Group {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutView`.GROUP, theme) { init() }\n}\n\ninline fun ViewManager.guideline(): android.support.constraint.Guideline = guideline() {}\ninline fun ViewManager.guideline(init: (@AnkoViewDslMarker android.support.constraint.Guideline).() -> Unit): android.support.constraint.Guideline {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutView`.GUIDELINE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGuideline(theme: Int = 0): android.support.constraint.Guideline = themedGuideline(theme) {}\ninline fun ViewManager.themedGuideline(theme: Int = 0, init: (@AnkoViewDslMarker android.support.constraint.Guideline).() -> Unit): android.support.constraint.Guideline {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutView`.GUIDELINE, theme) { init() }\n}\n\ninline fun ViewManager.placeholder(): android.support.constraint.Placeholder = placeholder() {}\ninline fun ViewManager.placeholder(init: (@AnkoViewDslMarker android.support.constraint.Placeholder).() -> Unit): android.support.constraint.Placeholder {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutView`.PLACEHOLDER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedPlaceholder(theme: Int = 0): android.support.constraint.Placeholder = themedPlaceholder(theme) {}\ninline fun ViewManager.themedPlaceholder(theme: Int = 0, init: (@AnkoViewDslMarker android.support.constraint.Placeholder).() -> Unit): android.support.constraint.Placeholder {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutView`.PLACEHOLDER, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$ConstraintLayoutViewGroup` {\n    val CONSTRAINT_LAYOUT = { ctx: Context -> _ConstraintLayout(ctx) }\n}\n\ninline fun ViewManager.constraintLayout(): android.support.constraint.ConstraintLayout = constraintLayout() {}\ninline fun ViewManager.constraintLayout(init: (@AnkoViewDslMarker _ConstraintLayout).() -> Unit): android.support.constraint.ConstraintLayout {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutViewGroup`.CONSTRAINT_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedConstraintLayout(theme: Int = 0): android.support.constraint.ConstraintLayout = themedConstraintLayout(theme) {}\ninline fun ViewManager.themedConstraintLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ConstraintLayout).() -> Unit): android.support.constraint.ConstraintLayout {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutViewGroup`.CONSTRAINT_LAYOUT, theme) { init() }\n}\n\ninline fun Context.constraintLayout(): android.support.constraint.ConstraintLayout = constraintLayout() {}\ninline fun Context.constraintLayout(init: (@AnkoViewDslMarker _ConstraintLayout).() -> Unit): android.support.constraint.ConstraintLayout {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutViewGroup`.CONSTRAINT_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedConstraintLayout(theme: Int = 0): android.support.constraint.ConstraintLayout = themedConstraintLayout(theme) {}\ninline fun Context.themedConstraintLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ConstraintLayout).() -> Unit): android.support.constraint.ConstraintLayout {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutViewGroup`.CONSTRAINT_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.constraintLayout(): android.support.constraint.ConstraintLayout = constraintLayout() {}\ninline fun Activity.constraintLayout(init: (@AnkoViewDslMarker _ConstraintLayout).() -> Unit): android.support.constraint.ConstraintLayout {\n    return ankoView(`$$Anko$Factories$ConstraintLayoutViewGroup`.CONSTRAINT_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedConstraintLayout(theme: Int = 0): android.support.constraint.ConstraintLayout = themedConstraintLayout(theme) {}\ninline fun Activity.themedConstraintLayout(theme: Int = 0, init: (@AnkoViewDslMarker _ConstraintLayout).() -> Unit): android.support.constraint.ConstraintLayout {\nreturn ankoView(`$$Anko$Factories$ConstraintLayoutViewGroup`.CONSTRAINT_LAYOUT, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n}\n\nkotlin {\n    experimental {\n        coroutines \"enable\"\n    }\n}\n"
  },
  {
    "path": "anko/library/generated/coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/coroutines/src/main/java/bg.kt",
    "content": "/**\n * Created by yan on 15/03/2017.\n */\n/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko.coroutines.experimental\n\nimport kotlinx.coroutines.*\n\n@PublishedApi\n@Deprecated(message = \"Use the default pool\")\ninternal var POOL = newFixedThreadPoolContext(2 * Runtime.getRuntime().availableProcessors(), \"bg\")\n\n@Deprecated(message = \"Use the default pool\", replaceWith = ReplaceWith(\"async(block)\", \"kotlinx.coroutines.async\"))\ninline fun <T> bg(crossinline block: () -> T): Deferred<T> = GlobalScope.async(POOL, CoroutineStart.DEFAULT) {\n    block()\n}\n"
  },
  {
    "path": "anko/library/generated/coroutines/src/main/java/weakReferenceSupport.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko.coroutines.experimental\n\nimport java.lang.ref.WeakReference\nimport java.util.concurrent.CancellationException\nimport kotlin.coroutines.intrinsics.intercepted\nimport kotlin.coroutines.intrinsics.suspendCoroutineUninterceptedOrReturn\n\nclass Ref<out T : Any> internal constructor(obj: T) {\n    private val weakRef = WeakReference(obj)\n\n    suspend operator fun invoke(): T {\n        return suspendCoroutineUninterceptedOrReturn {\n            it.intercepted()\n            weakRef.get() ?: throw CancellationException()\n        }\n    }\n}\n\nfun <T : Any> T.asReference() = Ref(this)\n"
  },
  {
    "path": "anko/library/generated/design/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:design:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n    api project(':static:design-base')\n}\n"
  },
  {
    "path": "anko/library/generated/design/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.design\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/design/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"DesignLayoutsKt\")\npackage org.jetbrains.anko.design\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.LinearLayout\nimport android.support.design.widget.AppBarLayout\nimport android.view.View\nimport android.widget.FrameLayout\nimport android.support.design.widget.BottomNavigationView\nimport android.support.design.widget.CollapsingToolbarLayout\nimport android.support.design.widget.CoordinatorLayout\nimport android.support.design.widget.TabLayout\nimport android.support.design.widget.TextInputLayout\n\nopen class _AppBarLayout(ctx: Context): AppBarLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: AppBarLayout.LayoutParams?,\n            init: AppBarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: AppBarLayout.LayoutParams?\n    ): T {\n        val layoutParams = AppBarLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _BottomNavigationView(ctx: Context): BottomNavigationView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _CollapsingToolbarLayout(ctx: Context): CollapsingToolbarLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: CollapsingToolbarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: CollapsingToolbarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: CollapsingToolbarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: CollapsingToolbarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: CollapsingToolbarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: CollapsingToolbarLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = CollapsingToolbarLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _CoordinatorLayout(ctx: Context): CoordinatorLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: CoordinatorLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: CoordinatorLayout.LayoutParams?,\n            init: CoordinatorLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: CoordinatorLayout.LayoutParams?\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.MarginLayoutParams?,\n            init: CoordinatorLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: CoordinatorLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = CoordinatorLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TabLayout(ctx: Context): TabLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextInputLayout(ctx: Context): TextInputLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/design/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"DesignPropertiesKt\")\npackage org.jetbrains.anko.design\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.support.design.widget.TextInputLayout.passwordVisibilityToggleContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setPasswordVisibilityToggleContentDescription(v)\n\nvar android.support.design.widget.TextInputLayout.passwordVisibilityToggleDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setPasswordVisibilityToggleDrawable(v)\n\n"
  },
  {
    "path": "anko/library/generated/design/src/main/java/Views.kt",
    "content": "@file:JvmName(\"DesignViewsKt\")\npackage org.jetbrains.anko.design\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$DesignView` {\n    val FLOATING_ACTION_BUTTON = { ctx: Context -> android.support.design.widget.FloatingActionButton(ctx) }\n    val NAVIGATION_VIEW = { ctx: Context -> android.support.design.widget.NavigationView(ctx) }\n    val TAB_ITEM = { ctx: Context -> android.support.design.widget.TabItem(ctx) }\n    val TEXT_INPUT_EDIT_TEXT = { ctx: Context -> android.support.design.widget.TextInputEditText(ctx) }\n}\n\ninline fun ViewManager.floatingActionButton(): android.support.design.widget.FloatingActionButton = floatingActionButton() {}\ninline fun ViewManager.floatingActionButton(init: (@AnkoViewDslMarker android.support.design.widget.FloatingActionButton).() -> Unit): android.support.design.widget.FloatingActionButton {\n    return ankoView(`$$Anko$Factories$DesignView`.FLOATING_ACTION_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFloatingActionButton(theme: Int = 0): android.support.design.widget.FloatingActionButton = themedFloatingActionButton(theme) {}\ninline fun ViewManager.themedFloatingActionButton(theme: Int = 0, init: (@AnkoViewDslMarker android.support.design.widget.FloatingActionButton).() -> Unit): android.support.design.widget.FloatingActionButton {\nreturn ankoView(`$$Anko$Factories$DesignView`.FLOATING_ACTION_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.navigationView(): android.support.design.widget.NavigationView = navigationView() {}\ninline fun ViewManager.navigationView(init: (@AnkoViewDslMarker android.support.design.widget.NavigationView).() -> Unit): android.support.design.widget.NavigationView {\n    return ankoView(`$$Anko$Factories$DesignView`.NAVIGATION_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNavigationView(theme: Int = 0): android.support.design.widget.NavigationView = themedNavigationView(theme) {}\ninline fun ViewManager.themedNavigationView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.design.widget.NavigationView).() -> Unit): android.support.design.widget.NavigationView {\nreturn ankoView(`$$Anko$Factories$DesignView`.NAVIGATION_VIEW, theme) { init() }\n}\n\ninline fun Context.navigationView(): android.support.design.widget.NavigationView = navigationView() {}\ninline fun Context.navigationView(init: (@AnkoViewDslMarker android.support.design.widget.NavigationView).() -> Unit): android.support.design.widget.NavigationView {\n    return ankoView(`$$Anko$Factories$DesignView`.NAVIGATION_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedNavigationView(theme: Int = 0): android.support.design.widget.NavigationView = themedNavigationView(theme) {}\ninline fun Context.themedNavigationView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.design.widget.NavigationView).() -> Unit): android.support.design.widget.NavigationView {\nreturn ankoView(`$$Anko$Factories$DesignView`.NAVIGATION_VIEW, theme) { init() }\n}\n\ninline fun Activity.navigationView(): android.support.design.widget.NavigationView = navigationView() {}\ninline fun Activity.navigationView(init: (@AnkoViewDslMarker android.support.design.widget.NavigationView).() -> Unit): android.support.design.widget.NavigationView {\n    return ankoView(`$$Anko$Factories$DesignView`.NAVIGATION_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedNavigationView(theme: Int = 0): android.support.design.widget.NavigationView = themedNavigationView(theme) {}\ninline fun Activity.themedNavigationView(theme: Int = 0, init: (@AnkoViewDslMarker android.support.design.widget.NavigationView).() -> Unit): android.support.design.widget.NavigationView {\nreturn ankoView(`$$Anko$Factories$DesignView`.NAVIGATION_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tabItem(): android.support.design.widget.TabItem = tabItem() {}\ninline fun ViewManager.tabItem(init: (@AnkoViewDslMarker android.support.design.widget.TabItem).() -> Unit): android.support.design.widget.TabItem {\n    return ankoView(`$$Anko$Factories$DesignView`.TAB_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabItem(theme: Int = 0): android.support.design.widget.TabItem = themedTabItem(theme) {}\ninline fun ViewManager.themedTabItem(theme: Int = 0, init: (@AnkoViewDslMarker android.support.design.widget.TabItem).() -> Unit): android.support.design.widget.TabItem {\nreturn ankoView(`$$Anko$Factories$DesignView`.TAB_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.textInputEditText(): android.support.design.widget.TextInputEditText = textInputEditText() {}\ninline fun ViewManager.textInputEditText(init: (@AnkoViewDslMarker android.support.design.widget.TextInputEditText).() -> Unit): android.support.design.widget.TextInputEditText {\n    return ankoView(`$$Anko$Factories$DesignView`.TEXT_INPUT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextInputEditText(theme: Int = 0): android.support.design.widget.TextInputEditText = themedTextInputEditText(theme) {}\ninline fun ViewManager.themedTextInputEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.support.design.widget.TextInputEditText).() -> Unit): android.support.design.widget.TextInputEditText {\nreturn ankoView(`$$Anko$Factories$DesignView`.TEXT_INPUT_EDIT_TEXT, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$DesignViewGroup` {\n    val APP_BAR_LAYOUT = { ctx: Context -> _AppBarLayout(ctx) }\n    val BOTTOM_NAVIGATION_VIEW = { ctx: Context -> _BottomNavigationView(ctx) }\n    val COLLAPSING_TOOLBAR_LAYOUT = { ctx: Context -> _CollapsingToolbarLayout(ctx) }\n    val COORDINATOR_LAYOUT = { ctx: Context -> _CoordinatorLayout(ctx) }\n    val TAB_LAYOUT = { ctx: Context -> _TabLayout(ctx) }\n    val TEXT_INPUT_LAYOUT = { ctx: Context -> _TextInputLayout(ctx) }\n}\n\ninline fun ViewManager.appBarLayout(): android.support.design.widget.AppBarLayout = appBarLayout() {}\ninline fun ViewManager.appBarLayout(init: (@AnkoViewDslMarker _AppBarLayout).() -> Unit): android.support.design.widget.AppBarLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.APP_BAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppBarLayout(theme: Int = 0): android.support.design.widget.AppBarLayout = themedAppBarLayout(theme) {}\ninline fun ViewManager.themedAppBarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AppBarLayout).() -> Unit): android.support.design.widget.AppBarLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.APP_BAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.appBarLayout(): android.support.design.widget.AppBarLayout = appBarLayout() {}\ninline fun Context.appBarLayout(init: (@AnkoViewDslMarker _AppBarLayout).() -> Unit): android.support.design.widget.AppBarLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.APP_BAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAppBarLayout(theme: Int = 0): android.support.design.widget.AppBarLayout = themedAppBarLayout(theme) {}\ninline fun Context.themedAppBarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AppBarLayout).() -> Unit): android.support.design.widget.AppBarLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.APP_BAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.appBarLayout(): android.support.design.widget.AppBarLayout = appBarLayout() {}\ninline fun Activity.appBarLayout(init: (@AnkoViewDslMarker _AppBarLayout).() -> Unit): android.support.design.widget.AppBarLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.APP_BAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppBarLayout(theme: Int = 0): android.support.design.widget.AppBarLayout = themedAppBarLayout(theme) {}\ninline fun Activity.themedAppBarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AppBarLayout).() -> Unit): android.support.design.widget.AppBarLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.APP_BAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.bottomNavigationView(): android.support.design.widget.BottomNavigationView = bottomNavigationView() {}\ninline fun ViewManager.bottomNavigationView(init: (@AnkoViewDslMarker _BottomNavigationView).() -> Unit): android.support.design.widget.BottomNavigationView {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.BOTTOM_NAVIGATION_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedBottomNavigationView(theme: Int = 0): android.support.design.widget.BottomNavigationView = themedBottomNavigationView(theme) {}\ninline fun ViewManager.themedBottomNavigationView(theme: Int = 0, init: (@AnkoViewDslMarker _BottomNavigationView).() -> Unit): android.support.design.widget.BottomNavigationView {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.BOTTOM_NAVIGATION_VIEW, theme) { init() }\n}\n\ninline fun Context.bottomNavigationView(): android.support.design.widget.BottomNavigationView = bottomNavigationView() {}\ninline fun Context.bottomNavigationView(init: (@AnkoViewDslMarker _BottomNavigationView).() -> Unit): android.support.design.widget.BottomNavigationView {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.BOTTOM_NAVIGATION_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedBottomNavigationView(theme: Int = 0): android.support.design.widget.BottomNavigationView = themedBottomNavigationView(theme) {}\ninline fun Context.themedBottomNavigationView(theme: Int = 0, init: (@AnkoViewDslMarker _BottomNavigationView).() -> Unit): android.support.design.widget.BottomNavigationView {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.BOTTOM_NAVIGATION_VIEW, theme) { init() }\n}\n\ninline fun Activity.bottomNavigationView(): android.support.design.widget.BottomNavigationView = bottomNavigationView() {}\ninline fun Activity.bottomNavigationView(init: (@AnkoViewDslMarker _BottomNavigationView).() -> Unit): android.support.design.widget.BottomNavigationView {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.BOTTOM_NAVIGATION_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedBottomNavigationView(theme: Int = 0): android.support.design.widget.BottomNavigationView = themedBottomNavigationView(theme) {}\ninline fun Activity.themedBottomNavigationView(theme: Int = 0, init: (@AnkoViewDslMarker _BottomNavigationView).() -> Unit): android.support.design.widget.BottomNavigationView {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.BOTTOM_NAVIGATION_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.collapsingToolbarLayout(): android.support.design.widget.CollapsingToolbarLayout = collapsingToolbarLayout() {}\ninline fun ViewManager.collapsingToolbarLayout(init: (@AnkoViewDslMarker _CollapsingToolbarLayout).() -> Unit): android.support.design.widget.CollapsingToolbarLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.COLLAPSING_TOOLBAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCollapsingToolbarLayout(theme: Int = 0): android.support.design.widget.CollapsingToolbarLayout = themedCollapsingToolbarLayout(theme) {}\ninline fun ViewManager.themedCollapsingToolbarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _CollapsingToolbarLayout).() -> Unit): android.support.design.widget.CollapsingToolbarLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.COLLAPSING_TOOLBAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.collapsingToolbarLayout(): android.support.design.widget.CollapsingToolbarLayout = collapsingToolbarLayout() {}\ninline fun Context.collapsingToolbarLayout(init: (@AnkoViewDslMarker _CollapsingToolbarLayout).() -> Unit): android.support.design.widget.CollapsingToolbarLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.COLLAPSING_TOOLBAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedCollapsingToolbarLayout(theme: Int = 0): android.support.design.widget.CollapsingToolbarLayout = themedCollapsingToolbarLayout(theme) {}\ninline fun Context.themedCollapsingToolbarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _CollapsingToolbarLayout).() -> Unit): android.support.design.widget.CollapsingToolbarLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.COLLAPSING_TOOLBAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.collapsingToolbarLayout(): android.support.design.widget.CollapsingToolbarLayout = collapsingToolbarLayout() {}\ninline fun Activity.collapsingToolbarLayout(init: (@AnkoViewDslMarker _CollapsingToolbarLayout).() -> Unit): android.support.design.widget.CollapsingToolbarLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.COLLAPSING_TOOLBAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedCollapsingToolbarLayout(theme: Int = 0): android.support.design.widget.CollapsingToolbarLayout = themedCollapsingToolbarLayout(theme) {}\ninline fun Activity.themedCollapsingToolbarLayout(theme: Int = 0, init: (@AnkoViewDslMarker _CollapsingToolbarLayout).() -> Unit): android.support.design.widget.CollapsingToolbarLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.COLLAPSING_TOOLBAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.coordinatorLayout(): android.support.design.widget.CoordinatorLayout = coordinatorLayout() {}\ninline fun ViewManager.coordinatorLayout(init: (@AnkoViewDslMarker _CoordinatorLayout).() -> Unit): android.support.design.widget.CoordinatorLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.COORDINATOR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCoordinatorLayout(theme: Int = 0): android.support.design.widget.CoordinatorLayout = themedCoordinatorLayout(theme) {}\ninline fun ViewManager.themedCoordinatorLayout(theme: Int = 0, init: (@AnkoViewDslMarker _CoordinatorLayout).() -> Unit): android.support.design.widget.CoordinatorLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.COORDINATOR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.coordinatorLayout(): android.support.design.widget.CoordinatorLayout = coordinatorLayout() {}\ninline fun Context.coordinatorLayout(init: (@AnkoViewDslMarker _CoordinatorLayout).() -> Unit): android.support.design.widget.CoordinatorLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.COORDINATOR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedCoordinatorLayout(theme: Int = 0): android.support.design.widget.CoordinatorLayout = themedCoordinatorLayout(theme) {}\ninline fun Context.themedCoordinatorLayout(theme: Int = 0, init: (@AnkoViewDslMarker _CoordinatorLayout).() -> Unit): android.support.design.widget.CoordinatorLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.COORDINATOR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.coordinatorLayout(): android.support.design.widget.CoordinatorLayout = coordinatorLayout() {}\ninline fun Activity.coordinatorLayout(init: (@AnkoViewDslMarker _CoordinatorLayout).() -> Unit): android.support.design.widget.CoordinatorLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.COORDINATOR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedCoordinatorLayout(theme: Int = 0): android.support.design.widget.CoordinatorLayout = themedCoordinatorLayout(theme) {}\ninline fun Activity.themedCoordinatorLayout(theme: Int = 0, init: (@AnkoViewDslMarker _CoordinatorLayout).() -> Unit): android.support.design.widget.CoordinatorLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.COORDINATOR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tabLayout(): android.support.design.widget.TabLayout = tabLayout() {}\ninline fun ViewManager.tabLayout(init: (@AnkoViewDslMarker _TabLayout).() -> Unit): android.support.design.widget.TabLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.TAB_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabLayout(theme: Int = 0): android.support.design.widget.TabLayout = themedTabLayout(theme) {}\ninline fun ViewManager.themedTabLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TabLayout).() -> Unit): android.support.design.widget.TabLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.TAB_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tabLayout(): android.support.design.widget.TabLayout = tabLayout() {}\ninline fun Context.tabLayout(init: (@AnkoViewDslMarker _TabLayout).() -> Unit): android.support.design.widget.TabLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.TAB_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTabLayout(theme: Int = 0): android.support.design.widget.TabLayout = themedTabLayout(theme) {}\ninline fun Context.themedTabLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TabLayout).() -> Unit): android.support.design.widget.TabLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.TAB_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tabLayout(): android.support.design.widget.TabLayout = tabLayout() {}\ninline fun Activity.tabLayout(init: (@AnkoViewDslMarker _TabLayout).() -> Unit): android.support.design.widget.TabLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.TAB_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabLayout(theme: Int = 0): android.support.design.widget.TabLayout = themedTabLayout(theme) {}\ninline fun Activity.themedTabLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TabLayout).() -> Unit): android.support.design.widget.TabLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.TAB_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.textInputLayout(): android.support.design.widget.TextInputLayout = textInputLayout() {}\ninline fun ViewManager.textInputLayout(init: (@AnkoViewDslMarker _TextInputLayout).() -> Unit): android.support.design.widget.TextInputLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.TEXT_INPUT_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextInputLayout(theme: Int = 0): android.support.design.widget.TextInputLayout = themedTextInputLayout(theme) {}\ninline fun ViewManager.themedTextInputLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TextInputLayout).() -> Unit): android.support.design.widget.TextInputLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.TEXT_INPUT_LAYOUT, theme) { init() }\n}\n\ninline fun Context.textInputLayout(): android.support.design.widget.TextInputLayout = textInputLayout() {}\ninline fun Context.textInputLayout(init: (@AnkoViewDslMarker _TextInputLayout).() -> Unit): android.support.design.widget.TextInputLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.TEXT_INPUT_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTextInputLayout(theme: Int = 0): android.support.design.widget.TextInputLayout = themedTextInputLayout(theme) {}\ninline fun Context.themedTextInputLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TextInputLayout).() -> Unit): android.support.design.widget.TextInputLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.TEXT_INPUT_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.textInputLayout(): android.support.design.widget.TextInputLayout = textInputLayout() {}\ninline fun Activity.textInputLayout(init: (@AnkoViewDslMarker _TextInputLayout).() -> Unit): android.support.design.widget.TextInputLayout {\n    return ankoView(`$$Anko$Factories$DesignViewGroup`.TEXT_INPUT_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextInputLayout(theme: Int = 0): android.support.design.widget.TextInputLayout = themedTextInputLayout(theme) {}\ninline fun Activity.themedTextInputLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TextInputLayout).() -> Unit): android.support.design.widget.TextInputLayout {\nreturn ankoView(`$$Anko$Factories$DesignViewGroup`.TEXT_INPUT_LAYOUT, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/design-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api \"com.android.support:design:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/design-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.design.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/design-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"DesignCoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.design.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\n\nfun android.support.design.widget.AppBarLayout.onOffsetChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(appBarLayout: android.support.design.widget.AppBarLayout?, verticalOffset: Int) -> Unit\n) {\n    addOnOffsetChangedListener { appBarLayout, verticalOffset ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(appBarLayout, verticalOffset)\n        }\n    }\n}\n\nfun android.support.design.widget.TabLayout.onTabSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TabLayout_OnTabSelectedListener.() -> Unit\n) {\n    val listener = __TabLayout_OnTabSelectedListener(context)\n    listener.init()\n    addOnTabSelectedListener(listener)\n}\n\nclass __TabLayout_OnTabSelectedListener(private val context: CoroutineContext) : android.support.design.widget.TabLayout.OnTabSelectedListener {\n\n    private var _onTabSelected: (suspend CoroutineScope.(android.support.design.widget.TabLayout.Tab?) -> Unit)? = null\n    \n\n    override fun onTabSelected(tab: android.support.design.widget.TabLayout.Tab?) {\n        val handler = _onTabSelected ?: return\n        GlobalScope.launch(context) {\n            handler(tab)\n        }\n    }\n\n    fun onTabSelected(\n            listener: suspend CoroutineScope.(android.support.design.widget.TabLayout.Tab?) -> Unit\n    ) {\n        _onTabSelected = listener\n    }\n\n    private var _onTabUnselected: (suspend CoroutineScope.(android.support.design.widget.TabLayout.Tab?) -> Unit)? = null\n    \n\n    override fun onTabUnselected(tab: android.support.design.widget.TabLayout.Tab?) {\n        val handler = _onTabUnselected ?: return\n        GlobalScope.launch(context) {\n            handler(tab)\n        }\n    }\n\n    fun onTabUnselected(\n            listener: suspend CoroutineScope.(android.support.design.widget.TabLayout.Tab?) -> Unit\n    ) {\n        _onTabUnselected = listener\n    }\n\n    private var _onTabReselected: (suspend CoroutineScope.(android.support.design.widget.TabLayout.Tab?) -> Unit)? = null\n    \n\n    override fun onTabReselected(tab: android.support.design.widget.TabLayout.Tab?) {\n        val handler = _onTabReselected ?: return\n        GlobalScope.launch(context) {\n            handler(tab)\n        }\n    }\n\n    fun onTabReselected(\n            listener: suspend CoroutineScope.(android.support.design.widget.TabLayout.Tab?) -> Unit\n    ) {\n        _onTabReselected = listener\n    }\n\n}fun android.support.design.widget.BottomNavigationView.onNavigationItemSelected(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnNavigationItemSelectedListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.support.design.widget.CoordinatorLayout.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}"
  },
  {
    "path": "anko/library/generated/design-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:design:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/design-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.design.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/design-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"DesignListenersListenersKt\")\npackage org.jetbrains.anko.design.listeners\n\n\ninline fun android.support.design.widget.AppBarLayout.onOffsetChanged(noinline l: (appBarLayout: android.support.design.widget.AppBarLayout?, verticalOffset: Int) -> Unit) {\n    addOnOffsetChangedListener(l)\n}\n\nfun android.support.design.widget.TabLayout.onTabSelectedListener(init: __TabLayout_OnTabSelectedListener.() -> Unit) {\n    val listener = __TabLayout_OnTabSelectedListener()\n    listener.init()\n    addOnTabSelectedListener(listener)\n}\n\nclass __TabLayout_OnTabSelectedListener : android.support.design.widget.TabLayout.OnTabSelectedListener {\n\n    private var _onTabSelected: ((android.support.design.widget.TabLayout.Tab?) -> Unit)? = null\n\n    override fun onTabSelected(tab: android.support.design.widget.TabLayout.Tab?) {\n        _onTabSelected?.invoke(tab)\n    }\n\n    fun onTabSelected(listener: (android.support.design.widget.TabLayout.Tab?) -> Unit) {\n        _onTabSelected = listener\n    }\n\n    private var _onTabUnselected: ((android.support.design.widget.TabLayout.Tab?) -> Unit)? = null\n\n    override fun onTabUnselected(tab: android.support.design.widget.TabLayout.Tab?) {\n        _onTabUnselected?.invoke(tab)\n    }\n\n    fun onTabUnselected(listener: (android.support.design.widget.TabLayout.Tab?) -> Unit) {\n        _onTabUnselected = listener\n    }\n\n    private var _onTabReselected: ((android.support.design.widget.TabLayout.Tab?) -> Unit)? = null\n\n    override fun onTabReselected(tab: android.support.design.widget.TabLayout.Tab?) {\n        _onTabReselected?.invoke(tab)\n    }\n\n    fun onTabReselected(listener: (android.support.design.widget.TabLayout.Tab?) -> Unit) {\n        _onTabReselected = listener\n    }\n\n}\n\ninline fun android.support.design.widget.BottomNavigationView.onNavigationItemSelected(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnNavigationItemSelectedListener(l)\n}\n\nfun android.support.design.widget.CoordinatorLayout.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/gridlayout-v7/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:gridlayout-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/gridlayout-v7/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.gridlayoutV7\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/gridlayout-v7/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"GridlayoutV7LayoutsKt\")\npackage org.jetbrains.anko.gridlayout.v7\n\n\nimport android.support.v7.widget.GridLayout\nimport android.view.ViewGroup\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.View\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/gridlayout-v7/src/main/java/Views.kt",
    "content": "@file:JvmName(\"GridlayoutV7ViewsKt\")\npackage org.jetbrains.anko.gridlayout.v7\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$GridlayoutV7ViewGroup` {\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n}\n\ninline fun ViewManager.gridLayout(): android.support.v7.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.support.v7.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$GridlayoutV7ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.support.v7.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.support.v7.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$GridlayoutV7ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.support.v7.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.support.v7.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$GridlayoutV7ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.support.v7.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.support.v7.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$GridlayoutV7ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.support.v7.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.support.v7.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$GridlayoutV7ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.support.v7.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.support.v7.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$GridlayoutV7ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/percent/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:percent:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/percent/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.percent\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/percent/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"PercentLayoutsKt\")\npackage org.jetbrains.anko.percent\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.support.percent.PercentFrameLayout\nimport android.view.View\nimport android.support.percent.PercentRelativeLayout\n\nopen class _PercentFrameLayout(ctx: Context): PercentFrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: PercentFrameLayout.LayoutParams?,\n            init: PercentFrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: PercentFrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = PercentFrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _PercentRelativeLayout(ctx: Context): PercentRelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: PercentRelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: PercentRelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: PercentRelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: PercentRelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = PercentRelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/percent/src/main/java/Views.kt",
    "content": "@file:JvmName(\"PercentViewsKt\")\npackage org.jetbrains.anko.percent\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$PercentViewGroup` {\n    val PERCENT_FRAME_LAYOUT = { ctx: Context -> _PercentFrameLayout(ctx) }\n    val PERCENT_RELATIVE_LAYOUT = { ctx: Context -> _PercentRelativeLayout(ctx) }\n}\n\ninline fun ViewManager.percentFrameLayout(): android.support.percent.PercentFrameLayout = percentFrameLayout() {}\ninline fun ViewManager.percentFrameLayout(init: (@AnkoViewDslMarker _PercentFrameLayout).() -> Unit): android.support.percent.PercentFrameLayout {\n    return ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedPercentFrameLayout(theme: Int = 0): android.support.percent.PercentFrameLayout = themedPercentFrameLayout(theme) {}\ninline fun ViewManager.themedPercentFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _PercentFrameLayout).() -> Unit): android.support.percent.PercentFrameLayout {\nreturn ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.percentFrameLayout(): android.support.percent.PercentFrameLayout = percentFrameLayout() {}\ninline fun Context.percentFrameLayout(init: (@AnkoViewDslMarker _PercentFrameLayout).() -> Unit): android.support.percent.PercentFrameLayout {\n    return ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedPercentFrameLayout(theme: Int = 0): android.support.percent.PercentFrameLayout = themedPercentFrameLayout(theme) {}\ninline fun Context.themedPercentFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _PercentFrameLayout).() -> Unit): android.support.percent.PercentFrameLayout {\nreturn ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.percentFrameLayout(): android.support.percent.PercentFrameLayout = percentFrameLayout() {}\ninline fun Activity.percentFrameLayout(init: (@AnkoViewDslMarker _PercentFrameLayout).() -> Unit): android.support.percent.PercentFrameLayout {\n    return ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedPercentFrameLayout(theme: Int = 0): android.support.percent.PercentFrameLayout = themedPercentFrameLayout(theme) {}\ninline fun Activity.themedPercentFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _PercentFrameLayout).() -> Unit): android.support.percent.PercentFrameLayout {\nreturn ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.percentRelativeLayout(): android.support.percent.PercentRelativeLayout = percentRelativeLayout() {}\ninline fun ViewManager.percentRelativeLayout(init: (@AnkoViewDslMarker _PercentRelativeLayout).() -> Unit): android.support.percent.PercentRelativeLayout {\n    return ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedPercentRelativeLayout(theme: Int = 0): android.support.percent.PercentRelativeLayout = themedPercentRelativeLayout(theme) {}\ninline fun ViewManager.themedPercentRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _PercentRelativeLayout).() -> Unit): android.support.percent.PercentRelativeLayout {\nreturn ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.percentRelativeLayout(): android.support.percent.PercentRelativeLayout = percentRelativeLayout() {}\ninline fun Context.percentRelativeLayout(init: (@AnkoViewDslMarker _PercentRelativeLayout).() -> Unit): android.support.percent.PercentRelativeLayout {\n    return ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedPercentRelativeLayout(theme: Int = 0): android.support.percent.PercentRelativeLayout = themedPercentRelativeLayout(theme) {}\ninline fun Context.themedPercentRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _PercentRelativeLayout).() -> Unit): android.support.percent.PercentRelativeLayout {\nreturn ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.percentRelativeLayout(): android.support.percent.PercentRelativeLayout = percentRelativeLayout() {}\ninline fun Activity.percentRelativeLayout(init: (@AnkoViewDslMarker _PercentRelativeLayout).() -> Unit): android.support.percent.PercentRelativeLayout {\n    return ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedPercentRelativeLayout(theme: Int = 0): android.support.percent.PercentRelativeLayout = themedPercentRelativeLayout(theme) {}\ninline fun Activity.themedPercentRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _PercentRelativeLayout).() -> Unit): android.support.percent.PercentRelativeLayout {\nreturn ankoView(`$$Anko$Factories$PercentViewGroup`.PERCENT_RELATIVE_LAYOUT, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/recyclerview-v7/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:recyclerview-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/recyclerview-v7/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.recyclerviewV7\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/recyclerview-v7/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"RecyclerviewV7LayoutsKt\")\npackage org.jetbrains.anko.recyclerview.v7\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.support.v7.widget.RecyclerView\nimport android.view.View\n\nopen class _RecyclerView(ctx: Context): RecyclerView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RecyclerView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RecyclerView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RecyclerView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RecyclerView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RecyclerView.LayoutParams?,\n            init: RecyclerView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RecyclerView.LayoutParams?\n    ): T {\n        val layoutParams = RecyclerView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/recyclerview-v7/src/main/java/Views.kt",
    "content": "@file:JvmName(\"RecyclerviewV7ViewsKt\")\npackage org.jetbrains.anko.recyclerview.v7\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$RecyclerviewV7ViewGroup` {\n    val RECYCLER_VIEW = { ctx: Context -> _RecyclerView(ctx) }\n}\n\ninline fun ViewManager.recyclerView(): android.support.v7.widget.RecyclerView = recyclerView() {}\ninline fun ViewManager.recyclerView(init: (@AnkoViewDslMarker _RecyclerView).() -> Unit): android.support.v7.widget.RecyclerView {\n    return ankoView(`$$Anko$Factories$RecyclerviewV7ViewGroup`.RECYCLER_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRecyclerView(theme: Int = 0): android.support.v7.widget.RecyclerView = themedRecyclerView(theme) {}\ninline fun ViewManager.themedRecyclerView(theme: Int = 0, init: (@AnkoViewDslMarker _RecyclerView).() -> Unit): android.support.v7.widget.RecyclerView {\nreturn ankoView(`$$Anko$Factories$RecyclerviewV7ViewGroup`.RECYCLER_VIEW, theme) { init() }\n}\n\ninline fun Context.recyclerView(): android.support.v7.widget.RecyclerView = recyclerView() {}\ninline fun Context.recyclerView(init: (@AnkoViewDslMarker _RecyclerView).() -> Unit): android.support.v7.widget.RecyclerView {\n    return ankoView(`$$Anko$Factories$RecyclerviewV7ViewGroup`.RECYCLER_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedRecyclerView(theme: Int = 0): android.support.v7.widget.RecyclerView = themedRecyclerView(theme) {}\ninline fun Context.themedRecyclerView(theme: Int = 0, init: (@AnkoViewDslMarker _RecyclerView).() -> Unit): android.support.v7.widget.RecyclerView {\nreturn ankoView(`$$Anko$Factories$RecyclerviewV7ViewGroup`.RECYCLER_VIEW, theme) { init() }\n}\n\ninline fun Activity.recyclerView(): android.support.v7.widget.RecyclerView = recyclerView() {}\ninline fun Activity.recyclerView(init: (@AnkoViewDslMarker _RecyclerView).() -> Unit): android.support.v7.widget.RecyclerView {\n    return ankoView(`$$Anko$Factories$RecyclerviewV7ViewGroup`.RECYCLER_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedRecyclerView(theme: Int = 0): android.support.v7.widget.RecyclerView = themedRecyclerView(theme) {}\ninline fun Activity.themedRecyclerView(theme: Int = 0, init: (@AnkoViewDslMarker _RecyclerView).() -> Unit): android.support.v7.widget.RecyclerView {\nreturn ankoView(`$$Anko$Factories$RecyclerviewV7ViewGroup`.RECYCLER_VIEW, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/recyclerview-v7-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api \"com.android.support:recyclerview-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/recyclerview-v7-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.recyclerviewV7.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/recyclerview-v7-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"RecyclerviewV7CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.recyclerview.v7.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\n\nfun android.support.v7.widget.RecyclerView.onChildAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __RecyclerView_OnChildAttachStateChangeListener.() -> Unit\n) {\n    val listener = __RecyclerView_OnChildAttachStateChangeListener(context)\n    listener.init()\n    addOnChildAttachStateChangeListener(listener)\n}\n\nclass __RecyclerView_OnChildAttachStateChangeListener(private val context: CoroutineContext) : android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener {\n\n    private var _onChildViewAttachedToWindow: (suspend CoroutineScope.(android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAttachedToWindow(view: android.view.View?) {\n        val handler = _onChildViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(view)\n        }\n    }\n\n    fun onChildViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View?) -> Unit\n    ) {\n        _onChildViewAttachedToWindow = listener\n    }\n\n    private var _onChildViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewDetachedFromWindow(view: android.view.View?) {\n        val handler = _onChildViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(view)\n        }\n    }\n\n    fun onChildViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View?) -> Unit\n    ) {\n        _onChildViewDetachedFromWindow = listener\n    }\n\n}fun android.support.v7.widget.RecyclerView.onItemTouchListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __RecyclerView_OnItemTouchListener.() -> Unit\n) {\n    val listener = __RecyclerView_OnItemTouchListener(context)\n    listener.init()\n    addOnItemTouchListener(listener)\n}\n\nclass __RecyclerView_OnItemTouchListener(private val context: CoroutineContext) : android.support.v7.widget.RecyclerView.OnItemTouchListener {\n\n    private var _onInterceptTouchEvent: (suspend CoroutineScope.(android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Boolean)? = null\n    private var _onInterceptTouchEvent_returnValue: Boolean = false\n\n    override fun onInterceptTouchEvent(rv: android.support.v7.widget.RecyclerView?, e: android.view.MotionEvent?) : Boolean {\n        val returnValue = _onInterceptTouchEvent_returnValue\n        val handler = _onInterceptTouchEvent ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(rv, e)\n        }\n        return returnValue\n    }\n\n    fun onInterceptTouchEvent(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Boolean\n    ) {\n        _onInterceptTouchEvent = listener\n        _onInterceptTouchEvent_returnValue = returnValue\n    }\n\n    private var _onTouchEvent: (suspend CoroutineScope.(android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onTouchEvent(rv: android.support.v7.widget.RecyclerView?, e: android.view.MotionEvent?) {\n        val handler = _onTouchEvent ?: return\n        GlobalScope.launch(context) {\n            handler(rv, e)\n        }\n    }\n\n    fun onTouchEvent(\n            listener: suspend CoroutineScope.(android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onTouchEvent = listener\n    }\n\n    private var _onRequestDisallowInterceptTouchEvent: (suspend CoroutineScope.(Boolean) -> Unit)? = null\n    \n\n    override fun onRequestDisallowInterceptTouchEvent(disallowIntercept: Boolean) {\n        val handler = _onRequestDisallowInterceptTouchEvent ?: return\n        GlobalScope.launch(context) {\n            handler(disallowIntercept)\n        }\n    }\n\n    fun onRequestDisallowInterceptTouchEvent(\n            listener: suspend CoroutineScope.(Boolean) -> Unit\n    ) {\n        _onRequestDisallowInterceptTouchEvent = listener\n    }\n\n}"
  },
  {
    "path": "anko/library/generated/recyclerview-v7-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:recyclerview-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/recyclerview-v7-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.recyclerviewV7.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/recyclerview-v7-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"RecyclerviewV7ListenersListenersKt\")\npackage org.jetbrains.anko.recyclerview.v7.listeners\n\n\nfun android.support.v7.widget.RecyclerView.onChildAttachStateChangeListener(init: __RecyclerView_OnChildAttachStateChangeListener.() -> Unit) {\n    val listener = __RecyclerView_OnChildAttachStateChangeListener()\n    listener.init()\n    addOnChildAttachStateChangeListener(listener)\n}\n\nclass __RecyclerView_OnChildAttachStateChangeListener : android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener {\n\n    private var _onChildViewAttachedToWindow: ((android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAttachedToWindow(view: android.view.View?) {\n        _onChildViewAttachedToWindow?.invoke(view)\n    }\n\n    fun onChildViewAttachedToWindow(listener: (android.view.View?) -> Unit) {\n        _onChildViewAttachedToWindow = listener\n    }\n\n    private var _onChildViewDetachedFromWindow: ((android.view.View?) -> Unit)? = null\n\n    override fun onChildViewDetachedFromWindow(view: android.view.View?) {\n        _onChildViewDetachedFromWindow?.invoke(view)\n    }\n\n    fun onChildViewDetachedFromWindow(listener: (android.view.View?) -> Unit) {\n        _onChildViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.support.v7.widget.RecyclerView.onItemTouchListener(init: __RecyclerView_OnItemTouchListener.() -> Unit) {\n    val listener = __RecyclerView_OnItemTouchListener()\n    listener.init()\n    addOnItemTouchListener(listener)\n}\n\nclass __RecyclerView_OnItemTouchListener : android.support.v7.widget.RecyclerView.OnItemTouchListener {\n\n    private var _onInterceptTouchEvent: ((android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Boolean)? = null\n\n    override fun onInterceptTouchEvent(rv: android.support.v7.widget.RecyclerView?, e: android.view.MotionEvent?) = _onInterceptTouchEvent?.invoke(rv, e) ?: false\n\n    fun onInterceptTouchEvent(listener: (android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Boolean) {\n        _onInterceptTouchEvent = listener\n    }\n\n    private var _onTouchEvent: ((android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onTouchEvent(rv: android.support.v7.widget.RecyclerView?, e: android.view.MotionEvent?) {\n        _onTouchEvent?.invoke(rv, e)\n    }\n\n    fun onTouchEvent(listener: (android.support.v7.widget.RecyclerView?, android.view.MotionEvent?) -> Unit) {\n        _onTouchEvent = listener\n    }\n\n    private var _onRequestDisallowInterceptTouchEvent: ((Boolean) -> Unit)? = null\n\n    override fun onRequestDisallowInterceptTouchEvent(disallowIntercept: Boolean) {\n        _onRequestDisallowInterceptTouchEvent?.invoke(disallowIntercept)\n    }\n\n    fun onRequestDisallowInterceptTouchEvent(listener: (Boolean) -> Unit) {\n        _onRequestDisallowInterceptTouchEvent = listener\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk15/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk15/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk15\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk15/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk15LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.FrameLayout\nimport android.widget.AbsoluteLayout\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            that: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(that!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            that: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(that!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk15/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk15PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.view.View.minimumHeight: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMinimumHeight(v)\n\nvar android.view.View.minimumWidth: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMinimumWidth(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.highlightColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHighlightColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.minLines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMinLines(v)\n\nvar android.widget.TextView.maxLines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMaxLines(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.minEms: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMinEms(v)\n\nvar android.widget.TextView.maxEms: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMaxEms(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.TextView.marqueeRepeatLimit: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setMarqueeRepeatLimit(v)\n\nvar android.widget.TextView.cursorVisible: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCursorVisible(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.RelativeLayout.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.LinearLayout.dividerDrawable: android.graphics.drawable.Drawable?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setDividerDrawable(v)\n\nvar android.widget.LinearLayout.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.Spinner.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.GridView.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk15/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk15ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.media.AudioManager\nimport android.content.ClipboardManager\nimport android.net.ConnectivityManager\nimport android.app.admin.DevicePolicyManager\nimport android.app.DownloadManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.os.PowerManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.os.storage.StorageManager\nimport android.telephony.TelephonyManager\nimport android.app.UiModeManager\nimport android.hardware.usb.UsbManager\nimport android.app.WallpaperManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk15/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk15ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk15View` {\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk15View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk15View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk15View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk15View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk15View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk15View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk15View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk15View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk15View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk15View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk15View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk15View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk15View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk15View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk15View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk15ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk15ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk15-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk15-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk15.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk15-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk15CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk15.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk15-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk15-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk15.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk15-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk15ListenersListenersKt\")\npackage org.jetbrains.anko.sdk15.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk19/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk19/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk19\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk19/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk19LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.AbsoluteLayout\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk19/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk19PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.LinearLayout.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.CalendarView.selectedDateVerticalBarResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelectedDateVerticalBar(v)\n\nvar android.widget.CheckedTextView.checkMarkDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCheckMarkDrawable(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk19/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk19ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.app.AppOpsManager\nimport android.media.AudioManager\nimport android.bluetooth.BluetoothManager\nimport android.view.accessibility.CaptioningManager\nimport android.content.ClipboardManager\nimport android.net.ConnectivityManager\nimport android.hardware.ConsumerIrManager\nimport android.app.admin.DevicePolicyManager\nimport android.hardware.display.DisplayManager\nimport android.app.DownloadManager\nimport android.hardware.input.InputManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.net.nsd.NsdManager\nimport android.os.PowerManager\nimport android.print.PrintManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.os.storage.StorageManager\nimport android.telephony.TelephonyManager\nimport android.app.UiModeManager\nimport android.hardware.usb.UsbManager\nimport android.os.UserManager\nimport android.app.WallpaperManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AppOpsManager instance. **/\nval Context.appOpsManager: AppOpsManager\n    get() = getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the BluetoothManager instance. **/\nval Context.bluetoothManager: BluetoothManager\n    get() = getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager\n\n\n/** Returns the CaptioningManager instance. **/\nval Context.captioningManager: CaptioningManager\n    get() = getSystemService(Context.CAPTIONING_SERVICE) as CaptioningManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the ConsumerIrManager instance. **/\nval Context.consumerIrManager: ConsumerIrManager\n    get() = getSystemService(Context.CONSUMER_IR_SERVICE) as ConsumerIrManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DisplayManager instance. **/\nval Context.displayManager: DisplayManager\n    get() = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the InputManager instance. **/\nval Context.inputManager: InputManager\n    get() = getSystemService(Context.INPUT_SERVICE) as InputManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the NsdManager instance. **/\nval Context.nsdManager: NsdManager\n    get() = getSystemService(Context.NSD_SERVICE) as NsdManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the PrintManager instance. **/\nval Context.printManager: PrintManager\n    get() = getSystemService(Context.PRINT_SERVICE) as PrintManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the UserManager instance. **/\nval Context.userManager: UserManager\n    get() = getSystemService(Context.USER_SERVICE) as UserManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk19/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk19ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk19View` {\n    val MEDIA_ROUTE_BUTTON = { ctx: Context -> android.app.MediaRouteButton(ctx) }\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_CLOCK = { ctx: Context -> android.widget.TextClock(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.mediaRouteButton(): android.app.MediaRouteButton = mediaRouteButton() {}\ninline fun ViewManager.mediaRouteButton(init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.MEDIA_ROUTE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0): android.app.MediaRouteButton = themedMediaRouteButton(theme) {}\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0, init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.MEDIA_ROUTE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk19View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk19View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk19View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk19View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk19View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk19View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk19View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk19View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk19View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textClock(): android.widget.TextClock = textClock() {}\ninline fun ViewManager.textClock(init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextClock(theme: Int = 0): android.widget.TextClock = themedTextClock(theme) {}\ninline fun ViewManager.themedTextClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TEXT_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk19View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk19View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk19View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk19View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk19View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk19View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk19ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk19ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk19-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk19-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk19.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk19-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk19CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk19.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.AutoCompleteTextView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onInfo(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnInfoListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk19-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk19-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk19.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk19-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk19ListenersListenersKt\")\npackage org.jetbrains.anko.sdk19.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.AutoCompleteTextView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onInfo(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnInfoListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk21/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk21/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk21\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk21/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk21LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.AbsoluteLayout\nimport android.widget.ActionMenuView\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.Toolbar\nimport android.app.ActionBar\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionMenuView(ctx: Context): ActionMenuView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Toolbar(ctx: Context): Toolbar(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk21/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk21PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.LinearLayout.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.CalendarView.selectedDateVerticalBarResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelectedDateVerticalBar(v)\n\nvar android.widget.CheckedTextView.checkMarkDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCheckMarkDrawable(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\nvar android.widget.Toolbar.logoResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogo(v)\n\nvar android.widget.Toolbar.logoDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogoDescription(v)\n\nvar android.widget.Toolbar.navigationContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationContentDescription(v)\n\nvar android.widget.Toolbar.navigationIconResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationIcon(v)\n\nvar android.widget.Toolbar.subtitleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSubtitle(v)\n\nvar android.widget.Toolbar.titleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTitle(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk21/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk21ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.app.AppOpsManager\nimport android.media.AudioManager\nimport android.os.BatteryManager\nimport android.bluetooth.BluetoothManager\nimport android.hardware.camera2.CameraManager\nimport android.view.accessibility.CaptioningManager\nimport android.content.ClipboardManager\nimport android.net.ConnectivityManager\nimport android.hardware.ConsumerIrManager\nimport android.app.admin.DevicePolicyManager\nimport android.hardware.display.DisplayManager\nimport android.app.DownloadManager\nimport android.hardware.input.InputManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.media.projection.MediaProjectionManager\nimport android.media.session.MediaSessionManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.net.nsd.NsdManager\nimport android.os.PowerManager\nimport android.print.PrintManager\nimport android.content.RestrictionsManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.os.storage.StorageManager\nimport android.telecom.TelecomManager\nimport android.telephony.TelephonyManager\nimport android.media.tv.TvInputManager\nimport android.app.UiModeManager\nimport android.hardware.usb.UsbManager\nimport android.os.UserManager\nimport android.app.WallpaperManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AppOpsManager instance. **/\nval Context.appOpsManager: AppOpsManager\n    get() = getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the BatteryManager instance. **/\nval Context.batteryManager: BatteryManager\n    get() = getSystemService(Context.BATTERY_SERVICE) as BatteryManager\n\n\n/** Returns the BluetoothManager instance. **/\nval Context.bluetoothManager: BluetoothManager\n    get() = getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager\n\n\n/** Returns the CameraManager instance. **/\nval Context.cameraManager: CameraManager\n    get() = getSystemService(Context.CAMERA_SERVICE) as CameraManager\n\n\n/** Returns the CaptioningManager instance. **/\nval Context.captioningManager: CaptioningManager\n    get() = getSystemService(Context.CAPTIONING_SERVICE) as CaptioningManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the ConsumerIrManager instance. **/\nval Context.consumerIrManager: ConsumerIrManager\n    get() = getSystemService(Context.CONSUMER_IR_SERVICE) as ConsumerIrManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DisplayManager instance. **/\nval Context.displayManager: DisplayManager\n    get() = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the InputManager instance. **/\nval Context.inputManager: InputManager\n    get() = getSystemService(Context.INPUT_SERVICE) as InputManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the MediaProjectionManager instance. **/\nval Context.mediaProjectionManager: MediaProjectionManager\n    get() = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as MediaProjectionManager\n\n\n/** Returns the MediaSessionManager instance. **/\nval Context.mediaSessionManager: MediaSessionManager\n    get() = getSystemService(Context.MEDIA_SESSION_SERVICE) as MediaSessionManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the NsdManager instance. **/\nval Context.nsdManager: NsdManager\n    get() = getSystemService(Context.NSD_SERVICE) as NsdManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the PrintManager instance. **/\nval Context.printManager: PrintManager\n    get() = getSystemService(Context.PRINT_SERVICE) as PrintManager\n\n\n/** Returns the RestrictionsManager instance. **/\nval Context.restrictionsManager: RestrictionsManager\n    get() = getSystemService(Context.RESTRICTIONS_SERVICE) as RestrictionsManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the TelecomManager instance. **/\nval Context.telecomManager: TelecomManager\n    get() = getSystemService(Context.TELECOM_SERVICE) as TelecomManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the TvInputManager instance. **/\nval Context.tvInputManager: TvInputManager\n    get() = getSystemService(Context.TV_INPUT_SERVICE) as TvInputManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the UserManager instance. **/\nval Context.userManager: UserManager\n    get() = getSystemService(Context.USER_SERVICE) as UserManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk21/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk21ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk21View` {\n    val MEDIA_ROUTE_BUTTON = { ctx: Context -> android.app.MediaRouteButton(ctx) }\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val TV_VIEW = { ctx: Context -> android.media.tv.TvView(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_CLOCK = { ctx: Context -> android.widget.TextClock(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.mediaRouteButton(): android.app.MediaRouteButton = mediaRouteButton() {}\ninline fun ViewManager.mediaRouteButton(init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.MEDIA_ROUTE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0): android.app.MediaRouteButton = themedMediaRouteButton(theme) {}\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0, init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.MEDIA_ROUTE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.tvView(): android.media.tv.TvView = tvView() {}\ninline fun ViewManager.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun ViewManager.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Context.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Context.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Context.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Activity.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Activity.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Activity.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TV_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk21View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk21View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk21View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk21View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk21View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk21View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk21View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk21View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk21View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textClock(): android.widget.TextClock = textClock() {}\ninline fun ViewManager.textClock(init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextClock(theme: Int = 0): android.widget.TextClock = themedTextClock(theme) {}\ninline fun ViewManager.themedTextClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TEXT_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk21View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk21View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk21View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk21View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk21View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk21View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk21ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val ACTION_MENU_VIEW = { ctx: Context -> _ActionMenuView(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val TOOLBAR = { ctx: Context -> _Toolbar(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun ViewManager.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun ViewManager.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Context.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Context.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Activity.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Activity.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun ViewManager.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun ViewManager.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Context.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Context.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Context.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Context.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Activity.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Activity.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Activity.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Activity.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk21ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk21-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk21-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk21.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk21-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk21CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk21.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\nimport android.view.WindowInsets\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.media.tv.TvView.onUnhandledInputEvent(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(event: android.view.InputEvent?) -> Unit\n) {\n    setOnUnhandledInputEventListener { event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onApplyWindowInsets(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: WindowInsets,\n        handler: suspend CoroutineScope.(v: android.view.View?, insets: android.view.WindowInsets?) -> Unit\n) {\n    setOnApplyWindowInsetsListener { v, insets ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, insets)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.ActionMenuView.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.AutoCompleteTextView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.Toolbar.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onInfo(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnInfoListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk21-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk21-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk21.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk21-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk21ListenersListenersKt\")\npackage org.jetbrains.anko.sdk21.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.media.tv.TvView.onUnhandledInputEvent(noinline l: (event: android.view.InputEvent?) -> Boolean) {\n    setOnUnhandledInputEventListener(l)\n}\n\ninline fun android.view.View.onApplyWindowInsets(noinline l: (v: android.view.View?, insets: android.view.WindowInsets?) -> android.view.WindowInsets?) {\n    setOnApplyWindowInsetsListener(l)\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.ActionMenuView.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.AutoCompleteTextView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.Toolbar.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onInfo(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnInfoListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk23/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk23/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk23\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk23/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk23LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.AbsoluteLayout\nimport android.widget.ActionMenuView\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.Toolbar\nimport android.app.ActionBar\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionMenuView(ctx: Context): ActionMenuView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Toolbar(ctx: Context): Toolbar(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk23/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk23PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.LinearLayout.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.CalendarView.selectedDateVerticalBarResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelectedDateVerticalBar(v)\n\nvar android.widget.CheckedTextView.checkMarkDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCheckMarkDrawable(v)\n\nvar android.widget.CompoundButton.buttonDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setButtonDrawable(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\nvar android.widget.Toolbar.logoResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogo(v)\n\nvar android.widget.Toolbar.logoDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogoDescription(v)\n\nvar android.widget.Toolbar.navigationContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationContentDescription(v)\n\nvar android.widget.Toolbar.navigationIconResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationIcon(v)\n\nvar android.widget.Toolbar.subtitleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSubtitle(v)\n\nvar android.widget.Toolbar.titleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTitle(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk23/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk23ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.app.AppOpsManager\nimport android.media.AudioManager\nimport android.os.BatteryManager\nimport android.bluetooth.BluetoothManager\nimport android.hardware.camera2.CameraManager\nimport android.view.accessibility.CaptioningManager\nimport android.telephony.CarrierConfigManager\nimport android.content.ClipboardManager\nimport android.net.ConnectivityManager\nimport android.hardware.ConsumerIrManager\nimport android.app.admin.DevicePolicyManager\nimport android.hardware.display.DisplayManager\nimport android.app.DownloadManager\nimport android.hardware.fingerprint.FingerprintManager\nimport android.hardware.input.InputManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.media.projection.MediaProjectionManager\nimport android.media.session.MediaSessionManager\nimport android.media.midi.MidiManager\nimport android.app.usage.NetworkStatsManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.net.nsd.NsdManager\nimport android.os.PowerManager\nimport android.print.PrintManager\nimport android.content.RestrictionsManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.os.storage.StorageManager\nimport android.telecom.TelecomManager\nimport android.telephony.TelephonyManager\nimport android.media.tv.TvInputManager\nimport android.app.UiModeManager\nimport android.app.usage.UsageStatsManager\nimport android.hardware.usb.UsbManager\nimport android.os.UserManager\nimport android.app.WallpaperManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AppOpsManager instance. **/\nval Context.appOpsManager: AppOpsManager\n    get() = getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the BatteryManager instance. **/\nval Context.batteryManager: BatteryManager\n    get() = getSystemService(Context.BATTERY_SERVICE) as BatteryManager\n\n\n/** Returns the BluetoothManager instance. **/\nval Context.bluetoothManager: BluetoothManager\n    get() = getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager\n\n\n/** Returns the CameraManager instance. **/\nval Context.cameraManager: CameraManager\n    get() = getSystemService(Context.CAMERA_SERVICE) as CameraManager\n\n\n/** Returns the CaptioningManager instance. **/\nval Context.captioningManager: CaptioningManager\n    get() = getSystemService(Context.CAPTIONING_SERVICE) as CaptioningManager\n\n\n/** Returns the CarrierConfigManager instance. **/\nval Context.carrierConfigManager: CarrierConfigManager\n    get() = getSystemService(Context.CARRIER_CONFIG_SERVICE) as CarrierConfigManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the ConsumerIrManager instance. **/\nval Context.consumerIrManager: ConsumerIrManager\n    get() = getSystemService(Context.CONSUMER_IR_SERVICE) as ConsumerIrManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DisplayManager instance. **/\nval Context.displayManager: DisplayManager\n    get() = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the FingerprintManager instance. **/\nval Context.fingerprintManager: FingerprintManager\n    get() = getSystemService(Context.FINGERPRINT_SERVICE) as FingerprintManager\n\n\n/** Returns the InputManager instance. **/\nval Context.inputManager: InputManager\n    get() = getSystemService(Context.INPUT_SERVICE) as InputManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the MediaProjectionManager instance. **/\nval Context.mediaProjectionManager: MediaProjectionManager\n    get() = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as MediaProjectionManager\n\n\n/** Returns the MediaSessionManager instance. **/\nval Context.mediaSessionManager: MediaSessionManager\n    get() = getSystemService(Context.MEDIA_SESSION_SERVICE) as MediaSessionManager\n\n\n/** Returns the MidiManager instance. **/\nval Context.midiManager: MidiManager\n    get() = getSystemService(Context.MIDI_SERVICE) as MidiManager\n\n\n/** Returns the NetworkStatsManager instance. **/\nval Context.networkStatsManager: NetworkStatsManager\n    get() = getSystemService(Context.NETWORK_STATS_SERVICE) as NetworkStatsManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the NsdManager instance. **/\nval Context.nsdManager: NsdManager\n    get() = getSystemService(Context.NSD_SERVICE) as NsdManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the PrintManager instance. **/\nval Context.printManager: PrintManager\n    get() = getSystemService(Context.PRINT_SERVICE) as PrintManager\n\n\n/** Returns the RestrictionsManager instance. **/\nval Context.restrictionsManager: RestrictionsManager\n    get() = getSystemService(Context.RESTRICTIONS_SERVICE) as RestrictionsManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the TelecomManager instance. **/\nval Context.telecomManager: TelecomManager\n    get() = getSystemService(Context.TELECOM_SERVICE) as TelecomManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the TvInputManager instance. **/\nval Context.tvInputManager: TvInputManager\n    get() = getSystemService(Context.TV_INPUT_SERVICE) as TvInputManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsageStatsManager instance. **/\nval Context.usageStatsManager: UsageStatsManager\n    get() = getSystemService(Context.USAGE_STATS_SERVICE) as UsageStatsManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the UserManager instance. **/\nval Context.userManager: UserManager\n    get() = getSystemService(Context.USER_SERVICE) as UserManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk23/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk23ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk23View` {\n    val MEDIA_ROUTE_BUTTON = { ctx: Context -> android.app.MediaRouteButton(ctx) }\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val TV_VIEW = { ctx: Context -> android.media.tv.TvView(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_CLOCK = { ctx: Context -> android.widget.TextClock(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.mediaRouteButton(): android.app.MediaRouteButton = mediaRouteButton() {}\ninline fun ViewManager.mediaRouteButton(init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.MEDIA_ROUTE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0): android.app.MediaRouteButton = themedMediaRouteButton(theme) {}\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0, init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.MEDIA_ROUTE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.tvView(): android.media.tv.TvView = tvView() {}\ninline fun ViewManager.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun ViewManager.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Context.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Context.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Context.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Activity.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Activity.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Activity.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TV_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk23View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk23View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk23View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk23View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk23View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk23View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk23View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk23View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk23View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textClock(): android.widget.TextClock = textClock() {}\ninline fun ViewManager.textClock(init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextClock(theme: Int = 0): android.widget.TextClock = themedTextClock(theme) {}\ninline fun ViewManager.themedTextClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TEXT_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk23View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk23View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk23View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk23View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk23View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk23View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk23ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val ACTION_MENU_VIEW = { ctx: Context -> _ActionMenuView(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val TOOLBAR = { ctx: Context -> _Toolbar(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun ViewManager.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun ViewManager.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Context.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Context.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Activity.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Activity.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun ViewManager.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun ViewManager.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Context.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Context.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Context.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Context.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Activity.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Activity.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Activity.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Activity.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk23ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk23-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk23-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk23.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk23-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk23CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk23.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\nimport android.view.WindowInsets\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.media.tv.TvView.onUnhandledInputEvent(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(event: android.view.InputEvent?) -> Unit\n) {\n    setOnUnhandledInputEventListener { event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onApplyWindowInsets(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: WindowInsets,\n        handler: suspend CoroutineScope.(v: android.view.View?, insets: android.view.WindowInsets?) -> Unit\n) {\n    setOnApplyWindowInsetsListener { v, insets ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, insets)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onContextClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnContextClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onScrollChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit\n) {\n    setOnScrollChangeListener { v, scrollX, scrollY, oldScrollX, oldScrollY ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, scrollX, scrollY, oldScrollX, oldScrollY)\n        }\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.ActionMenuView.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.AutoCompleteTextView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.Toolbar.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onInfo(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnInfoListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk23-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk23-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk23.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk23-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk23ListenersListenersKt\")\npackage org.jetbrains.anko.sdk23.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.media.tv.TvView.onUnhandledInputEvent(noinline l: (event: android.view.InputEvent?) -> Boolean) {\n    setOnUnhandledInputEventListener(l)\n}\n\ninline fun android.view.View.onApplyWindowInsets(noinline l: (v: android.view.View?, insets: android.view.WindowInsets?) -> android.view.WindowInsets?) {\n    setOnApplyWindowInsetsListener(l)\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onContextClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnContextClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onScrollChange(noinline l: (v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit) {\n    setOnScrollChangeListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.ActionMenuView.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.AutoCompleteTextView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.Toolbar.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onInfo(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnInfoListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk25/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk25/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk25\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk25/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk25LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.AbsoluteLayout\nimport android.widget.ActionMenuView\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.Toolbar\nimport android.app.ActionBar\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionMenuView(ctx: Context): ActionMenuView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Toolbar(ctx: Context): Toolbar(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk25/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk25PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.CalendarView.selectedDateVerticalBarResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelectedDateVerticalBar(v)\n\nvar android.widget.CheckedTextView.checkMarkDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCheckMarkDrawable(v)\n\nvar android.widget.CompoundButton.buttonDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setButtonDrawable(v)\n\nvar android.widget.TabWidget.leftStripDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLeftStripDrawable(v)\n\nvar android.widget.TabWidget.rightStripDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setRightStripDrawable(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\nvar android.widget.Toolbar.logoResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogo(v)\n\nvar android.widget.Toolbar.logoDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogoDescription(v)\n\nvar android.widget.Toolbar.navigationContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationContentDescription(v)\n\nvar android.widget.Toolbar.navigationIconResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationIcon(v)\n\nvar android.widget.Toolbar.subtitleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSubtitle(v)\n\nvar android.widget.Toolbar.titleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTitle(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk25/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk25ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.app.AppOpsManager\nimport android.media.AudioManager\nimport android.os.BatteryManager\nimport android.bluetooth.BluetoothManager\nimport android.hardware.camera2.CameraManager\nimport android.view.accessibility.CaptioningManager\nimport android.telephony.CarrierConfigManager\nimport android.content.ClipboardManager\nimport android.net.ConnectivityManager\nimport android.hardware.ConsumerIrManager\nimport android.app.admin.DevicePolicyManager\nimport android.hardware.display.DisplayManager\nimport android.app.DownloadManager\nimport android.hardware.fingerprint.FingerprintManager\nimport android.os.HardwarePropertiesManager\nimport android.hardware.input.InputManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.media.projection.MediaProjectionManager\nimport android.media.session.MediaSessionManager\nimport android.media.midi.MidiManager\nimport android.app.usage.NetworkStatsManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.net.nsd.NsdManager\nimport android.os.PowerManager\nimport android.print.PrintManager\nimport android.content.RestrictionsManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.content.pm.ShortcutManager\nimport android.os.storage.StorageManager\nimport android.os.health.SystemHealthManager\nimport android.telecom.TelecomManager\nimport android.telephony.TelephonyManager\nimport android.media.tv.TvInputManager\nimport android.app.UiModeManager\nimport android.app.usage.UsageStatsManager\nimport android.hardware.usb.UsbManager\nimport android.os.UserManager\nimport android.app.WallpaperManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AppOpsManager instance. **/\nval Context.appOpsManager: AppOpsManager\n    get() = getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the BatteryManager instance. **/\nval Context.batteryManager: BatteryManager\n    get() = getSystemService(Context.BATTERY_SERVICE) as BatteryManager\n\n\n/** Returns the BluetoothManager instance. **/\nval Context.bluetoothManager: BluetoothManager\n    get() = getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager\n\n\n/** Returns the CameraManager instance. **/\nval Context.cameraManager: CameraManager\n    get() = getSystemService(Context.CAMERA_SERVICE) as CameraManager\n\n\n/** Returns the CaptioningManager instance. **/\nval Context.captioningManager: CaptioningManager\n    get() = getSystemService(Context.CAPTIONING_SERVICE) as CaptioningManager\n\n\n/** Returns the CarrierConfigManager instance. **/\nval Context.carrierConfigManager: CarrierConfigManager\n    get() = getSystemService(Context.CARRIER_CONFIG_SERVICE) as CarrierConfigManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the ConsumerIrManager instance. **/\nval Context.consumerIrManager: ConsumerIrManager\n    get() = getSystemService(Context.CONSUMER_IR_SERVICE) as ConsumerIrManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DisplayManager instance. **/\nval Context.displayManager: DisplayManager\n    get() = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the FingerprintManager instance. **/\nval Context.fingerprintManager: FingerprintManager\n    get() = getSystemService(Context.FINGERPRINT_SERVICE) as FingerprintManager\n\n\n/** Returns the HardwarePropertiesManager instance. **/\nval Context.hardwarePropertiesManager: HardwarePropertiesManager\n    get() = getSystemService(Context.HARDWARE_PROPERTIES_SERVICE) as HardwarePropertiesManager\n\n\n/** Returns the InputManager instance. **/\nval Context.inputManager: InputManager\n    get() = getSystemService(Context.INPUT_SERVICE) as InputManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the MediaProjectionManager instance. **/\nval Context.mediaProjectionManager: MediaProjectionManager\n    get() = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as MediaProjectionManager\n\n\n/** Returns the MediaSessionManager instance. **/\nval Context.mediaSessionManager: MediaSessionManager\n    get() = getSystemService(Context.MEDIA_SESSION_SERVICE) as MediaSessionManager\n\n\n/** Returns the MidiManager instance. **/\nval Context.midiManager: MidiManager\n    get() = getSystemService(Context.MIDI_SERVICE) as MidiManager\n\n\n/** Returns the NetworkStatsManager instance. **/\nval Context.networkStatsManager: NetworkStatsManager\n    get() = getSystemService(Context.NETWORK_STATS_SERVICE) as NetworkStatsManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the NsdManager instance. **/\nval Context.nsdManager: NsdManager\n    get() = getSystemService(Context.NSD_SERVICE) as NsdManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the PrintManager instance. **/\nval Context.printManager: PrintManager\n    get() = getSystemService(Context.PRINT_SERVICE) as PrintManager\n\n\n/** Returns the RestrictionsManager instance. **/\nval Context.restrictionsManager: RestrictionsManager\n    get() = getSystemService(Context.RESTRICTIONS_SERVICE) as RestrictionsManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the ShortcutManager instance. **/\nval Context.shortcutManager: ShortcutManager\n    get() = getSystemService(Context.SHORTCUT_SERVICE) as ShortcutManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the SystemHealthManager instance. **/\nval Context.systemHealthManager: SystemHealthManager\n    get() = getSystemService(Context.SYSTEM_HEALTH_SERVICE) as SystemHealthManager\n\n\n/** Returns the TelecomManager instance. **/\nval Context.telecomManager: TelecomManager\n    get() = getSystemService(Context.TELECOM_SERVICE) as TelecomManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the TvInputManager instance. **/\nval Context.tvInputManager: TvInputManager\n    get() = getSystemService(Context.TV_INPUT_SERVICE) as TvInputManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsageStatsManager instance. **/\nval Context.usageStatsManager: UsageStatsManager\n    get() = getSystemService(Context.USAGE_STATS_SERVICE) as UsageStatsManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the UserManager instance. **/\nval Context.userManager: UserManager\n    get() = getSystemService(Context.USER_SERVICE) as UserManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk25/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk25ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk25View` {\n    val MEDIA_ROUTE_BUTTON = { ctx: Context -> android.app.MediaRouteButton(ctx) }\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val TV_VIEW = { ctx: Context -> android.media.tv.TvView(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_CLOCK = { ctx: Context -> android.widget.TextClock(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.mediaRouteButton(): android.app.MediaRouteButton = mediaRouteButton() {}\ninline fun ViewManager.mediaRouteButton(init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.MEDIA_ROUTE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0): android.app.MediaRouteButton = themedMediaRouteButton(theme) {}\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0, init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.MEDIA_ROUTE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.tvView(): android.media.tv.TvView = tvView() {}\ninline fun ViewManager.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun ViewManager.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Context.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Context.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Context.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Activity.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Activity.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Activity.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TV_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk25View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk25View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk25View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk25View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk25View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk25View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk25View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk25View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk25View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textClock(): android.widget.TextClock = textClock() {}\ninline fun ViewManager.textClock(init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextClock(theme: Int = 0): android.widget.TextClock = themedTextClock(theme) {}\ninline fun ViewManager.themedTextClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TEXT_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk25View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk25View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk25View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk25View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk25View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk25View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk25ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val ACTION_MENU_VIEW = { ctx: Context -> _ActionMenuView(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val TOOLBAR = { ctx: Context -> _Toolbar(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun ViewManager.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun ViewManager.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Context.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Context.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Activity.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Activity.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun ViewManager.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun ViewManager.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Context.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Context.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Context.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Context.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Activity.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Activity.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Activity.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Activity.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk25ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk25-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk25-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk25.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk25-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk25CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk25.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\nimport android.view.WindowInsets\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.media.tv.TvView.onUnhandledInputEvent(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(event: android.view.InputEvent?) -> Unit\n) {\n    setOnUnhandledInputEventListener { event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onApplyWindowInsets(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: WindowInsets,\n        handler: suspend CoroutineScope.(v: android.view.View?, insets: android.view.WindowInsets?) -> Unit\n) {\n    setOnApplyWindowInsetsListener { v, insets ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, insets)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onContextClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnContextClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onScrollChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit\n) {\n    setOnScrollChangeListener { v, scrollX, scrollY, oldScrollX, oldScrollY ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, scrollX, scrollY, oldScrollX, oldScrollY)\n        }\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.ActionMenuView.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.AutoCompleteTextView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.Toolbar.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onInfo(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnInfoListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk25-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk25-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk25.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk25-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk25ListenersListenersKt\")\npackage org.jetbrains.anko.sdk25.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.media.tv.TvView.onUnhandledInputEvent(noinline l: (event: android.view.InputEvent?) -> Boolean) {\n    setOnUnhandledInputEventListener(l)\n}\n\ninline fun android.view.View.onApplyWindowInsets(noinline l: (v: android.view.View?, insets: android.view.WindowInsets?) -> android.view.WindowInsets?) {\n    setOnApplyWindowInsetsListener(l)\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onContextClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnContextClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onScrollChange(noinline l: (v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit) {\n    setOnScrollChangeListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.ActionMenuView.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.AutoCompleteTextView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.Toolbar.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onInfo(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnInfoListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk27/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk27/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk27\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk27/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk27LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.AbsoluteLayout\nimport android.widget.ActionMenuView\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.Toolbar\nimport android.app.ActionBar\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionMenuView(ctx: Context): ActionMenuView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Toolbar(ctx: Context): Toolbar(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk27/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk27PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.CalendarView.selectedDateVerticalBarResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelectedDateVerticalBar(v)\n\nvar android.widget.CheckedTextView.checkMarkDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCheckMarkDrawable(v)\n\nvar android.widget.CompoundButton.buttonDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setButtonDrawable(v)\n\nvar android.widget.TabWidget.leftStripDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLeftStripDrawable(v)\n\nvar android.widget.TabWidget.rightStripDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setRightStripDrawable(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\nvar android.widget.Toolbar.logoResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogo(v)\n\nvar android.widget.Toolbar.logoDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogoDescription(v)\n\nvar android.widget.Toolbar.navigationContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationContentDescription(v)\n\nvar android.widget.Toolbar.navigationIconResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationIcon(v)\n\nvar android.widget.Toolbar.subtitleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSubtitle(v)\n\nvar android.widget.Toolbar.titleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTitle(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk27/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk27ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.app.AppOpsManager\nimport android.media.AudioManager\nimport android.os.BatteryManager\nimport android.bluetooth.BluetoothManager\nimport android.hardware.camera2.CameraManager\nimport android.view.accessibility.CaptioningManager\nimport android.telephony.CarrierConfigManager\nimport android.content.ClipboardManager\nimport android.companion.CompanionDeviceManager\nimport android.net.ConnectivityManager\nimport android.hardware.ConsumerIrManager\nimport android.app.admin.DevicePolicyManager\nimport android.hardware.display.DisplayManager\nimport android.app.DownloadManager\nimport android.hardware.fingerprint.FingerprintManager\nimport android.os.HardwarePropertiesManager\nimport android.hardware.input.InputManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.media.projection.MediaProjectionManager\nimport android.media.session.MediaSessionManager\nimport android.media.midi.MidiManager\nimport android.app.usage.NetworkStatsManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.net.nsd.NsdManager\nimport android.os.PowerManager\nimport android.print.PrintManager\nimport android.content.RestrictionsManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.content.pm.ShortcutManager\nimport android.os.storage.StorageManager\nimport android.app.usage.StorageStatsManager\nimport android.os.health.SystemHealthManager\nimport android.telecom.TelecomManager\nimport android.telephony.TelephonyManager\nimport android.view.textclassifier.TextClassificationManager\nimport android.media.tv.TvInputManager\nimport android.app.UiModeManager\nimport android.app.usage.UsageStatsManager\nimport android.hardware.usb.UsbManager\nimport android.os.UserManager\nimport android.app.WallpaperManager\nimport android.net.wifi.aware.WifiAwareManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AppOpsManager instance. **/\nval Context.appOpsManager: AppOpsManager\n    get() = getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the BatteryManager instance. **/\nval Context.batteryManager: BatteryManager\n    get() = getSystemService(Context.BATTERY_SERVICE) as BatteryManager\n\n\n/** Returns the BluetoothManager instance. **/\nval Context.bluetoothManager: BluetoothManager\n    get() = getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager\n\n\n/** Returns the CameraManager instance. **/\nval Context.cameraManager: CameraManager\n    get() = getSystemService(Context.CAMERA_SERVICE) as CameraManager\n\n\n/** Returns the CaptioningManager instance. **/\nval Context.captioningManager: CaptioningManager\n    get() = getSystemService(Context.CAPTIONING_SERVICE) as CaptioningManager\n\n\n/** Returns the CarrierConfigManager instance. **/\nval Context.carrierConfigManager: CarrierConfigManager\n    get() = getSystemService(Context.CARRIER_CONFIG_SERVICE) as CarrierConfigManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the CompanionDeviceManager instance. **/\nval Context.companionDeviceManager: CompanionDeviceManager\n    get() = getSystemService(Context.COMPANION_DEVICE_SERVICE) as CompanionDeviceManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the ConsumerIrManager instance. **/\nval Context.consumerIrManager: ConsumerIrManager\n    get() = getSystemService(Context.CONSUMER_IR_SERVICE) as ConsumerIrManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DisplayManager instance. **/\nval Context.displayManager: DisplayManager\n    get() = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the FingerprintManager instance. **/\nval Context.fingerprintManager: FingerprintManager\n    get() = getSystemService(Context.FINGERPRINT_SERVICE) as FingerprintManager\n\n\n/** Returns the HardwarePropertiesManager instance. **/\nval Context.hardwarePropertiesManager: HardwarePropertiesManager\n    get() = getSystemService(Context.HARDWARE_PROPERTIES_SERVICE) as HardwarePropertiesManager\n\n\n/** Returns the InputManager instance. **/\nval Context.inputManager: InputManager\n    get() = getSystemService(Context.INPUT_SERVICE) as InputManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the MediaProjectionManager instance. **/\nval Context.mediaProjectionManager: MediaProjectionManager\n    get() = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as MediaProjectionManager\n\n\n/** Returns the MediaSessionManager instance. **/\nval Context.mediaSessionManager: MediaSessionManager\n    get() = getSystemService(Context.MEDIA_SESSION_SERVICE) as MediaSessionManager\n\n\n/** Returns the MidiManager instance. **/\nval Context.midiManager: MidiManager\n    get() = getSystemService(Context.MIDI_SERVICE) as MidiManager\n\n\n/** Returns the NetworkStatsManager instance. **/\nval Context.networkStatsManager: NetworkStatsManager\n    get() = getSystemService(Context.NETWORK_STATS_SERVICE) as NetworkStatsManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the NsdManager instance. **/\nval Context.nsdManager: NsdManager\n    get() = getSystemService(Context.NSD_SERVICE) as NsdManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the PrintManager instance. **/\nval Context.printManager: PrintManager\n    get() = getSystemService(Context.PRINT_SERVICE) as PrintManager\n\n\n/** Returns the RestrictionsManager instance. **/\nval Context.restrictionsManager: RestrictionsManager\n    get() = getSystemService(Context.RESTRICTIONS_SERVICE) as RestrictionsManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the ShortcutManager instance. **/\nval Context.shortcutManager: ShortcutManager\n    get() = getSystemService(Context.SHORTCUT_SERVICE) as ShortcutManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the StorageStatsManager instance. **/\nval Context.storageStatsManager: StorageStatsManager\n    get() = getSystemService(Context.STORAGE_STATS_SERVICE) as StorageStatsManager\n\n\n/** Returns the SystemHealthManager instance. **/\nval Context.systemHealthManager: SystemHealthManager\n    get() = getSystemService(Context.SYSTEM_HEALTH_SERVICE) as SystemHealthManager\n\n\n/** Returns the TelecomManager instance. **/\nval Context.telecomManager: TelecomManager\n    get() = getSystemService(Context.TELECOM_SERVICE) as TelecomManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the TextClassificationManager instance. **/\nval Context.textClassificationManager: TextClassificationManager\n    get() = getSystemService(Context.TEXT_CLASSIFICATION_SERVICE) as TextClassificationManager\n\n\n/** Returns the TvInputManager instance. **/\nval Context.tvInputManager: TvInputManager\n    get() = getSystemService(Context.TV_INPUT_SERVICE) as TvInputManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsageStatsManager instance. **/\nval Context.usageStatsManager: UsageStatsManager\n    get() = getSystemService(Context.USAGE_STATS_SERVICE) as UsageStatsManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the UserManager instance. **/\nval Context.userManager: UserManager\n    get() = getSystemService(Context.USER_SERVICE) as UserManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiAwareManager instance. **/\nval Context.wifiAwareManager: WifiAwareManager\n    get() = getSystemService(Context.WIFI_AWARE_SERVICE) as WifiAwareManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk27/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk27ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk27View` {\n    val MEDIA_ROUTE_BUTTON = { ctx: Context -> android.app.MediaRouteButton(ctx) }\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val TV_VIEW = { ctx: Context -> android.media.tv.TvView(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_CLOCK = { ctx: Context -> android.widget.TextClock(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.mediaRouteButton(): android.app.MediaRouteButton = mediaRouteButton() {}\ninline fun ViewManager.mediaRouteButton(init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.MEDIA_ROUTE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0): android.app.MediaRouteButton = themedMediaRouteButton(theme) {}\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0, init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.MEDIA_ROUTE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.tvView(): android.media.tv.TvView = tvView() {}\ninline fun ViewManager.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun ViewManager.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Context.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Context.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Context.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Activity.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Activity.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Activity.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TV_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk27View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk27View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk27View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk27View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk27View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk27View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk27View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk27View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk27View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textClock(): android.widget.TextClock = textClock() {}\ninline fun ViewManager.textClock(init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextClock(theme: Int = 0): android.widget.TextClock = themedTextClock(theme) {}\ninline fun ViewManager.themedTextClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TEXT_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk27View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk27View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk27View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk27View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk27View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk27View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk27ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val ACTION_MENU_VIEW = { ctx: Context -> _ActionMenuView(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val TOOLBAR = { ctx: Context -> _Toolbar(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun ViewManager.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun ViewManager.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Context.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Context.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Activity.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Activity.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun ViewManager.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun ViewManager.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Context.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Context.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Context.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Context.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Activity.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Activity.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Activity.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Activity.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk27ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk27-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk27-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk27.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk27-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk27CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk27.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\nimport android.view.WindowInsets\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.media.tv.TvView.onUnhandledInputEvent(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(event: android.view.InputEvent?) -> Unit\n) {\n    setOnUnhandledInputEventListener { event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onApplyWindowInsets(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: WindowInsets,\n        handler: suspend CoroutineScope.(v: android.view.View?, insets: android.view.WindowInsets?) -> Unit\n) {\n    setOnApplyWindowInsetsListener { v, insets ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, insets)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onCapturedPointer(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(view: android.view.View?, event: android.view.MotionEvent?) -> Unit\n) {\n    setOnCapturedPointerListener { view, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onContextClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnContextClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onScrollChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit\n) {\n    setOnScrollChangeListener { v, scrollX, scrollY, oldScrollX, oldScrollY ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, scrollX, scrollY, oldScrollX, oldScrollY)\n        }\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.ActionMenuView.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.AutoCompleteTextView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.DatePicker.onDateChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.DatePicker?, year: Int, monthOfYear: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangedListener { view, year, monthOfYear, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, monthOfYear, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.Toolbar.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onInfo(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnInfoListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk27-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk27-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk27.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk27-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk27ListenersListenersKt\")\npackage org.jetbrains.anko.sdk27.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.media.tv.TvView.onUnhandledInputEvent(noinline l: (event: android.view.InputEvent?) -> Boolean) {\n    setOnUnhandledInputEventListener(l)\n}\n\ninline fun android.view.View.onApplyWindowInsets(noinline l: (v: android.view.View?, insets: android.view.WindowInsets?) -> android.view.WindowInsets?) {\n    setOnApplyWindowInsetsListener(l)\n}\n\ninline fun android.view.View.onCapturedPointer(noinline l: (view: android.view.View?, event: android.view.MotionEvent?) -> Boolean) {\n    setOnCapturedPointerListener(l)\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onContextClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnContextClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onScrollChange(noinline l: (v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit) {\n    setOnScrollChangeListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.ActionMenuView.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.AutoCompleteTextView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.DatePicker.onDateChanged(noinline l: (view: android.widget.DatePicker?, year: Int, monthOfYear: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangedListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.Toolbar.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onInfo(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnInfoListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk28/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:platform-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk28/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk28\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk28/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"Sdk28LayoutsKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.appwidget.AppWidgetHostView\nimport android.view.View\nimport android.widget.AbsoluteLayout\nimport android.widget.ActionMenuView\nimport android.widget.Gallery\nimport android.widget.GridLayout\nimport android.widget.GridView\nimport android.widget.AbsListView\nimport android.widget.HorizontalScrollView\nimport android.widget.ImageSwitcher\nimport android.widget.LinearLayout\nimport android.widget.RadioGroup\nimport android.widget.RelativeLayout\nimport android.widget.ScrollView\nimport android.widget.TableLayout\nimport android.widget.TableRow\nimport android.widget.TextSwitcher\nimport android.widget.Toolbar\nimport android.app.ActionBar\nimport android.widget.ViewAnimator\nimport android.widget.ViewSwitcher\n\nopen class _AppWidgetHostView(ctx: Context): AppWidgetHostView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _AbsoluteLayout(ctx: Context): AbsoluteLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            x: Int,\n            y: Int\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(width, height, x, y)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsoluteLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsoluteLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ActionMenuView(ctx: Context): ActionMenuView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            other: ActionMenuView.LayoutParams?\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(other!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: ActionMenuView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = ActionMenuView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _FrameLayout(ctx: Context): FrameLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Gallery(ctx: Context): Gallery(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Gallery.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Gallery.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Gallery.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridLayout(ctx: Context): GridLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            rowSpec: GridLayout.Spec?,\n            columnSpec: GridLayout.Spec?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(rowSpec!!, columnSpec!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = GridLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            params: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(params!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: GridLayout.LayoutParams?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: GridLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = GridLayout.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _GridView(ctx: Context): GridView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            viewType: Int\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(width, height, viewType)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: AbsListView.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = AbsListView.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _HorizontalScrollView(ctx: Context): HorizontalScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ImageSwitcher(ctx: Context): ImageSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _LinearLayout(ctx: Context): LinearLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            weight: Float\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(width, height, weight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?,\n            init: LinearLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: LinearLayout.LayoutParams?\n    ): T {\n        val layoutParams = LinearLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RadioGroup(ctx: Context): RadioGroup(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RadioGroup.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RadioGroup.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _RelativeLayout(ctx: Context): RelativeLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?,\n            init: RelativeLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: RelativeLayout.LayoutParams?\n    ): T {\n        val layoutParams = RelativeLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ScrollView(ctx: Context): ScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableLayout(ctx: Context): TableLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TableRow(ctx: Context): TableRow(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            initWeight: Float\n    ): T {\n        val layoutParams = TableRow.LayoutParams(width, height, initWeight)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = TableRow.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            column: Int\n    ): T {\n        val layoutParams = TableRow.LayoutParams(column)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            p: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(p!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: TableRow.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = TableRow.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _TextSwitcher(ctx: Context): TextSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _Toolbar(ctx: Context): Toolbar(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            gravity: Int\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: Toolbar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ActionBar.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: Toolbar.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = Toolbar.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewAnimator(ctx: Context): ViewAnimator(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewSwitcher(ctx: Context): ViewSwitcher(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk28/src/main/java/Properties.kt",
    "content": "@file:JvmName(\"Sdk28PropertiesKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.*\n\nimport org.jetbrains.anko.internals.AnkoInternals\nimport kotlin.DeprecationLevel\n\nvar android.view.View.backgroundColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundColor(v)\n\nvar android.view.View.backgroundResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setBackgroundResource(v)\n\nvar android.widget.ImageView.imageResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageResource(v)\n\nvar android.widget.ImageView.imageURI: android.net.Uri?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageURI(v)\n\nvar android.widget.ImageView.imageBitmap: android.graphics.Bitmap?\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setImageBitmap(v)\n\nvar android.widget.TextView.textColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTextColor(v)\n\nvar android.widget.TextView.hintTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHintTextColor(v)\n\nvar android.widget.TextView.linkTextColor: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLinkTextColor(v)\n\nvar android.widget.TextView.lines: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLines(v)\n\nvar android.widget.TextView.singleLine: Boolean\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSingleLine(v)\n\nvar android.widget.RelativeLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.RelativeLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.LinearLayout.horizontalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHorizontalGravity(v)\n\nvar android.widget.LinearLayout.verticalGravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setVerticalGravity(v)\n\nvar android.widget.Gallery.gravity: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setGravity(v)\n\nvar android.widget.AbsListView.selectorResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelector(v)\n\nvar android.widget.CalendarView.selectedDateVerticalBarResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSelectedDateVerticalBar(v)\n\nvar android.widget.CheckedTextView.checkMarkDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setCheckMarkDrawable(v)\n\nvar android.widget.CompoundButton.buttonDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setButtonDrawable(v)\n\nvar android.widget.TabWidget.leftStripDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLeftStripDrawable(v)\n\nvar android.widget.TabWidget.rightStripDrawableResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setRightStripDrawable(v)\n\nvar android.widget.TextView.hintResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setHint(v)\n\nvar android.widget.TextView.textResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setText(v)\n\nvar android.widget.Toolbar.logoResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogo(v)\n\nvar android.widget.Toolbar.logoDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setLogoDescription(v)\n\nvar android.widget.Toolbar.navigationContentDescriptionResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationContentDescription(v)\n\nvar android.widget.Toolbar.navigationIconResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setNavigationIcon(v)\n\nvar android.widget.Toolbar.subtitleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setSubtitle(v)\n\nvar android.widget.Toolbar.titleResource: Int\n    @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = AnkoInternals.noGetter()\n    set(v) = setTitle(v)\n\n"
  },
  {
    "path": "anko/library/generated/sdk28/src/main/java/Services.kt",
    "content": "@file:JvmName(\"Sdk28ServicesKt\")\npackage org.jetbrains.anko\n\n\nimport android.content.Context\nimport android.view.accessibility.AccessibilityManager\nimport android.accounts.AccountManager\nimport android.app.ActivityManager\nimport android.app.AlarmManager\nimport android.app.AppOpsManager\nimport android.media.AudioManager\nimport android.os.BatteryManager\nimport android.bluetooth.BluetoothManager\nimport android.hardware.camera2.CameraManager\nimport android.view.accessibility.CaptioningManager\nimport android.telephony.CarrierConfigManager\nimport android.content.ClipboardManager\nimport android.companion.CompanionDeviceManager\nimport android.net.ConnectivityManager\nimport android.hardware.ConsumerIrManager\nimport android.app.admin.DevicePolicyManager\nimport android.hardware.display.DisplayManager\nimport android.app.DownloadManager\nimport android.telephony.euicc.EuiccManager\nimport android.hardware.fingerprint.FingerprintManager\nimport android.os.HardwarePropertiesManager\nimport android.hardware.input.InputManager\nimport android.view.inputmethod.InputMethodManager\nimport android.app.KeyguardManager\nimport android.location.LocationManager\nimport android.media.projection.MediaProjectionManager\nimport android.media.session.MediaSessionManager\nimport android.media.midi.MidiManager\nimport android.app.usage.NetworkStatsManager\nimport android.nfc.NfcManager\nimport android.app.NotificationManager\nimport android.net.nsd.NsdManager\nimport android.os.PowerManager\nimport android.print.PrintManager\nimport android.content.RestrictionsManager\nimport android.app.SearchManager\nimport android.hardware.SensorManager\nimport android.content.pm.ShortcutManager\nimport android.os.storage.StorageManager\nimport android.app.usage.StorageStatsManager\nimport android.os.health.SystemHealthManager\nimport android.telecom.TelecomManager\nimport android.telephony.TelephonyManager\nimport android.view.textclassifier.TextClassificationManager\nimport android.media.tv.TvInputManager\nimport android.app.UiModeManager\nimport android.app.usage.UsageStatsManager\nimport android.hardware.usb.UsbManager\nimport android.os.UserManager\nimport android.app.WallpaperManager\nimport android.net.wifi.aware.WifiAwareManager\nimport android.net.wifi.WifiManager\nimport android.net.wifi.p2p.WifiP2pManager\nimport android.view.WindowManager\n\n\n/** Returns the AccessibilityManager instance. **/\nval Context.accessibilityManager: AccessibilityManager\n    get() = getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager\n\n\n/** Returns the AccountManager instance. **/\nval Context.accountManager: AccountManager\n    get() = getSystemService(Context.ACCOUNT_SERVICE) as AccountManager\n\n\n/** Returns the ActivityManager instance. **/\nval Context.activityManager: ActivityManager\n    get() = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager\n\n\n/** Returns the AlarmManager instance. **/\nval Context.alarmManager: AlarmManager\n    get() = getSystemService(Context.ALARM_SERVICE) as AlarmManager\n\n\n/** Returns the AppOpsManager instance. **/\nval Context.appOpsManager: AppOpsManager\n    get() = getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager\n\n\n/** Returns the AudioManager instance. **/\nval Context.audioManager: AudioManager\n    get() = getSystemService(Context.AUDIO_SERVICE) as AudioManager\n\n\n/** Returns the BatteryManager instance. **/\nval Context.batteryManager: BatteryManager\n    get() = getSystemService(Context.BATTERY_SERVICE) as BatteryManager\n\n\n/** Returns the BluetoothManager instance. **/\nval Context.bluetoothManager: BluetoothManager\n    get() = getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager\n\n\n/** Returns the CameraManager instance. **/\nval Context.cameraManager: CameraManager\n    get() = getSystemService(Context.CAMERA_SERVICE) as CameraManager\n\n\n/** Returns the CaptioningManager instance. **/\nval Context.captioningManager: CaptioningManager\n    get() = getSystemService(Context.CAPTIONING_SERVICE) as CaptioningManager\n\n\n/** Returns the CarrierConfigManager instance. **/\nval Context.carrierConfigManager: CarrierConfigManager\n    get() = getSystemService(Context.CARRIER_CONFIG_SERVICE) as CarrierConfigManager\n\n\n/** Returns the ClipboardManager instance. **/\nval Context.clipboardManager: ClipboardManager\n    get() = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager\n\n\n/** Returns the CompanionDeviceManager instance. **/\nval Context.companionDeviceManager: CompanionDeviceManager\n    get() = getSystemService(Context.COMPANION_DEVICE_SERVICE) as CompanionDeviceManager\n\n\n/** Returns the ConnectivityManager instance. **/\nval Context.connectivityManager: ConnectivityManager\n    get() = getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager\n\n\n/** Returns the ConsumerIrManager instance. **/\nval Context.consumerIrManager: ConsumerIrManager\n    get() = getSystemService(Context.CONSUMER_IR_SERVICE) as ConsumerIrManager\n\n\n/** Returns the DevicePolicyManager instance. **/\nval Context.devicePolicyManager: DevicePolicyManager\n    get() = getSystemService(Context.DEVICE_POLICY_SERVICE) as DevicePolicyManager\n\n\n/** Returns the DisplayManager instance. **/\nval Context.displayManager: DisplayManager\n    get() = getSystemService(Context.DISPLAY_SERVICE) as DisplayManager\n\n\n/** Returns the DownloadManager instance. **/\nval Context.downloadManager: DownloadManager\n    get() = getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager\n\n\n/** Returns the EuiccManager instance. **/\nval Context.euiccManager: EuiccManager\n    get() = getSystemService(Context.EUICC_SERVICE) as EuiccManager\n\n\n/** Returns the FingerprintManager instance. **/\nval Context.fingerprintManager: FingerprintManager\n    get() = getSystemService(Context.FINGERPRINT_SERVICE) as FingerprintManager\n\n\n/** Returns the HardwarePropertiesManager instance. **/\nval Context.hardwarePropertiesManager: HardwarePropertiesManager\n    get() = getSystemService(Context.HARDWARE_PROPERTIES_SERVICE) as HardwarePropertiesManager\n\n\n/** Returns the InputManager instance. **/\nval Context.inputManager: InputManager\n    get() = getSystemService(Context.INPUT_SERVICE) as InputManager\n\n\n/** Returns the InputMethodManager instance. **/\nval Context.inputMethodManager: InputMethodManager\n    get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager\n\n\n/** Returns the KeyguardManager instance. **/\nval Context.keyguardManager: KeyguardManager\n    get() = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager\n\n\n/** Returns the LocationManager instance. **/\nval Context.locationManager: LocationManager\n    get() = getSystemService(Context.LOCATION_SERVICE) as LocationManager\n\n\n/** Returns the MediaProjectionManager instance. **/\nval Context.mediaProjectionManager: MediaProjectionManager\n    get() = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as MediaProjectionManager\n\n\n/** Returns the MediaSessionManager instance. **/\nval Context.mediaSessionManager: MediaSessionManager\n    get() = getSystemService(Context.MEDIA_SESSION_SERVICE) as MediaSessionManager\n\n\n/** Returns the MidiManager instance. **/\nval Context.midiManager: MidiManager\n    get() = getSystemService(Context.MIDI_SERVICE) as MidiManager\n\n\n/** Returns the NetworkStatsManager instance. **/\nval Context.networkStatsManager: NetworkStatsManager\n    get() = getSystemService(Context.NETWORK_STATS_SERVICE) as NetworkStatsManager\n\n\n/** Returns the NfcManager instance. **/\nval Context.nfcManager: NfcManager\n    get() = getSystemService(Context.NFC_SERVICE) as NfcManager\n\n\n/** Returns the NotificationManager instance. **/\nval Context.notificationManager: NotificationManager\n    get() = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager\n\n\n/** Returns the NsdManager instance. **/\nval Context.nsdManager: NsdManager\n    get() = getSystemService(Context.NSD_SERVICE) as NsdManager\n\n\n/** Returns the PowerManager instance. **/\nval Context.powerManager: PowerManager\n    get() = getSystemService(Context.POWER_SERVICE) as PowerManager\n\n\n/** Returns the PrintManager instance. **/\nval Context.printManager: PrintManager\n    get() = getSystemService(Context.PRINT_SERVICE) as PrintManager\n\n\n/** Returns the RestrictionsManager instance. **/\nval Context.restrictionsManager: RestrictionsManager\n    get() = getSystemService(Context.RESTRICTIONS_SERVICE) as RestrictionsManager\n\n\n/** Returns the SearchManager instance. **/\nval Context.searchManager: SearchManager\n    get() = getSystemService(Context.SEARCH_SERVICE) as SearchManager\n\n\n/** Returns the SensorManager instance. **/\nval Context.sensorManager: SensorManager\n    get() = getSystemService(Context.SENSOR_SERVICE) as SensorManager\n\n\n/** Returns the ShortcutManager instance. **/\nval Context.shortcutManager: ShortcutManager\n    get() = getSystemService(Context.SHORTCUT_SERVICE) as ShortcutManager\n\n\n/** Returns the StorageManager instance. **/\nval Context.storageManager: StorageManager\n    get() = getSystemService(Context.STORAGE_SERVICE) as StorageManager\n\n\n/** Returns the StorageStatsManager instance. **/\nval Context.storageStatsManager: StorageStatsManager\n    get() = getSystemService(Context.STORAGE_STATS_SERVICE) as StorageStatsManager\n\n\n/** Returns the SystemHealthManager instance. **/\nval Context.systemHealthManager: SystemHealthManager\n    get() = getSystemService(Context.SYSTEM_HEALTH_SERVICE) as SystemHealthManager\n\n\n/** Returns the TelecomManager instance. **/\nval Context.telecomManager: TelecomManager\n    get() = getSystemService(Context.TELECOM_SERVICE) as TelecomManager\n\n\n/** Returns the TelephonyManager instance. **/\nval Context.telephonyManager: TelephonyManager\n    get() = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager\n\n\n/** Returns the TextClassificationManager instance. **/\nval Context.textClassificationManager: TextClassificationManager\n    get() = getSystemService(Context.TEXT_CLASSIFICATION_SERVICE) as TextClassificationManager\n\n\n/** Returns the TvInputManager instance. **/\nval Context.tvInputManager: TvInputManager\n    get() = getSystemService(Context.TV_INPUT_SERVICE) as TvInputManager\n\n\n/** Returns the UiModeManager instance. **/\nval Context.uiModeManager: UiModeManager\n    get() = getSystemService(Context.UI_MODE_SERVICE) as UiModeManager\n\n\n/** Returns the UsageStatsManager instance. **/\nval Context.usageStatsManager: UsageStatsManager\n    get() = getSystemService(Context.USAGE_STATS_SERVICE) as UsageStatsManager\n\n\n/** Returns the UsbManager instance. **/\nval Context.usbManager: UsbManager\n    get() = getSystemService(Context.USB_SERVICE) as UsbManager\n\n\n/** Returns the UserManager instance. **/\nval Context.userManager: UserManager\n    get() = getSystemService(Context.USER_SERVICE) as UserManager\n\n\n/** Returns the WallpaperManager instance. **/\nval Context.wallpaperManager: WallpaperManager\n    get() = getSystemService(Context.WALLPAPER_SERVICE) as WallpaperManager\n\n\n/** Returns the WifiAwareManager instance. **/\nval Context.wifiAwareManager: WifiAwareManager\n    get() = getSystemService(Context.WIFI_AWARE_SERVICE) as WifiAwareManager\n\n\n/** Returns the WifiManager instance. **/\nval Context.wifiManager: WifiManager\n    get() = getSystemService(Context.WIFI_SERVICE) as WifiManager\n\n\n/** Returns the WifiP2pManager instance. **/\nval Context.wifiP2pManager: WifiP2pManager\n    get() = getSystemService(Context.WIFI_P2P_SERVICE) as WifiP2pManager\n\n\n/** Returns the WindowManager instance. **/\nval Context.windowManager: WindowManager\n    get() = getSystemService(Context.WINDOW_SERVICE) as WindowManager\n\n"
  },
  {
    "path": "anko/library/generated/sdk28/src/main/java/Views.kt",
    "content": "@file:JvmName(\"Sdk28ViewsKt\")\npackage org.jetbrains.anko\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk28View` {\n    val MEDIA_ROUTE_BUTTON = { ctx: Context -> android.app.MediaRouteButton(ctx) }\n    val GESTURE_OVERLAY_VIEW = { ctx: Context -> android.gesture.GestureOverlayView(ctx) }\n    val EXTRACT_EDIT_TEXT = { ctx: Context -> android.inputmethodservice.ExtractEditText(ctx) }\n    val TV_VIEW = { ctx: Context -> android.media.tv.TvView(ctx) }\n    val G_L_SURFACE_VIEW = { ctx: Context -> android.opengl.GLSurfaceView(ctx) }\n    val SURFACE_VIEW = { ctx: Context -> android.view.SurfaceView(ctx) }\n    val TEXTURE_VIEW = { ctx: Context -> android.view.TextureView(ctx) }\n    val VIEW = { ctx: Context -> android.view.View(ctx) }\n    val VIEW_STUB = { ctx: Context -> android.view.ViewStub(ctx) }\n    val WEB_VIEW = { ctx: Context -> android.webkit.WebView(ctx) }\n    val ADAPTER_VIEW_FLIPPER = { ctx: Context -> android.widget.AdapterViewFlipper(ctx) }\n    val ANALOG_CLOCK = { ctx: Context -> android.widget.AnalogClock(ctx) }\n    val AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.AutoCompleteTextView(ctx) }\n    val BUTTON = { ctx: Context -> android.widget.Button(ctx) }\n    val CALENDAR_VIEW = { ctx: Context -> android.widget.CalendarView(ctx) }\n    val CHECK_BOX = { ctx: Context -> android.widget.CheckBox(ctx) }\n    val CHECKED_TEXT_VIEW = { ctx: Context -> android.widget.CheckedTextView(ctx) }\n    val CHRONOMETER = { ctx: Context -> android.widget.Chronometer(ctx) }\n    val DATE_PICKER = { ctx: Context -> android.widget.DatePicker(ctx) }\n    val DIALER_FILTER = { ctx: Context -> android.widget.DialerFilter(ctx) }\n    val DIGITAL_CLOCK = { ctx: Context -> android.widget.DigitalClock(ctx) }\n    val EDIT_TEXT = { ctx: Context -> android.widget.EditText(ctx) }\n    val EXPANDABLE_LIST_VIEW = { ctx: Context -> android.widget.ExpandableListView(ctx) }\n    val IMAGE_BUTTON = { ctx: Context -> android.widget.ImageButton(ctx) }\n    val IMAGE_VIEW = { ctx: Context -> android.widget.ImageView(ctx) }\n    val LIST_VIEW = { ctx: Context -> android.widget.ListView(ctx) }\n    val MULTI_AUTO_COMPLETE_TEXT_VIEW = { ctx: Context -> android.widget.MultiAutoCompleteTextView(ctx) }\n    val NUMBER_PICKER = { ctx: Context -> android.widget.NumberPicker(ctx) }\n    val PROGRESS_BAR = { ctx: Context -> android.widget.ProgressBar(ctx) }\n    val QUICK_CONTACT_BADGE = { ctx: Context -> android.widget.QuickContactBadge(ctx) }\n    val RADIO_BUTTON = { ctx: Context -> android.widget.RadioButton(ctx) }\n    val RATING_BAR = { ctx: Context -> android.widget.RatingBar(ctx) }\n    val SEARCH_VIEW = { ctx: Context -> android.widget.SearchView(ctx) }\n    val SEEK_BAR = { ctx: Context -> android.widget.SeekBar(ctx) }\n    val SLIDING_DRAWER = { ctx: Context -> android.widget.SlidingDrawer(ctx, null) }\n    val SPACE = { ctx: Context -> android.widget.Space(ctx) }\n    val SPINNER = { ctx: Context -> android.widget.Spinner(ctx) }\n    val STACK_VIEW = { ctx: Context -> android.widget.StackView(ctx) }\n    val SWITCH = { ctx: Context -> android.widget.Switch(ctx) }\n    val TAB_HOST = { ctx: Context -> android.widget.TabHost(ctx) }\n    val TAB_WIDGET = { ctx: Context -> android.widget.TabWidget(ctx) }\n    val TEXT_CLOCK = { ctx: Context -> android.widget.TextClock(ctx) }\n    val TEXT_VIEW = { ctx: Context -> android.widget.TextView(ctx) }\n    val TIME_PICKER = { ctx: Context -> android.widget.TimePicker(ctx) }\n    val TOGGLE_BUTTON = { ctx: Context -> android.widget.ToggleButton(ctx) }\n    val TWO_LINE_LIST_ITEM = { ctx: Context -> android.widget.TwoLineListItem(ctx) }\n    val VIDEO_VIEW = { ctx: Context -> android.widget.VideoView(ctx) }\n    val VIEW_FLIPPER = { ctx: Context -> android.widget.ViewFlipper(ctx) }\n    val ZOOM_BUTTON = { ctx: Context -> android.widget.ZoomButton(ctx) }\n    val ZOOM_CONTROLS = { ctx: Context -> android.widget.ZoomControls(ctx) }\n}\n\ninline fun ViewManager.mediaRouteButton(): android.app.MediaRouteButton = mediaRouteButton() {}\ninline fun ViewManager.mediaRouteButton(init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.MEDIA_ROUTE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0): android.app.MediaRouteButton = themedMediaRouteButton(theme) {}\ninline fun ViewManager.themedMediaRouteButton(theme: Int = 0, init: (@AnkoViewDslMarker android.app.MediaRouteButton).() -> Unit): android.app.MediaRouteButton {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.MEDIA_ROUTE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun ViewManager.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun ViewManager.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Context.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Context.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Context.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun Activity.gestureOverlayView(): android.gesture.GestureOverlayView = gestureOverlayView() {}\ninline fun Activity.gestureOverlayView(init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.GESTURE_OVERLAY_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGestureOverlayView(theme: Int = 0): android.gesture.GestureOverlayView = themedGestureOverlayView(theme) {}\ninline fun Activity.themedGestureOverlayView(theme: Int = 0, init: (@AnkoViewDslMarker android.gesture.GestureOverlayView).() -> Unit): android.gesture.GestureOverlayView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.GESTURE_OVERLAY_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.extractEditText(): android.inputmethodservice.ExtractEditText = extractEditText() {}\ninline fun ViewManager.extractEditText(init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EXTRACT_EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExtractEditText(theme: Int = 0): android.inputmethodservice.ExtractEditText = themedExtractEditText(theme) {}\ninline fun ViewManager.themedExtractEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.inputmethodservice.ExtractEditText).() -> Unit): android.inputmethodservice.ExtractEditText {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.EXTRACT_EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.tvView(): android.media.tv.TvView = tvView() {}\ninline fun ViewManager.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun ViewManager.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Context.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Context.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Context.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TV_VIEW, theme) { init() }\n}\n\ninline fun Activity.tvView(): android.media.tv.TvView = tvView() {}\ninline fun Activity.tvView(init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TV_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTvView(theme: Int = 0): android.media.tv.TvView = themedTvView(theme) {}\ninline fun Activity.themedTvView(theme: Int = 0, init: (@AnkoViewDslMarker android.media.tv.TvView).() -> Unit): android.media.tv.TvView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TV_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.gLSurfaceView(): android.opengl.GLSurfaceView = gLSurfaceView() {}\ninline fun ViewManager.gLSurfaceView(init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.G_L_SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0): android.opengl.GLSurfaceView = themedGLSurfaceView(theme) {}\ninline fun ViewManager.themedGLSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.opengl.GLSurfaceView).() -> Unit): android.opengl.GLSurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.G_L_SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.surfaceView(): android.view.SurfaceView = surfaceView() {}\ninline fun ViewManager.surfaceView(init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SURFACE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSurfaceView(theme: Int = 0): android.view.SurfaceView = themedSurfaceView(theme) {}\ninline fun ViewManager.themedSurfaceView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.SurfaceView).() -> Unit): android.view.SurfaceView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SURFACE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textureView(): android.view.TextureView = textureView() {}\ninline fun ViewManager.textureView(init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXTURE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextureView(theme: Int = 0): android.view.TextureView = themedTextureView(theme) {}\ninline fun ViewManager.themedTextureView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.TextureView).() -> Unit): android.view.TextureView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TEXTURE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.view(): android.view.View = view() {}\ninline fun ViewManager.view(init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\n    return ankoView(`$$Anko$Factories$Sdk28View`.VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedView(theme: Int = 0): android.view.View = themedView(theme) {}\ninline fun ViewManager.themedView(theme: Int = 0, init: (@AnkoViewDslMarker android.view.View).() -> Unit): android.view.View {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewStub(): android.view.ViewStub = viewStub() {}\ninline fun ViewManager.viewStub(init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\n    return ankoView(`$$Anko$Factories$Sdk28View`.VIEW_STUB, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewStub(theme: Int = 0): android.view.ViewStub = themedViewStub(theme) {}\ninline fun ViewManager.themedViewStub(theme: Int = 0, init: (@AnkoViewDslMarker android.view.ViewStub).() -> Unit): android.view.ViewStub {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.VIEW_STUB, theme) { init() }\n}\n\ninline fun ViewManager.webView(): android.webkit.WebView = webView() {}\ninline fun ViewManager.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun ViewManager.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Context.webView(): android.webkit.WebView = webView() {}\ninline fun Context.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Context.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun Activity.webView(): android.webkit.WebView = webView() {}\ninline fun Activity.webView(init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.WEB_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedWebView(theme: Int = 0): android.webkit.WebView = themedWebView(theme) {}\ninline fun Activity.themedWebView(theme: Int = 0, init: (@AnkoViewDslMarker android.webkit.WebView).() -> Unit): android.webkit.WebView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.WEB_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun ViewManager.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun ViewManager.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Context.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Context.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.adapterViewFlipper(): android.widget.AdapterViewFlipper = adapterViewFlipper() {}\ninline fun Activity.adapterViewFlipper(init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ADAPTER_VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0): android.widget.AdapterViewFlipper = themedAdapterViewFlipper(theme) {}\ninline fun Activity.themedAdapterViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AdapterViewFlipper).() -> Unit): android.widget.AdapterViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ADAPTER_VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.analogClock(): android.widget.AnalogClock = analogClock() {}\ninline fun ViewManager.analogClock(init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ANALOG_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAnalogClock(theme: Int = 0): android.widget.AnalogClock = themedAnalogClock(theme) {}\ninline fun ViewManager.themedAnalogClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AnalogClock).() -> Unit): android.widget.AnalogClock {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ANALOG_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.autoCompleteTextView(): android.widget.AutoCompleteTextView = autoCompleteTextView() {}\ninline fun ViewManager.autoCompleteTextView(init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0): android.widget.AutoCompleteTextView = themedAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.AutoCompleteTextView).() -> Unit): android.widget.AutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.button(): android.widget.Button = button() {}\ninline fun ViewManager.button(init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedButton(theme: Int = 0): android.widget.Button = themedButton(theme) {}\ninline fun ViewManager.themedButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.button(text: CharSequence?): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.button(text: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.button(text: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedButton(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.Button).() -> Unit): android.widget.Button {\n    return ankoView(`$$Anko$Factories$Sdk28View`.BUTTON, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun ViewManager.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun ViewManager.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Context.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Context.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Context.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun Activity.calendarView(): android.widget.CalendarView = calendarView() {}\ninline fun Activity.calendarView(init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CALENDAR_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedCalendarView(theme: Int = 0): android.widget.CalendarView = themedCalendarView(theme) {}\ninline fun Activity.themedCalendarView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CalendarView).() -> Unit): android.widget.CalendarView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.CALENDAR_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(): android.widget.CheckBox = checkBox() {}\ninline fun ViewManager.checkBox(init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckBox(theme: Int = 0): android.widget.CheckBox = themedCheckBox(theme) {}\ninline fun ViewManager.themedCheckBox(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) { init() }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: CharSequence?, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: CharSequence?, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkBox(text: Int, checked: Boolean): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.checkBox(text: Int, checked: Boolean, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme = 0) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        setText(text)\n        setChecked(checked)\n    }\n}\ninline fun ViewManager.themedCheckBox(text: Int, checked: Boolean, theme: Int, init: (@AnkoViewDslMarker android.widget.CheckBox).() -> Unit): android.widget.CheckBox {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECK_BOX, theme) {\n        init()\n        setText(text)\n        setChecked(checked)\n    }\n}\n\ninline fun ViewManager.checkedTextView(): android.widget.CheckedTextView = checkedTextView() {}\ninline fun ViewManager.checkedTextView(init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHECKED_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0): android.widget.CheckedTextView = themedCheckedTextView(theme) {}\ninline fun ViewManager.themedCheckedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.CheckedTextView).() -> Unit): android.widget.CheckedTextView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.CHECKED_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.chronometer(): android.widget.Chronometer = chronometer() {}\ninline fun ViewManager.chronometer(init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\n    return ankoView(`$$Anko$Factories$Sdk28View`.CHRONOMETER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedChronometer(theme: Int = 0): android.widget.Chronometer = themedChronometer(theme) {}\ninline fun ViewManager.themedChronometer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Chronometer).() -> Unit): android.widget.Chronometer {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.CHRONOMETER, theme) { init() }\n}\n\ninline fun ViewManager.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun ViewManager.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun ViewManager.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Context.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Context.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Context.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun Activity.datePicker(): android.widget.DatePicker = datePicker() {}\ninline fun Activity.datePicker(init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DATE_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDatePicker(theme: Int = 0): android.widget.DatePicker = themedDatePicker(theme) {}\ninline fun Activity.themedDatePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DatePicker).() -> Unit): android.widget.DatePicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DATE_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun ViewManager.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun ViewManager.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Context.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Context.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Context.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Context.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun Activity.dialerFilter(): android.widget.DialerFilter = dialerFilter() {}\ninline fun Activity.dialerFilter(init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DIALER_FILTER, theme = 0) { init() }\n}\n\ninline fun Activity.themedDialerFilter(theme: Int = 0): android.widget.DialerFilter = themedDialerFilter(theme) {}\ninline fun Activity.themedDialerFilter(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DialerFilter).() -> Unit): android.widget.DialerFilter {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DIALER_FILTER, theme) { init() }\n}\n\ninline fun ViewManager.digitalClock(): android.widget.DigitalClock = digitalClock() {}\ninline fun ViewManager.digitalClock(init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\n    return ankoView(`$$Anko$Factories$Sdk28View`.DIGITAL_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDigitalClock(theme: Int = 0): android.widget.DigitalClock = themedDigitalClock(theme) {}\ninline fun ViewManager.themedDigitalClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.DigitalClock).() -> Unit): android.widget.DigitalClock {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.DIGITAL_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.editText(): android.widget.EditText = editText() {}\ninline fun ViewManager.editText(init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedEditText(theme: Int = 0): android.widget.EditText = themedEditText(theme) {}\ninline fun ViewManager.themedEditText(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme) { init() }\n}\n\ninline fun ViewManager.editText(text: CharSequence?): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.editText(text: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.editText(text: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedEditText(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.EditText).() -> Unit): android.widget.EditText {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EDIT_TEXT, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun ViewManager.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun ViewManager.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Context.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Context.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.expandableListView(): android.widget.ExpandableListView = expandableListView() {}\ninline fun Activity.expandableListView(init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.EXPANDABLE_LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedExpandableListView(theme: Int = 0): android.widget.ExpandableListView = themedExpandableListView(theme) {}\ninline fun Activity.themedExpandableListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ExpandableListView).() -> Unit): android.widget.ExpandableListView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.EXPANDABLE_LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(): android.widget.ImageButton = imageButton() {}\ninline fun ViewManager.imageButton(init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageButton(theme: Int = 0): android.widget.ImageButton = themedImageButton(theme) {}\ninline fun ViewManager.themedImageButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageButton(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageButton(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageButton(imageResource: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageButton(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageButton(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageButton).() -> Unit): android.widget.ImageButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_BUTTON, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.imageView(): android.widget.ImageView = imageView() {}\ninline fun ViewManager.imageView(init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageView(theme: Int = 0): android.widget.ImageView = themedImageView(theme) {}\ninline fun ViewManager.themedImageView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme = 0) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.imageView(imageDrawable: android.graphics.drawable.Drawable?, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme) {\n        setImageDrawable(imageDrawable)\n    }\n}\ninline fun ViewManager.themedImageView(imageDrawable: android.graphics.drawable.Drawable?, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme) {\n        init()\n        setImageDrawable(imageDrawable)\n    }\n}\n\ninline fun ViewManager.imageView(imageResource: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme = 0) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.imageView(imageResource: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme = 0) {\n        init()\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme) {\n        setImageResource(imageResource)\n    }\n}\ninline fun ViewManager.themedImageView(imageResource: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.ImageView).() -> Unit): android.widget.ImageView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.IMAGE_VIEW, theme) {\n        init()\n        setImageResource(imageResource)\n    }\n}\n\ninline fun ViewManager.listView(): android.widget.ListView = listView() {}\ninline fun ViewManager.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun ViewManager.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Context.listView(): android.widget.ListView = listView() {}\ninline fun Context.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Context.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun Activity.listView(): android.widget.ListView = listView() {}\ninline fun Activity.listView(init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.LIST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedListView(theme: Int = 0): android.widget.ListView = themedListView(theme) {}\ninline fun Activity.themedListView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ListView).() -> Unit): android.widget.ListView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.LIST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.multiAutoCompleteTextView(): android.widget.MultiAutoCompleteTextView = multiAutoCompleteTextView() {}\ninline fun ViewManager.multiAutoCompleteTextView(init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0): android.widget.MultiAutoCompleteTextView = themedMultiAutoCompleteTextView(theme) {}\ninline fun ViewManager.themedMultiAutoCompleteTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.MultiAutoCompleteTextView).() -> Unit): android.widget.MultiAutoCompleteTextView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.MULTI_AUTO_COMPLETE_TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun ViewManager.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun ViewManager.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Context.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Context.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Context.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun Activity.numberPicker(): android.widget.NumberPicker = numberPicker() {}\ninline fun Activity.numberPicker(init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.NUMBER_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedNumberPicker(theme: Int = 0): android.widget.NumberPicker = themedNumberPicker(theme) {}\ninline fun Activity.themedNumberPicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.NumberPicker).() -> Unit): android.widget.NumberPicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.NUMBER_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.progressBar(): android.widget.ProgressBar = progressBar() {}\ninline fun ViewManager.progressBar(init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\n    return ankoView(`$$Anko$Factories$Sdk28View`.PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedProgressBar(theme: Int = 0): android.widget.ProgressBar = themedProgressBar(theme) {}\ninline fun ViewManager.themedProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ProgressBar).() -> Unit): android.widget.ProgressBar {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.quickContactBadge(): android.widget.QuickContactBadge = quickContactBadge() {}\ninline fun ViewManager.quickContactBadge(init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\n    return ankoView(`$$Anko$Factories$Sdk28View`.QUICK_CONTACT_BADGE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0): android.widget.QuickContactBadge = themedQuickContactBadge(theme) {}\ninline fun ViewManager.themedQuickContactBadge(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.QuickContactBadge).() -> Unit): android.widget.QuickContactBadge {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.QUICK_CONTACT_BADGE, theme) { init() }\n}\n\ninline fun ViewManager.radioButton(): android.widget.RadioButton = radioButton() {}\ninline fun ViewManager.radioButton(init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.RADIO_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioButton(theme: Int = 0): android.widget.RadioButton = themedRadioButton(theme) {}\ninline fun ViewManager.themedRadioButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RadioButton).() -> Unit): android.widget.RadioButton {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.RADIO_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.ratingBar(): android.widget.RatingBar = ratingBar() {}\ninline fun ViewManager.ratingBar(init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\n    return ankoView(`$$Anko$Factories$Sdk28View`.RATING_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRatingBar(theme: Int = 0): android.widget.RatingBar = themedRatingBar(theme) {}\ninline fun ViewManager.themedRatingBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.RatingBar).() -> Unit): android.widget.RatingBar {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.RATING_BAR, theme) { init() }\n}\n\ninline fun ViewManager.searchView(): android.widget.SearchView = searchView() {}\ninline fun ViewManager.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun ViewManager.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Context.searchView(): android.widget.SearchView = searchView() {}\ninline fun Context.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Context.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun Activity.searchView(): android.widget.SearchView = searchView() {}\ninline fun Activity.searchView(init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SEARCH_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedSearchView(theme: Int = 0): android.widget.SearchView = themedSearchView(theme) {}\ninline fun Activity.themedSearchView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SearchView).() -> Unit): android.widget.SearchView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SEARCH_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.seekBar(): android.widget.SeekBar = seekBar() {}\ninline fun ViewManager.seekBar(init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SEEK_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSeekBar(theme: Int = 0): android.widget.SeekBar = themedSeekBar(theme) {}\ninline fun ViewManager.themedSeekBar(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SeekBar).() -> Unit): android.widget.SeekBar {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SEEK_BAR, theme) { init() }\n}\n\ninline fun ViewManager.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun ViewManager.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun ViewManager.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Context.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Context.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Context.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun Activity.slidingDrawer(): android.widget.SlidingDrawer = slidingDrawer() {}\ninline fun Activity.slidingDrawer(init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SLIDING_DRAWER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingDrawer(theme: Int = 0): android.widget.SlidingDrawer = themedSlidingDrawer(theme) {}\ninline fun Activity.themedSlidingDrawer(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.SlidingDrawer).() -> Unit): android.widget.SlidingDrawer {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SLIDING_DRAWER, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Space).() -> Unit): android.widget.Space {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.spinner(): android.widget.Spinner = spinner() {}\ninline fun ViewManager.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun ViewManager.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SPINNER, theme) { init() }\n}\n\ninline fun Context.spinner(): android.widget.Spinner = spinner() {}\ninline fun Context.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Context.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Context.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SPINNER, theme) { init() }\n}\n\ninline fun Activity.spinner(): android.widget.Spinner = spinner() {}\ninline fun Activity.spinner(init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SPINNER, theme = 0) { init() }\n}\n\ninline fun Activity.themedSpinner(theme: Int = 0): android.widget.Spinner = themedSpinner(theme) {}\ninline fun Activity.themedSpinner(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Spinner).() -> Unit): android.widget.Spinner {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SPINNER, theme) { init() }\n}\n\ninline fun ViewManager.stackView(): android.widget.StackView = stackView() {}\ninline fun ViewManager.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun ViewManager.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Context.stackView(): android.widget.StackView = stackView() {}\ninline fun Context.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Context.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun Activity.stackView(): android.widget.StackView = stackView() {}\ninline fun Activity.stackView(init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.STACK_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedStackView(theme: Int = 0): android.widget.StackView = themedStackView(theme) {}\ninline fun Activity.themedStackView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.StackView).() -> Unit): android.widget.StackView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.STACK_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.switch(): android.widget.Switch = switch() {}\ninline fun ViewManager.switch(init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\n    return ankoView(`$$Anko$Factories$Sdk28View`.SWITCH, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwitch(theme: Int = 0): android.widget.Switch = themedSwitch(theme) {}\ninline fun ViewManager.themedSwitch(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.Switch).() -> Unit): android.widget.Switch {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.SWITCH, theme) { init() }\n}\n\ninline fun ViewManager.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun ViewManager.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun ViewManager.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Context.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Context.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Context.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.tabHost(): android.widget.TabHost = tabHost() {}\ninline fun Activity.tabHost(init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabHost(theme: Int = 0): android.widget.TabHost = themedTabHost(theme) {}\ninline fun Activity.themedTabHost(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabHost).() -> Unit): android.widget.TabHost {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun ViewManager.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun ViewManager.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Context.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Context.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Context.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Context.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun Activity.tabWidget(): android.widget.TabWidget = tabWidget() {}\ninline fun Activity.tabWidget(init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TAB_WIDGET, theme = 0) { init() }\n}\n\ninline fun Activity.themedTabWidget(theme: Int = 0): android.widget.TabWidget = themedTabWidget(theme) {}\ninline fun Activity.themedTabWidget(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TabWidget).() -> Unit): android.widget.TabWidget {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TAB_WIDGET, theme) { init() }\n}\n\ninline fun ViewManager.textClock(): android.widget.TextClock = textClock() {}\ninline fun ViewManager.textClock(init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_CLOCK, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextClock(theme: Int = 0): android.widget.TextClock = themedTextClock(theme) {}\ninline fun ViewManager.themedTextClock(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextClock).() -> Unit): android.widget.TextClock {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TEXT_CLOCK, theme) { init() }\n}\n\ninline fun ViewManager.textView(): android.widget.TextView = textView() {}\ninline fun ViewManager.textView(init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextView(theme: Int = 0): android.widget.TextView = themedTextView(theme) {}\ninline fun ViewManager.themedTextView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.textView(text: CharSequence?): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: CharSequence?, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: CharSequence?, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.textView(text: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme = 0) {\n        setText(text)\n    }\n}\ninline fun ViewManager.textView(text: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme = 0) {\n        init()\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme) {\n        setText(text)\n    }\n}\ninline fun ViewManager.themedTextView(text: Int, theme: Int, init: (@AnkoViewDslMarker android.widget.TextView).() -> Unit): android.widget.TextView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TEXT_VIEW, theme) {\n        init()\n        setText(text)\n    }\n}\n\ninline fun ViewManager.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun ViewManager.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun ViewManager.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Context.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Context.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Context.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Context.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun Activity.timePicker(): android.widget.TimePicker = timePicker() {}\ninline fun Activity.timePicker(init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TIME_PICKER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTimePicker(theme: Int = 0): android.widget.TimePicker = themedTimePicker(theme) {}\ninline fun Activity.themedTimePicker(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TimePicker).() -> Unit): android.widget.TimePicker {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TIME_PICKER, theme) { init() }\n}\n\ninline fun ViewManager.toggleButton(): android.widget.ToggleButton = toggleButton() {}\ninline fun ViewManager.toggleButton(init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TOGGLE_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToggleButton(theme: Int = 0): android.widget.ToggleButton = themedToggleButton(theme) {}\ninline fun ViewManager.themedToggleButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ToggleButton).() -> Unit): android.widget.ToggleButton {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TOGGLE_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun ViewManager.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun ViewManager.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Context.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Context.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Context.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Context.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun Activity.twoLineListItem(): android.widget.TwoLineListItem = twoLineListItem() {}\ninline fun Activity.twoLineListItem(init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\n    return ankoView(`$$Anko$Factories$Sdk28View`.TWO_LINE_LIST_ITEM, theme = 0) { init() }\n}\n\ninline fun Activity.themedTwoLineListItem(theme: Int = 0): android.widget.TwoLineListItem = themedTwoLineListItem(theme) {}\ninline fun Activity.themedTwoLineListItem(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.TwoLineListItem).() -> Unit): android.widget.TwoLineListItem {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.TWO_LINE_LIST_ITEM, theme) { init() }\n}\n\ninline fun ViewManager.videoView(): android.widget.VideoView = videoView() {}\ninline fun ViewManager.videoView(init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\n    return ankoView(`$$Anko$Factories$Sdk28View`.VIDEO_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedVideoView(theme: Int = 0): android.widget.VideoView = themedVideoView(theme) {}\ninline fun ViewManager.themedVideoView(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.VideoView).() -> Unit): android.widget.VideoView {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.VIDEO_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun ViewManager.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk28View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun ViewManager.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Context.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Context.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk28View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Context.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun Activity.viewFlipper(): android.widget.ViewFlipper = viewFlipper() {}\ninline fun Activity.viewFlipper(init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\n    return ankoView(`$$Anko$Factories$Sdk28View`.VIEW_FLIPPER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewFlipper(theme: Int = 0): android.widget.ViewFlipper = themedViewFlipper(theme) {}\ninline fun Activity.themedViewFlipper(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ViewFlipper).() -> Unit): android.widget.ViewFlipper {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.VIEW_FLIPPER, theme) { init() }\n}\n\ninline fun ViewManager.zoomButton(): android.widget.ZoomButton = zoomButton() {}\ninline fun ViewManager.zoomButton(init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_BUTTON, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomButton(theme: Int = 0): android.widget.ZoomButton = themedZoomButton(theme) {}\ninline fun ViewManager.themedZoomButton(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomButton).() -> Unit): android.widget.ZoomButton {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_BUTTON, theme) { init() }\n}\n\ninline fun ViewManager.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun ViewManager.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun ViewManager.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Context.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Context.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Context.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Context.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_CONTROLS, theme) { init() }\n}\n\ninline fun Activity.zoomControls(): android.widget.ZoomControls = zoomControls() {}\ninline fun Activity.zoomControls(init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\n    return ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_CONTROLS, theme = 0) { init() }\n}\n\ninline fun Activity.themedZoomControls(theme: Int = 0): android.widget.ZoomControls = themedZoomControls(theme) {}\ninline fun Activity.themedZoomControls(theme: Int = 0, init: (@AnkoViewDslMarker android.widget.ZoomControls).() -> Unit): android.widget.ZoomControls {\nreturn ankoView(`$$Anko$Factories$Sdk28View`.ZOOM_CONTROLS, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$Sdk28ViewGroup` {\n    val APP_WIDGET_HOST_VIEW = { ctx: Context -> _AppWidgetHostView(ctx) }\n    val ABSOLUTE_LAYOUT = { ctx: Context -> _AbsoluteLayout(ctx) }\n    val ACTION_MENU_VIEW = { ctx: Context -> _ActionMenuView(ctx) }\n    val FRAME_LAYOUT = { ctx: Context -> _FrameLayout(ctx) }\n    val GALLERY = { ctx: Context -> _Gallery(ctx) }\n    val GRID_LAYOUT = { ctx: Context -> _GridLayout(ctx) }\n    val GRID_VIEW = { ctx: Context -> _GridView(ctx) }\n    val HORIZONTAL_SCROLL_VIEW = { ctx: Context -> _HorizontalScrollView(ctx) }\n    val IMAGE_SWITCHER = { ctx: Context -> _ImageSwitcher(ctx) }\n    val LINEAR_LAYOUT = { ctx: Context -> _LinearLayout(ctx) }\n    val RADIO_GROUP = { ctx: Context -> _RadioGroup(ctx) }\n    val RELATIVE_LAYOUT = { ctx: Context -> _RelativeLayout(ctx) }\n    val SCROLL_VIEW = { ctx: Context -> _ScrollView(ctx) }\n    val TABLE_LAYOUT = { ctx: Context -> _TableLayout(ctx) }\n    val TABLE_ROW = { ctx: Context -> _TableRow(ctx) }\n    val TEXT_SWITCHER = { ctx: Context -> _TextSwitcher(ctx) }\n    val TOOLBAR = { ctx: Context -> _Toolbar(ctx) }\n    val VIEW_ANIMATOR = { ctx: Context -> _ViewAnimator(ctx) }\n    val VIEW_SWITCHER = { ctx: Context -> _ViewSwitcher(ctx) }\n}\n\ninline fun ViewManager.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun ViewManager.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun ViewManager.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Context.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Context.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Context.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun Activity.appWidgetHostView(): android.appwidget.AppWidgetHostView = appWidgetHostView() {}\ninline fun Activity.appWidgetHostView(init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.APP_WIDGET_HOST_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0): android.appwidget.AppWidgetHostView = themedAppWidgetHostView(theme) {}\ninline fun Activity.themedAppWidgetHostView(theme: Int = 0, init: (@AnkoViewDslMarker _AppWidgetHostView).() -> Unit): android.appwidget.AppWidgetHostView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.APP_WIDGET_HOST_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun ViewManager.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun ViewManager.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Context.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Context.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.absoluteLayout(): android.widget.AbsoluteLayout = absoluteLayout() {}\ninline fun Activity.absoluteLayout(init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ABSOLUTE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0): android.widget.AbsoluteLayout = themedAbsoluteLayout(theme) {}\ninline fun Activity.themedAbsoluteLayout(theme: Int = 0, init: (@AnkoViewDslMarker _AbsoluteLayout).() -> Unit): android.widget.AbsoluteLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ABSOLUTE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun ViewManager.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun ViewManager.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Context.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Context.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Context.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun Activity.actionMenuView(): android.widget.ActionMenuView = actionMenuView() {}\ninline fun Activity.actionMenuView(init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ACTION_MENU_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedActionMenuView(theme: Int = 0): android.widget.ActionMenuView = themedActionMenuView(theme) {}\ninline fun Activity.themedActionMenuView(theme: Int = 0, init: (@AnkoViewDslMarker _ActionMenuView).() -> Unit): android.widget.ActionMenuView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.ACTION_MENU_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun ViewManager.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun ViewManager.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Context.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Context.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Context.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.frameLayout(): android.widget.FrameLayout = frameLayout() {}\ninline fun Activity.frameLayout(init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.FRAME_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedFrameLayout(theme: Int = 0): android.widget.FrameLayout = themedFrameLayout(theme) {}\ninline fun Activity.themedFrameLayout(theme: Int = 0, init: (@AnkoViewDslMarker _FrameLayout).() -> Unit): android.widget.FrameLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.FRAME_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gallery(): android.widget.Gallery = gallery() {}\ninline fun ViewManager.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun ViewManager.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Context.gallery(): android.widget.Gallery = gallery() {}\ninline fun Context.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Context.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Context.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun Activity.gallery(): android.widget.Gallery = gallery() {}\ninline fun Activity.gallery(init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GALLERY, theme = 0) { init() }\n}\n\ninline fun Activity.themedGallery(theme: Int = 0): android.widget.Gallery = themedGallery(theme) {}\ninline fun Activity.themedGallery(theme: Int = 0, init: (@AnkoViewDslMarker _Gallery).() -> Unit): android.widget.Gallery {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GALLERY, theme) { init() }\n}\n\ninline fun ViewManager.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun ViewManager.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun ViewManager.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Context.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Context.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Context.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.gridLayout(): android.widget.GridLayout = gridLayout() {}\ninline fun Activity.gridLayout(init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridLayout(theme: Int = 0): android.widget.GridLayout = themedGridLayout(theme) {}\ninline fun Activity.themedGridLayout(theme: Int = 0, init: (@AnkoViewDslMarker _GridLayout).() -> Unit): android.widget.GridLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.gridView(): android.widget.GridView = gridView() {}\ninline fun ViewManager.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun ViewManager.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Context.gridView(): android.widget.GridView = gridView() {}\ninline fun Context.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Context.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun Activity.gridView(): android.widget.GridView = gridView() {}\ninline fun Activity.gridView(init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedGridView(theme: Int = 0): android.widget.GridView = themedGridView(theme) {}\ninline fun Activity.themedGridView(theme: Int = 0, init: (@AnkoViewDslMarker _GridView).() -> Unit): android.widget.GridView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.GRID_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun ViewManager.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun ViewManager.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Context.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Context.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.horizontalScrollView(): android.widget.HorizontalScrollView = horizontalScrollView() {}\ninline fun Activity.horizontalScrollView(init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0): android.widget.HorizontalScrollView = themedHorizontalScrollView(theme) {}\ninline fun Activity.themedHorizontalScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _HorizontalScrollView).() -> Unit): android.widget.HorizontalScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.HORIZONTAL_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun ViewManager.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun ViewManager.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Context.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Context.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Context.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.imageSwitcher(): android.widget.ImageSwitcher = imageSwitcher() {}\ninline fun Activity.imageSwitcher(init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.IMAGE_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedImageSwitcher(theme: Int = 0): android.widget.ImageSwitcher = themedImageSwitcher(theme) {}\ninline fun Activity.themedImageSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ImageSwitcher).() -> Unit): android.widget.ImageSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.IMAGE_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun ViewManager.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun ViewManager.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Context.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Context.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Context.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.linearLayout(): android.widget.LinearLayout = linearLayout() {}\ninline fun Activity.linearLayout(init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.LINEAR_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedLinearLayout(theme: Int = 0): android.widget.LinearLayout = themedLinearLayout(theme) {}\ninline fun Activity.themedLinearLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): android.widget.LinearLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.LINEAR_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun ViewManager.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun ViewManager.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Context.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Context.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Context.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Context.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun Activity.radioGroup(): android.widget.RadioGroup = radioGroup() {}\ninline fun Activity.radioGroup(init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RADIO_GROUP, theme = 0) { init() }\n}\n\ninline fun Activity.themedRadioGroup(theme: Int = 0): android.widget.RadioGroup = themedRadioGroup(theme) {}\ninline fun Activity.themedRadioGroup(theme: Int = 0, init: (@AnkoViewDslMarker _RadioGroup).() -> Unit): android.widget.RadioGroup {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RADIO_GROUP, theme) { init() }\n}\n\ninline fun ViewManager.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun ViewManager.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun ViewManager.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Context.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Context.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.relativeLayout(): android.widget.RelativeLayout = relativeLayout() {}\ninline fun Activity.relativeLayout(init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RELATIVE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedRelativeLayout(theme: Int = 0): android.widget.RelativeLayout = themedRelativeLayout(theme) {}\ninline fun Activity.themedRelativeLayout(theme: Int = 0, init: (@AnkoViewDslMarker _RelativeLayout).() -> Unit): android.widget.RelativeLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.RELATIVE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun ViewManager.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun ViewManager.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Context.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Context.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.scrollView(): android.widget.ScrollView = scrollView() {}\ninline fun Activity.scrollView(init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedScrollView(theme: Int = 0): android.widget.ScrollView = themedScrollView(theme) {}\ninline fun Activity.themedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _ScrollView).() -> Unit): android.widget.ScrollView {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun ViewManager.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun ViewManager.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Context.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Context.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.tableLayout(): android.widget.TableLayout = tableLayout() {}\ninline fun Activity.tableLayout(init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableLayout(theme: Int = 0): android.widget.TableLayout = themedTableLayout(theme) {}\ninline fun Activity.themedTableLayout(theme: Int = 0, init: (@AnkoViewDslMarker _TableLayout).() -> Unit): android.widget.TableLayout {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun ViewManager.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun ViewManager.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Context.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Context.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Context.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Context.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun Activity.tableRow(): android.widget.TableRow = tableRow() {}\ninline fun Activity.tableRow(init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_ROW, theme = 0) { init() }\n}\n\ninline fun Activity.themedTableRow(theme: Int = 0): android.widget.TableRow = themedTableRow(theme) {}\ninline fun Activity.themedTableRow(theme: Int = 0, init: (@AnkoViewDslMarker _TableRow).() -> Unit): android.widget.TableRow {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TABLE_ROW, theme) { init() }\n}\n\ninline fun ViewManager.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun ViewManager.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun ViewManager.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Context.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Context.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Context.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.textSwitcher(): android.widget.TextSwitcher = textSwitcher() {}\ninline fun Activity.textSwitcher(init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TEXT_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedTextSwitcher(theme: Int = 0): android.widget.TextSwitcher = themedTextSwitcher(theme) {}\ninline fun Activity.themedTextSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _TextSwitcher).() -> Unit): android.widget.TextSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TEXT_SWITCHER, theme) { init() }\n}\n\ninline fun ViewManager.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun ViewManager.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun ViewManager.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Context.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Context.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Context.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Context.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun Activity.toolbar(): android.widget.Toolbar = toolbar() {}\ninline fun Activity.toolbar(init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TOOLBAR, theme = 0) { init() }\n}\n\ninline fun Activity.themedToolbar(theme: Int = 0): android.widget.Toolbar = themedToolbar(theme) {}\ninline fun Activity.themedToolbar(theme: Int = 0, init: (@AnkoViewDslMarker _Toolbar).() -> Unit): android.widget.Toolbar {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.TOOLBAR, theme) { init() }\n}\n\ninline fun ViewManager.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun ViewManager.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun ViewManager.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Context.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Context.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Context.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Context.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun Activity.viewAnimator(): android.widget.ViewAnimator = viewAnimator() {}\ninline fun Activity.viewAnimator(init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_ANIMATOR, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewAnimator(theme: Int = 0): android.widget.ViewAnimator = themedViewAnimator(theme) {}\ninline fun Activity.themedViewAnimator(theme: Int = 0, init: (@AnkoViewDslMarker _ViewAnimator).() -> Unit): android.widget.ViewAnimator {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_ANIMATOR, theme) { init() }\n}\n\ninline fun ViewManager.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun ViewManager.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun ViewManager.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Context.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Context.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Context.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\ninline fun Activity.viewSwitcher(): android.widget.ViewSwitcher = viewSwitcher() {}\ninline fun Activity.viewSwitcher(init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\n    return ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_SWITCHER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewSwitcher(theme: Int = 0): android.widget.ViewSwitcher = themedViewSwitcher(theme) {}\ninline fun Activity.themedViewSwitcher(theme: Int = 0, init: (@AnkoViewDslMarker _ViewSwitcher).() -> Unit): android.widget.ViewSwitcher {\nreturn ankoView(`$$Anko$Factories$Sdk28ViewGroup`.VIEW_SWITCHER, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk28-coroutines/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinx_coroutines_version\"\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk28-coroutines/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk28.coroutines\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk28-coroutines/src/main/java/ListenersWithCoroutines.kt",
    "content": "@file:JvmName(\"Sdk28CoroutinesListenersWithCoroutinesKt\")\npackage org.jetbrains.anko.sdk28.coroutines\n\n\nimport kotlin.coroutines.CoroutineContext\nimport kotlinx.coroutines.Dispatchers\nimport kotlinx.coroutines.CoroutineScope\nimport kotlinx.coroutines.GlobalScope\nimport kotlinx.coroutines.launch\nimport kotlinx.coroutines.CoroutineStart\nimport android.view.WindowInsets\n\nfun android.view.View.onLayoutChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit\n) {\n    addOnLayoutChangeListener { v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom)\n        }\n    }\n}\n\nfun android.view.View.onAttachStateChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __View_OnAttachStateChangeListener.() -> Unit\n) {\n    val listener = __View_OnAttachStateChangeListener(context)\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener(private val context: CoroutineContext) : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        val handler = _onViewAttachedToWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewAttachedToWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: (suspend CoroutineScope.(android.view.View) -> Unit)? = null\n    \n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        val handler = _onViewDetachedFromWindow ?: return\n        GlobalScope.launch(context) {\n            handler(v)\n        }\n    }\n\n    fun onViewDetachedFromWindow(\n            listener: suspend CoroutineScope.(android.view.View) -> Unit\n    ) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}fun android.view.View.onUnhandledKeyEvent(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.view.View?, p1: android.view.KeyEvent?) -> Unit\n) {\n    addOnUnhandledKeyEventListener { p0, p1 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TextView.textChangedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __TextWatcher.() -> Unit\n) {\n    val listener = __TextWatcher(context)\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher(private val context: CoroutineContext) : android.text.TextWatcher {\n\n    private var _beforeTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        val handler = _beforeTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, count, after)\n        }\n    }\n\n    fun beforeTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: (suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        val handler = _onTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s, start, before, count)\n        }\n    }\n\n    fun onTextChanged(\n            listener: suspend CoroutineScope.(CharSequence?, Int, Int, Int) -> Unit\n    ) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: (suspend CoroutineScope.(android.text.Editable?) -> Unit)? = null\n    \n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        val handler = _afterTextChanged ?: return\n        GlobalScope.launch(context) {\n            handler(s)\n        }\n    }\n\n    fun afterTextChanged(\n            listener: suspend CoroutineScope.(android.text.Editable?) -> Unit\n    ) {\n        _afterTextChanged = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGestureListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGestureListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGestureListener(context)\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGesture ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGesture(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: (suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n    \n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        val handler = _onGestureCancelled ?: return\n        GlobalScope.launch(context) {\n            handler(overlay, event)\n        }\n    }\n\n    fun onGestureCancelled(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit\n    ) {\n        _onGestureCancelled = listener\n    }\n\n}fun android.gesture.GestureOverlayView.onGesturePerformed(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit\n) {\n    addOnGesturePerformedListener { overlay, gesture ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(overlay, gesture)\n        }\n    }\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __GestureOverlayView_OnGesturingListener.() -> Unit\n) {\n    val listener = __GestureOverlayView_OnGesturingListener(context)\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener(private val context: CoroutineContext) : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingStarted ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingStarted(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: (suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit)? = null\n    \n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        val handler = _onGesturingEnded ?: return\n        GlobalScope.launch(context) {\n            handler(overlay)\n        }\n    }\n\n    fun onGesturingEnded(\n            listener: suspend CoroutineScope.(android.gesture.GestureOverlayView?) -> Unit\n    ) {\n        _onGesturingEnded = listener\n    }\n\n}fun android.media.tv.TvView.onUnhandledInputEvent(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(event: android.view.InputEvent?) -> Unit\n) {\n    setOnUnhandledInputEventListener { event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onApplyWindowInsets(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: WindowInsets,\n        handler: suspend CoroutineScope.(v: android.view.View?, insets: android.view.WindowInsets?) -> Unit\n) {\n    setOnApplyWindowInsetsListener { v, insets ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, insets)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onCapturedPointer(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(view: android.view.View?, event: android.view.MotionEvent?) -> Unit\n) {\n    setOnCapturedPointerListener { view, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.view.View.onContextClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnContextClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onCreateContextMenu(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit\n) {\n    setOnCreateContextMenuListener { menu, v, menuInfo ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(menu, v, menuInfo)\n        }\n    }\n}\n\nfun android.view.View.onDrag(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.DragEvent) -> Unit\n) {\n    setOnDragListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.view.View.onGenericMotion(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnGenericMotionListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onHover(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnHoverListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onKey(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnKeyListener { v, keyCode, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, keyCode, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnLongClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n        returnValue\n    }\n}\n\nfun android.view.View.onScrollChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit\n) {\n    setOnScrollChangeListener { v, scrollX, scrollY, oldScrollX, oldScrollY ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, scrollX, scrollY, oldScrollX, oldScrollY)\n        }\n    }\n}\n\nfun android.view.View.onSystemUiVisibilityChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(visibility: Int) -> Unit\n) {\n    setOnSystemUiVisibilityChangeListener { visibility ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(visibility)\n        }\n    }\n}\n\nfun android.view.View.onTouch(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.view.View, event: android.view.MotionEvent) -> Unit\n) {\n    setOnTouchListener { v, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, event)\n        }\n        returnValue\n    }\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __ViewGroup_OnHierarchyChangeListener.() -> Unit\n) {\n    val listener = __ViewGroup_OnHierarchyChangeListener(context)\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener(private val context: CoroutineContext) : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewAdded ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewAdded(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: (suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit)? = null\n    \n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        val handler = _onChildViewRemoved ?: return\n        GlobalScope.launch(context) {\n            handler(parent, child)\n        }\n    }\n\n    fun onChildViewRemoved(\n            listener: suspend CoroutineScope.(android.view.View?, android.view.View?) -> Unit\n    ) {\n        _onChildViewRemoved = listener\n    }\n\n}fun android.view.ViewStub.onInflate(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit\n) {\n    setOnInflateListener { stub, inflated ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(stub, inflated)\n        }\n    }\n}\n\nfun android.widget.AbsListView.onScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AbsListView_OnScrollListener.() -> Unit\n) {\n    val listener = __AbsListView_OnScrollListener(context)\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener(private val context: CoroutineContext) : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: (suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit)? = null\n    \n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        val handler = _onScrollStateChanged ?: return\n        GlobalScope.launch(context) {\n            handler(view, scrollState)\n        }\n    }\n\n    fun onScrollStateChanged(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int) -> Unit\n    ) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: (suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n    \n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        val handler = _onScroll ?: return\n        GlobalScope.launch(context) {\n            handler(view, firstVisibleItem, visibleItemCount, totalItemCount)\n        }\n    }\n\n    fun onScroll(\n            listener: suspend CoroutineScope.(android.widget.AbsListView?, Int, Int, Int) -> Unit\n    ) {\n        _onScroll = listener\n    }\n\n}fun android.widget.ActionMenuView.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit\n) {\n    setOnItemLongClickListener { p0, p1, p2, p3 ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(p0, p1, p2, p3)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __AdapterView_OnItemSelectedListener.() -> Unit\n) {\n    val listener = __AdapterView_OnItemSelectedListener(context)\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener(private val context: CoroutineContext) : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n    \n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        val handler = _onItemSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0, p1, p2, p3)\n        }\n    }\n\n    fun onItemSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit\n    ) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: (suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit)? = null\n    \n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        val handler = _onNothingSelected ?: return\n        GlobalScope.launch(context) {\n            handler(p0)\n        }\n    }\n\n    fun onNothingSelected(\n            listener: suspend CoroutineScope.(android.widget.AdapterView<*>?) -> Unit\n    ) {\n        _onNothingSelected = listener\n    }\n\n}fun android.widget.AutoCompleteTextView.onDismiss(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDismissListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.CalendarView.onDateChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangeListener { view, year, month, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, month, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.Chronometer.onChronometerTick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(chronometer: android.widget.Chronometer?) -> Unit\n) {\n    setOnChronometerTickListener { chronometer ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(chronometer)\n        }\n    }\n}\n\nfun android.widget.CompoundButton.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit\n) {\n    setOnCheckedChangeListener { buttonView, isChecked ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(buttonView, isChecked)\n        }\n    }\n}\n\nfun android.widget.DatePicker.onDateChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.DatePicker?, year: Int, monthOfYear: Int, dayOfMonth: Int) -> Unit\n) {\n    setOnDateChangedListener { view, year, monthOfYear, dayOfMonth ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, year, monthOfYear, dayOfMonth)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onChildClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Unit\n) {\n    setOnChildClickListener { parent, v, groupPosition, childPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, childPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Unit\n) {\n    setOnGroupClickListener { parent, v, groupPosition, id ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(parent, v, groupPosition, id)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupCollapse(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupCollapseListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.ExpandableListView.onGroupExpand(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(groupPosition: Int) -> Unit\n) {\n    setOnGroupExpandListener { groupPosition ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(groupPosition)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onScroll(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.NumberPicker?, scrollState: Int) -> Unit\n) {\n    setOnScrollListener { view, scrollState ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, scrollState)\n        }\n    }\n}\n\nfun android.widget.NumberPicker.onValueChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit\n) {\n    setOnValueChangedListener { picker, oldVal, newVal ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(picker, oldVal, newVal)\n        }\n    }\n}\n\nfun android.widget.RadioGroup.onCheckedChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(group: android.widget.RadioGroup?, checkedId: Int) -> Unit\n) {\n    setOnCheckedChangeListener { group, checkedId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(group, checkedId)\n        }\n    }\n}\n\nfun android.widget.RatingBar.onRatingBarChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit\n) {\n    setOnRatingBarChangeListener { ratingBar, rating, fromUser ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(ratingBar, rating, fromUser)\n        }\n    }\n}\n\nfun android.widget.SearchView.onClose(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n        returnValue\n    }\n}\n\nfun android.widget.SearchView.onQueryTextFocusChange(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View, hasFocus: Boolean) -> Unit\n) {\n    setOnQueryTextFocusChangeListener { v, hasFocus ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, hasFocus)\n        }\n    }\n}\n\nfun android.widget.SearchView.onQueryTextListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnQueryTextListener.() -> Unit\n) {\n    val listener = __SearchView_OnQueryTextListener(context)\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener(private val context: CoroutineContext) : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextSubmit_returnValue: Boolean = false\n\n    override fun onQueryTextSubmit(query: String?) : Boolean {\n        val returnValue = _onQueryTextSubmit_returnValue\n        val handler = _onQueryTextSubmit ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(query)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextSubmit(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextSubmit = listener\n        _onQueryTextSubmit_returnValue = returnValue\n    }\n\n    private var _onQueryTextChange: (suspend CoroutineScope.(String?) -> Boolean)? = null\n    private var _onQueryTextChange_returnValue: Boolean = false\n\n    override fun onQueryTextChange(newText: String?) : Boolean {\n        val returnValue = _onQueryTextChange_returnValue\n        val handler = _onQueryTextChange ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(newText)\n        }\n        return returnValue\n    }\n\n    fun onQueryTextChange(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(String?) -> Boolean\n    ) {\n        _onQueryTextChange = listener\n        _onQueryTextChange_returnValue = returnValue\n    }\n\n}fun android.widget.SearchView.onSearchClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnSearchClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.SearchView.onSuggestionListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SearchView_OnSuggestionListener.() -> Unit\n) {\n    val listener = __SearchView_OnSuggestionListener(context)\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener(private val context: CoroutineContext) : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionSelect_returnValue: Boolean = false\n\n    override fun onSuggestionSelect(position: Int) : Boolean {\n        val returnValue = _onSuggestionSelect_returnValue\n        val handler = _onSuggestionSelect ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionSelect(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionSelect = listener\n        _onSuggestionSelect_returnValue = returnValue\n    }\n\n    private var _onSuggestionClick: (suspend CoroutineScope.(Int) -> Boolean)? = null\n    private var _onSuggestionClick_returnValue: Boolean = false\n\n    override fun onSuggestionClick(position: Int) : Boolean {\n        val returnValue = _onSuggestionClick_returnValue\n        val handler = _onSuggestionClick ?: return returnValue\n        GlobalScope.launch(context) {\n            handler(position)\n        }\n        return returnValue\n    }\n\n    fun onSuggestionClick(\n            returnValue: Boolean = false,\n            listener: suspend CoroutineScope.(Int) -> Boolean\n    ) {\n        _onSuggestionClick = listener\n        _onSuggestionClick_returnValue = returnValue\n    }\n\n}fun android.widget.SeekBar.onSeekBarChangeListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SeekBar_OnSeekBarChangeListener.() -> Unit\n) {\n    val listener = __SeekBar_OnSeekBarChangeListener(context)\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener(private val context: CoroutineContext) : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: (suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n    \n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        val handler = _onProgressChanged ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar, progress, fromUser)\n        }\n    }\n\n    fun onProgressChanged(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?, Int, Boolean) -> Unit\n    ) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStartTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStartTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: (suspend CoroutineScope.(android.widget.SeekBar?) -> Unit)? = null\n    \n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        val handler = _onStopTrackingTouch ?: return\n        GlobalScope.launch(context) {\n            handler(seekBar)\n        }\n    }\n\n    fun onStopTrackingTouch(\n            listener: suspend CoroutineScope.(android.widget.SeekBar?) -> Unit\n    ) {\n        _onStopTrackingTouch = listener\n    }\n\n}fun android.widget.SlidingDrawer.onDrawerClose(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerCloseListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerOpen(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.() -> Unit\n) {\n    setOnDrawerOpenListener {  ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT, block = handler)\n    }\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(\n        context: CoroutineContext = Dispatchers.Main,\n        init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit\n) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener(context)\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener(private val context: CoroutineContext) : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollStarted() {\n        val handler = _onScrollStarted ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollStarted(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (suspend CoroutineScope.() -> Unit)? = null\n    \n\n    override fun onScrollEnded() {\n        val handler = _onScrollEnded ?: return\n        GlobalScope.launch(context, block = handler)\n    }\n\n    fun onScrollEnded(\n            listener: suspend CoroutineScope.() -> Unit\n    ) {\n        _onScrollEnded = listener\n    }\n\n}fun android.widget.TabHost.onTabChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(tabId: String?) -> Unit\n) {\n    setOnTabChangedListener { tabId ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(tabId)\n        }\n    }\n}\n\nfun android.widget.TextView.onEditorAction(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Unit\n) {\n    setOnEditorActionListener { v, actionId, event ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v, actionId, event)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.TimePicker.onTimeChanged(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit\n) {\n    setOnTimeChangedListener { view, hourOfDay, minute ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(view, hourOfDay, minute)\n        }\n    }\n}\n\nfun android.widget.Toolbar.onMenuItemClick(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(item: android.view.MenuItem?) -> Unit\n) {\n    setOnMenuItemClickListener { item ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(item)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onCompletion(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnCompletionListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.VideoView.onError(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnErrorListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onInfo(\n        context: CoroutineContext = Dispatchers.Main,\n        returnValue: Boolean = false,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Unit\n) {\n    setOnInfoListener { mp, what, extra ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp, what, extra)\n        }\n        returnValue\n    }\n}\n\nfun android.widget.VideoView.onPrepared(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(mp: android.media.MediaPlayer?) -> Unit\n) {\n    setOnPreparedListener { mp ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(mp)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomInClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomInClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\nfun android.widget.ZoomControls.onZoomOutClick(\n        context: CoroutineContext = Dispatchers.Main,\n        handler: suspend CoroutineScope.(v: android.view.View?) -> Unit\n) {\n    setOnZoomOutClickListener { v ->\n        GlobalScope.launch(context, CoroutineStart.DEFAULT) {\n            handler(v)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/sdk28-listeners/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/sdk28-listeners/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sdk28.listeners\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sdk28-listeners/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"Sdk28ListenersListenersKt\")\npackage org.jetbrains.anko.sdk28.listeners\n\n\ninline fun android.view.View.onLayoutChange(noinline l: (v: android.view.View?, left: Int, top: Int, right: Int, bottom: Int, oldLeft: Int, oldTop: Int, oldRight: Int, oldBottom: Int) -> Unit) {\n    addOnLayoutChangeListener(l)\n}\n\nfun android.view.View.onAttachStateChangeListener(init: __View_OnAttachStateChangeListener.() -> Unit) {\n    val listener = __View_OnAttachStateChangeListener()\n    listener.init()\n    addOnAttachStateChangeListener(listener)\n}\n\nclass __View_OnAttachStateChangeListener : android.view.View.OnAttachStateChangeListener {\n\n    private var _onViewAttachedToWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewAttachedToWindow(v: android.view.View) {\n        _onViewAttachedToWindow?.invoke(v)\n    }\n\n    fun onViewAttachedToWindow(listener: (android.view.View) -> Unit) {\n        _onViewAttachedToWindow = listener\n    }\n\n    private var _onViewDetachedFromWindow: ((android.view.View) -> Unit)? = null\n\n    override fun onViewDetachedFromWindow(v: android.view.View) {\n        _onViewDetachedFromWindow?.invoke(v)\n    }\n\n    fun onViewDetachedFromWindow(listener: (android.view.View) -> Unit) {\n        _onViewDetachedFromWindow = listener\n    }\n\n}\n\ninline fun android.view.View.onUnhandledKeyEvent(noinline l: (p0: android.view.View?, p1: android.view.KeyEvent?) -> Boolean) {\n    addOnUnhandledKeyEventListener(l)\n}\n\nfun android.widget.TextView.textChangedListener(init: __TextWatcher.() -> Unit) {\n    val listener = __TextWatcher()\n    listener.init()\n    addTextChangedListener(listener)\n}\n\nclass __TextWatcher : android.text.TextWatcher {\n\n    private var _beforeTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {\n        _beforeTextChanged?.invoke(s, start, count, after)\n    }\n\n    fun beforeTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _beforeTextChanged = listener\n    }\n\n    private var _onTextChanged: ((CharSequence?, Int, Int, Int) -> Unit)? = null\n\n    override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {\n        _onTextChanged?.invoke(s, start, before, count)\n    }\n\n    fun onTextChanged(listener: (CharSequence?, Int, Int, Int) -> Unit) {\n        _onTextChanged = listener\n    }\n\n    private var _afterTextChanged: ((android.text.Editable?) -> Unit)? = null\n\n    override fun afterTextChanged(s: android.text.Editable?) {\n        _afterTextChanged?.invoke(s)\n    }\n\n    fun afterTextChanged(listener: (android.text.Editable?) -> Unit) {\n        _afterTextChanged = listener\n    }\n\n}\n\nfun android.gesture.GestureOverlayView.onGestureListener(init: __GestureOverlayView_OnGestureListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGestureListener()\n    listener.init()\n    addOnGestureListener(listener)\n}\n\nclass __GestureOverlayView_OnGestureListener : android.gesture.GestureOverlayView.OnGestureListener {\n\n    private var _onGestureStarted: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureStarted(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureStarted?.invoke(overlay, event)\n    }\n\n    fun onGestureStarted(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureStarted = listener\n    }\n\n    private var _onGesture: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGesture(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGesture?.invoke(overlay, event)\n    }\n\n    fun onGesture(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGesture = listener\n    }\n\n    private var _onGestureEnded: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureEnded(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureEnded?.invoke(overlay, event)\n    }\n\n    fun onGestureEnded(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureEnded = listener\n    }\n\n    private var _onGestureCancelled: ((android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit)? = null\n\n    override fun onGestureCancelled(overlay: android.gesture.GestureOverlayView?, event: android.view.MotionEvent?) {\n        _onGestureCancelled?.invoke(overlay, event)\n    }\n\n    fun onGestureCancelled(listener: (android.gesture.GestureOverlayView?, android.view.MotionEvent?) -> Unit) {\n        _onGestureCancelled = listener\n    }\n\n}\n\ninline fun android.gesture.GestureOverlayView.onGesturePerformed(noinline l: (overlay: android.gesture.GestureOverlayView?, gesture: android.gesture.Gesture?) -> Unit) {\n    addOnGesturePerformedListener(l)\n}\n\nfun android.gesture.GestureOverlayView.onGesturingListener(init: __GestureOverlayView_OnGesturingListener.() -> Unit) {\n    val listener = __GestureOverlayView_OnGesturingListener()\n    listener.init()\n    addOnGesturingListener(listener)\n}\n\nclass __GestureOverlayView_OnGesturingListener : android.gesture.GestureOverlayView.OnGesturingListener {\n\n    private var _onGesturingStarted: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingStarted(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingStarted?.invoke(overlay)\n    }\n\n    fun onGesturingStarted(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingStarted = listener\n    }\n\n    private var _onGesturingEnded: ((android.gesture.GestureOverlayView?) -> Unit)? = null\n\n    override fun onGesturingEnded(overlay: android.gesture.GestureOverlayView?) {\n        _onGesturingEnded?.invoke(overlay)\n    }\n\n    fun onGesturingEnded(listener: (android.gesture.GestureOverlayView?) -> Unit) {\n        _onGesturingEnded = listener\n    }\n\n}\n\ninline fun android.media.tv.TvView.onUnhandledInputEvent(noinline l: (event: android.view.InputEvent?) -> Boolean) {\n    setOnUnhandledInputEventListener(l)\n}\n\ninline fun android.view.View.onApplyWindowInsets(noinline l: (v: android.view.View?, insets: android.view.WindowInsets?) -> android.view.WindowInsets?) {\n    setOnApplyWindowInsetsListener(l)\n}\n\ninline fun android.view.View.onCapturedPointer(noinline l: (view: android.view.View?, event: android.view.MotionEvent?) -> Boolean) {\n    setOnCapturedPointerListener(l)\n}\n\ninline fun android.view.View.onClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnClickListener(l)\n}\n\ninline fun android.view.View.onContextClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnContextClickListener(l)\n}\n\ninline fun android.view.View.onCreateContextMenu(noinline l: (menu: android.view.ContextMenu?, v: android.view.View?, menuInfo: android.view.ContextMenu.ContextMenuInfo?) -> Unit) {\n    setOnCreateContextMenuListener(l)\n}\n\ninline fun android.view.View.onDrag(noinline l: (v: android.view.View, event: android.view.DragEvent) -> Boolean) {\n    setOnDragListener(l)\n}\n\ninline fun android.view.View.onFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnFocusChangeListener(l)\n}\n\ninline fun android.view.View.onGenericMotion(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnGenericMotionListener(l)\n}\n\ninline fun android.view.View.onHover(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnHoverListener(l)\n}\n\ninline fun android.view.View.onKey(noinline l: (v: android.view.View, keyCode: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnKeyListener(l)\n}\n\ninline fun android.view.View.onLongClick(noinline l: (v: android.view.View?) -> Boolean) {\n    setOnLongClickListener(l)\n}\n\ninline fun android.view.View.onScrollChange(noinline l: (v: android.view.View?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit) {\n    setOnScrollChangeListener(l)\n}\n\ninline fun android.view.View.onSystemUiVisibilityChange(noinline l: (visibility: Int) -> Unit) {\n    setOnSystemUiVisibilityChangeListener(l)\n}\n\ninline fun android.view.View.onTouch(noinline l: (v: android.view.View, event: android.view.MotionEvent) -> Boolean) {\n    setOnTouchListener(l)\n}\n\nfun android.view.ViewGroup.onHierarchyChangeListener(init: __ViewGroup_OnHierarchyChangeListener.() -> Unit) {\n    val listener = __ViewGroup_OnHierarchyChangeListener()\n    listener.init()\n    setOnHierarchyChangeListener(listener)\n}\n\nclass __ViewGroup_OnHierarchyChangeListener : android.view.ViewGroup.OnHierarchyChangeListener {\n\n    private var _onChildViewAdded: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewAdded(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewAdded?.invoke(parent, child)\n    }\n\n    fun onChildViewAdded(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewAdded = listener\n    }\n\n    private var _onChildViewRemoved: ((android.view.View?, android.view.View?) -> Unit)? = null\n\n    override fun onChildViewRemoved(parent: android.view.View?, child: android.view.View?) {\n        _onChildViewRemoved?.invoke(parent, child)\n    }\n\n    fun onChildViewRemoved(listener: (android.view.View?, android.view.View?) -> Unit) {\n        _onChildViewRemoved = listener\n    }\n\n}\n\ninline fun android.view.ViewStub.onInflate(noinline l: (stub: android.view.ViewStub?, inflated: android.view.View?) -> Unit) {\n    setOnInflateListener(l)\n}\n\nfun android.widget.AbsListView.onScrollListener(init: __AbsListView_OnScrollListener.() -> Unit) {\n    val listener = __AbsListView_OnScrollListener()\n    listener.init()\n    setOnScrollListener(listener)\n}\n\nclass __AbsListView_OnScrollListener : android.widget.AbsListView.OnScrollListener {\n\n    private var _onScrollStateChanged: ((android.widget.AbsListView?, Int) -> Unit)? = null\n\n    override fun onScrollStateChanged(view: android.widget.AbsListView?, scrollState: Int) {\n        _onScrollStateChanged?.invoke(view, scrollState)\n    }\n\n    fun onScrollStateChanged(listener: (android.widget.AbsListView?, Int) -> Unit) {\n        _onScrollStateChanged = listener\n    }\n\n    private var _onScroll: ((android.widget.AbsListView?, Int, Int, Int) -> Unit)? = null\n\n    override fun onScroll(view: android.widget.AbsListView?, firstVisibleItem: Int, visibleItemCount: Int, totalItemCount: Int) {\n        _onScroll?.invoke(view, firstVisibleItem, visibleItemCount, totalItemCount)\n    }\n\n    fun onScroll(listener: (android.widget.AbsListView?, Int, Int, Int) -> Unit) {\n        _onScroll = listener\n    }\n\n}\n\ninline fun android.widget.ActionMenuView.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Unit) {\n    setOnItemClickListener(l)\n}\n\ninline fun android.widget.AdapterView<out android.widget.Adapter>.onItemLongClick(noinline l: (p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) -> Boolean) {\n    setOnItemLongClickListener(l)\n}\n\nfun android.widget.AdapterView<out android.widget.Adapter>.onItemSelectedListener(init: __AdapterView_OnItemSelectedListener.() -> Unit) {\n    val listener = __AdapterView_OnItemSelectedListener()\n    listener.init()\n    setOnItemSelectedListener(listener)\n}\n\nclass __AdapterView_OnItemSelectedListener : android.widget.AdapterView.OnItemSelectedListener {\n\n    private var _onItemSelected: ((android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit)? = null\n\n    override fun onItemSelected(p0: android.widget.AdapterView<*>?, p1: android.view.View?, p2: Int, p3: Long) {\n        _onItemSelected?.invoke(p0, p1, p2, p3)\n    }\n\n    fun onItemSelected(listener: (android.widget.AdapterView<*>?, android.view.View?, Int, Long) -> Unit) {\n        _onItemSelected = listener\n    }\n\n    private var _onNothingSelected: ((android.widget.AdapterView<*>?) -> Unit)? = null\n\n    override fun onNothingSelected(p0: android.widget.AdapterView<*>?) {\n        _onNothingSelected?.invoke(p0)\n    }\n\n    fun onNothingSelected(listener: (android.widget.AdapterView<*>?) -> Unit) {\n        _onNothingSelected = listener\n    }\n\n}\n\ninline fun android.widget.AutoCompleteTextView.onDismiss(noinline l: () -> Unit) {\n    setOnDismissListener(l)\n}\n\ninline fun android.widget.CalendarView.onDateChange(noinline l: (view: android.widget.CalendarView?, year: Int, month: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangeListener(l)\n}\n\ninline fun android.widget.Chronometer.onChronometerTick(noinline l: (chronometer: android.widget.Chronometer?) -> Unit) {\n    setOnChronometerTickListener(l)\n}\n\ninline fun android.widget.CompoundButton.onCheckedChange(noinline l: (buttonView: android.widget.CompoundButton?, isChecked: Boolean) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.DatePicker.onDateChanged(noinline l: (view: android.widget.DatePicker?, year: Int, monthOfYear: Int, dayOfMonth: Int) -> Unit) {\n    setOnDateChangedListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onChildClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, childPosition: Int, id: Long) -> Boolean) {\n    setOnChildClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupClick(noinline l: (parent: android.widget.ExpandableListView?, v: android.view.View?, groupPosition: Int, id: Long) -> Boolean) {\n    setOnGroupClickListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupCollapse(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupCollapseListener(l)\n}\n\ninline fun android.widget.ExpandableListView.onGroupExpand(noinline l: (groupPosition: Int) -> Unit) {\n    setOnGroupExpandListener(l)\n}\n\ninline fun android.widget.NumberPicker.onScroll(noinline l: (view: android.widget.NumberPicker?, scrollState: Int) -> Unit) {\n    setOnScrollListener(l)\n}\n\ninline fun android.widget.NumberPicker.onValueChanged(noinline l: (picker: android.widget.NumberPicker?, oldVal: Int, newVal: Int) -> Unit) {\n    setOnValueChangedListener(l)\n}\n\ninline fun android.widget.RadioGroup.onCheckedChange(noinline l: (group: android.widget.RadioGroup?, checkedId: Int) -> Unit) {\n    setOnCheckedChangeListener(l)\n}\n\ninline fun android.widget.RatingBar.onRatingBarChange(noinline l: (ratingBar: android.widget.RatingBar?, rating: Float, fromUser: Boolean) -> Unit) {\n    setOnRatingBarChangeListener(l)\n}\n\ninline fun android.widget.SearchView.onClose(noinline l: () -> Boolean) {\n    setOnCloseListener(l)\n}\n\ninline fun android.widget.SearchView.onQueryTextFocusChange(noinline l: (v: android.view.View, hasFocus: Boolean) -> Unit) {\n    setOnQueryTextFocusChangeListener(l)\n}\n\nfun android.widget.SearchView.onQueryTextListener(init: __SearchView_OnQueryTextListener.() -> Unit) {\n    val listener = __SearchView_OnQueryTextListener()\n    listener.init()\n    setOnQueryTextListener(listener)\n}\n\nclass __SearchView_OnQueryTextListener : android.widget.SearchView.OnQueryTextListener {\n\n    private var _onQueryTextSubmit: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextSubmit(query: String?) = _onQueryTextSubmit?.invoke(query) ?: false\n\n    fun onQueryTextSubmit(listener: (String?) -> Boolean) {\n        _onQueryTextSubmit = listener\n    }\n\n    private var _onQueryTextChange: ((String?) -> Boolean)? = null\n\n    override fun onQueryTextChange(newText: String?) = _onQueryTextChange?.invoke(newText) ?: false\n\n    fun onQueryTextChange(listener: (String?) -> Boolean) {\n        _onQueryTextChange = listener\n    }\n\n}\n\ninline fun android.widget.SearchView.onSearchClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnSearchClickListener(l)\n}\n\nfun android.widget.SearchView.onSuggestionListener(init: __SearchView_OnSuggestionListener.() -> Unit) {\n    val listener = __SearchView_OnSuggestionListener()\n    listener.init()\n    setOnSuggestionListener(listener)\n}\n\nclass __SearchView_OnSuggestionListener : android.widget.SearchView.OnSuggestionListener {\n\n    private var _onSuggestionSelect: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionSelect(position: Int) = _onSuggestionSelect?.invoke(position) ?: false\n\n    fun onSuggestionSelect(listener: (Int) -> Boolean) {\n        _onSuggestionSelect = listener\n    }\n\n    private var _onSuggestionClick: ((Int) -> Boolean)? = null\n\n    override fun onSuggestionClick(position: Int) = _onSuggestionClick?.invoke(position) ?: false\n\n    fun onSuggestionClick(listener: (Int) -> Boolean) {\n        _onSuggestionClick = listener\n    }\n\n}\n\nfun android.widget.SeekBar.onSeekBarChangeListener(init: __SeekBar_OnSeekBarChangeListener.() -> Unit) {\n    val listener = __SeekBar_OnSeekBarChangeListener()\n    listener.init()\n    setOnSeekBarChangeListener(listener)\n}\n\nclass __SeekBar_OnSeekBarChangeListener : android.widget.SeekBar.OnSeekBarChangeListener {\n\n    private var _onProgressChanged: ((android.widget.SeekBar?, Int, Boolean) -> Unit)? = null\n\n    override fun onProgressChanged(seekBar: android.widget.SeekBar?, progress: Int, fromUser: Boolean) {\n        _onProgressChanged?.invoke(seekBar, progress, fromUser)\n    }\n\n    fun onProgressChanged(listener: (android.widget.SeekBar?, Int, Boolean) -> Unit) {\n        _onProgressChanged = listener\n    }\n\n    private var _onStartTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStartTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStartTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStartTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStartTrackingTouch = listener\n    }\n\n    private var _onStopTrackingTouch: ((android.widget.SeekBar?) -> Unit)? = null\n\n    override fun onStopTrackingTouch(seekBar: android.widget.SeekBar?) {\n        _onStopTrackingTouch?.invoke(seekBar)\n    }\n\n    fun onStopTrackingTouch(listener: (android.widget.SeekBar?) -> Unit) {\n        _onStopTrackingTouch = listener\n    }\n\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerClose(noinline l: () -> Unit) {\n    setOnDrawerCloseListener(l)\n}\n\ninline fun android.widget.SlidingDrawer.onDrawerOpen(noinline l: () -> Unit) {\n    setOnDrawerOpenListener(l)\n}\n\nfun android.widget.SlidingDrawer.onDrawerScrollListener(init: __SlidingDrawer_OnDrawerScrollListener.() -> Unit) {\n    val listener = __SlidingDrawer_OnDrawerScrollListener()\n    listener.init()\n    setOnDrawerScrollListener(listener)\n}\n\nclass __SlidingDrawer_OnDrawerScrollListener : android.widget.SlidingDrawer.OnDrawerScrollListener {\n\n    private var _onScrollStarted: (() -> Unit)? = null\n\n    override fun onScrollStarted() {\n        _onScrollStarted?.invoke()\n    }\n\n    fun onScrollStarted(listener: () -> Unit) {\n        _onScrollStarted = listener\n    }\n\n    private var _onScrollEnded: (() -> Unit)? = null\n\n    override fun onScrollEnded() {\n        _onScrollEnded?.invoke()\n    }\n\n    fun onScrollEnded(listener: () -> Unit) {\n        _onScrollEnded = listener\n    }\n\n}\n\ninline fun android.widget.TabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.widget.TextView.onEditorAction(noinline l: (v: android.widget.TextView?, actionId: Int, event: android.view.KeyEvent?) -> Boolean) {\n    setOnEditorActionListener(l)\n}\n\ninline fun android.widget.TimePicker.onTimeChanged(noinline l: (view: android.widget.TimePicker?, hourOfDay: Int, minute: Int) -> Unit) {\n    setOnTimeChangedListener(l)\n}\n\ninline fun android.widget.Toolbar.onMenuItemClick(noinline l: (item: android.view.MenuItem?) -> Boolean) {\n    setOnMenuItemClickListener(l)\n}\n\ninline fun android.widget.VideoView.onCompletion(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnCompletionListener(l)\n}\n\ninline fun android.widget.VideoView.onError(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnErrorListener(l)\n}\n\ninline fun android.widget.VideoView.onInfo(noinline l: (mp: android.media.MediaPlayer?, what: Int, extra: Int) -> Boolean) {\n    setOnInfoListener(l)\n}\n\ninline fun android.widget.VideoView.onPrepared(noinline l: (mp: android.media.MediaPlayer?) -> Unit) {\n    setOnPreparedListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomInClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomInClickListener(l)\n}\n\ninline fun android.widget.ZoomControls.onZoomOutClick(noinline l: (v: android.view.View?) -> Unit) {\n    setOnZoomOutClickListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/sqlite/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':generated:anko-commons')\n    api project(':static:sqlite-base')\n}\n"
  },
  {
    "path": "anko/library/generated/sqlite/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.sqlite\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/sqlite/src/main/java/SqlParserHelpers.kt",
    "content": "@file:JvmMultifileClass\n@file:JvmName(\"SQLiteParserHelpersKt\")\npackage org.jetbrains.anko.db\n\nimport android.database.sqlite.SQLiteException\n\nfun <T1, R> rowParser(parser: (T1) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 1) {\n                throw SQLiteException(\"Invalid row: 1 column required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1)\n        }\n    }\n}\n\nfun <T1, T2, R> rowParser(parser: (T1, T2) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 2) {\n                throw SQLiteException(\"Invalid row: 2 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2)\n        }\n    }\n}\n\nfun <T1, T2, T3, R> rowParser(parser: (T1, T2, T3) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 3) {\n                throw SQLiteException(\"Invalid row: 3 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, R> rowParser(parser: (T1, T2, T3, T4) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 4) {\n                throw SQLiteException(\"Invalid row: 4 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, R> rowParser(parser: (T1, T2, T3, T4, T5) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 5) {\n                throw SQLiteException(\"Invalid row: 5 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, R> rowParser(parser: (T1, T2, T3, T4, T5, T6) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 6) {\n                throw SQLiteException(\"Invalid row: 6 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 7) {\n                throw SQLiteException(\"Invalid row: 7 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 8) {\n                throw SQLiteException(\"Invalid row: 8 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 9) {\n                throw SQLiteException(\"Invalid row: 9 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 10) {\n                throw SQLiteException(\"Invalid row: 10 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 11) {\n                throw SQLiteException(\"Invalid row: 11 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 12) {\n                throw SQLiteException(\"Invalid row: 12 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 13) {\n                throw SQLiteException(\"Invalid row: 13 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 14) {\n                throw SQLiteException(\"Invalid row: 14 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 15) {\n                throw SQLiteException(\"Invalid row: 15 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 16) {\n                throw SQLiteException(\"Invalid row: 16 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 17) {\n                throw SQLiteException(\"Invalid row: 17 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16, columns[16] as T17)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 18) {\n                throw SQLiteException(\"Invalid row: 18 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16, columns[16] as T17, columns[17] as T18)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 19) {\n                throw SQLiteException(\"Invalid row: 19 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16, columns[16] as T17, columns[17] as T18, columns[18] as T19)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 20) {\n                throw SQLiteException(\"Invalid row: 20 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16, columns[16] as T17, columns[17] as T18, columns[18] as T19, columns[19] as T20)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 21) {\n                throw SQLiteException(\"Invalid row: 21 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16, columns[16] as T17, columns[17] as T18, columns[18] as T19, columns[19] as T20, columns[20] as T21)\n        }\n    }\n}\n\nfun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> rowParser(parser: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != 22) {\n                throw SQLiteException(\"Invalid row: 22 columns required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser(columns[0] as T1, columns[1] as T2, columns[2] as T3, columns[3] as T4, columns[4] as T5, columns[5] as T6, columns[6] as T7, columns[7] as T8, columns[8] as T9, columns[9] as T10, columns[10] as T11, columns[11] as T12, columns[12] as T13, columns[13] as T14, columns[14] as T15, columns[15] as T16, columns[16] as T17, columns[17] as T18, columns[18] as T19, columns[19] as T20, columns[20] as T21, columns[21] as T22)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generated/support-v4/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:support-v4:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n    api project(':generated:anko-support-v4-commons')\n}\n"
  },
  {
    "path": "anko/library/generated/support-v4/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.supportV4\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generated/support-v4/src/main/java/Layouts.kt",
    "content": "@file:JvmName(\"SupportV4LayoutsKt\")\npackage org.jetbrains.anko.support.v4\n\n\nimport android.content.Context\nimport android.util.AttributeSet\nimport android.view.ViewGroup\nimport android.widget.FrameLayout\nimport android.support.v4.app.FragmentTabHost\nimport android.view.View\nimport android.support.v4.view.ViewPager\nimport android.support.v4.widget.DrawerLayout\nimport android.support.v4.widget.NestedScrollView\nimport android.support.v4.widget.SlidingPaneLayout\n\nopen class _FragmentTabHost(ctx: Context): FragmentTabHost(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _ViewPager(ctx: Context): ViewPager(ctx) {\n\n    inline fun <T: View> T.lparams(\n            init: ViewPager.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ViewPager.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = ViewPager.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?,\n            init: ViewPager.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = ViewPager.LayoutParams(context!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            context: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = ViewPager.LayoutParams(context!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _DrawerLayout(ctx: Context): DrawerLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: DrawerLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: DrawerLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: DrawerLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: DrawerLayout.LayoutParams?,\n            init: DrawerLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: DrawerLayout.LayoutParams?\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: DrawerLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: DrawerLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = DrawerLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _NestedScrollView(ctx: Context): NestedScrollView(ctx) {\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            gravity: Int\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(width, height, gravity)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?,\n            init: FrameLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: FrameLayout.LayoutParams?\n    ): T {\n        val layoutParams = FrameLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\nopen class _SlidingPaneLayout(ctx: Context): SlidingPaneLayout(ctx) {\n\n    inline fun <T: View> T.lparams(\n            init: SlidingPaneLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams()\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            \n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            init: SlidingPaneLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(width, height)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            width: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT,\n            height: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(width, height)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?,\n            init: SlidingPaneLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.LayoutParams?\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?,\n            init: SlidingPaneLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: ViewGroup.MarginLayoutParams?\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: SlidingPaneLayout.LayoutParams?,\n            init: SlidingPaneLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(source!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            source: SlidingPaneLayout.LayoutParams?\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(source!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?,\n            init: SlidingPaneLayout.LayoutParams.() -> Unit\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(c!!, attrs!!)\n        layoutParams.init()\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: View> T.lparams(\n            c: Context?,\n            attrs: AttributeSet?\n    ): T {\n        val layoutParams = SlidingPaneLayout.LayoutParams(c!!, attrs!!)\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n}\n\n"
  },
  {
    "path": "anko/library/generated/support-v4/src/main/java/Listeners.kt",
    "content": "@file:JvmName(\"SupportV4ListenersKt\")\npackage org.jetbrains.anko.support.v4\n\n\nfun android.support.v4.widget.DrawerLayout.drawerListener(init: __DrawerLayout_DrawerListener.() -> Unit) {\n    val listener = __DrawerLayout_DrawerListener()\n    listener.init()\n    addDrawerListener(listener)\n}\n\nclass __DrawerLayout_DrawerListener : android.support.v4.widget.DrawerLayout.DrawerListener {\n    private var _onDrawerSlide: ((android.view.View?, Float) -> Unit)? = null\n    private var _onDrawerOpened: ((android.view.View?) -> Unit)? = null\n    private var _onDrawerClosed: ((android.view.View?) -> Unit)? = null\n    private var _onDrawerStateChanged: ((Int) -> Unit)? = null\n\n    override fun onDrawerSlide(drawerView: android.view.View, slideOffset: Float) {\n        _onDrawerSlide?.invoke(drawerView, slideOffset)\n    }\n\n    fun onDrawerSlide(listener: (android.view.View?, Float) -> Unit) {\n        _onDrawerSlide = listener\n    }\n\n    override fun onDrawerOpened(drawerView: android.view.View) {\n        _onDrawerOpened?.invoke(drawerView)\n    }\n\n    fun onDrawerOpened(listener: (android.view.View?) -> Unit) {\n        _onDrawerOpened = listener\n    }\n\n    override fun onDrawerClosed(drawerView: android.view.View) {\n        _onDrawerClosed?.invoke(drawerView)\n    }\n\n    fun onDrawerClosed(listener: (android.view.View?) -> Unit) {\n        _onDrawerClosed = listener\n    }\n\n    override fun onDrawerStateChanged(newState: Int) {\n        _onDrawerStateChanged?.invoke(newState)\n    }\n\n    fun onDrawerStateChanged(listener: (Int) -> Unit) {\n        _onDrawerStateChanged = listener\n    }\n\n}\n\ninline fun android.support.v4.view.ViewPager.onAdapterChange(noinline l: (viewPager: android.support.v4.view.ViewPager?, oldAdapter: android.support.v4.view.PagerAdapter?, newAdapter: android.support.v4.view.PagerAdapter?) -> Unit) {\n    addOnAdapterChangeListener(l)\n}\n\nfun android.support.v4.view.ViewPager.onPageChangeListener(init: __ViewPager_OnPageChangeListener.() -> Unit) {\n    val listener = __ViewPager_OnPageChangeListener()\n    listener.init()\n    addOnPageChangeListener(listener)\n}\n\nclass __ViewPager_OnPageChangeListener : android.support.v4.view.ViewPager.OnPageChangeListener {\n    private var _onPageScrolled: ((Int, Float, Int) -> Unit)? = null\n    private var _onPageSelected: ((Int) -> Unit)? = null\n    private var _onPageScrollStateChanged: ((Int) -> Unit)? = null\n\n    override fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) {\n        _onPageScrolled?.invoke(position, positionOffset, positionOffsetPixels)\n    }\n\n    fun onPageScrolled(listener: (Int, Float, Int) -> Unit) {\n        _onPageScrolled = listener\n    }\n\n    override fun onPageSelected(position: Int) {\n        _onPageSelected?.invoke(position)\n    }\n\n    fun onPageSelected(listener: (Int) -> Unit) {\n        _onPageSelected = listener\n    }\n\n    override fun onPageScrollStateChanged(state: Int) {\n        _onPageScrollStateChanged?.invoke(state)\n    }\n\n    fun onPageScrollStateChanged(listener: (Int) -> Unit) {\n        _onPageScrollStateChanged = listener\n    }\n\n}\n\ninline fun android.support.v4.app.FragmentTabHost.onTabChanged(noinline l: (tabId: String?) -> Unit) {\n    setOnTabChangedListener(l)\n}\n\ninline fun android.support.v4.widget.NestedScrollView.onScrollChange(noinline l: (v: android.support.v4.widget.NestedScrollView?, scrollX: Int, scrollY: Int, oldScrollX: Int, oldScrollY: Int) -> Unit) {\n    setOnScrollChangeListener(l)\n}\n\ninline fun android.support.v4.widget.SwipeRefreshLayout.onRefresh(noinline l: () -> Unit) {\n    setOnRefreshListener(l)\n}\n\n"
  },
  {
    "path": "anko/library/generated/support-v4/src/main/java/Views.kt",
    "content": "@file:JvmName(\"SupportV4ViewsKt\")\npackage org.jetbrains.anko.support.v4\n\nimport org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*\n\n@PublishedApi\ninternal object `$$Anko$Factories$SupportV4View` {\n    val PAGER_TAB_STRIP = { ctx: Context -> android.support.v4.view.PagerTabStrip(ctx) }\n    val PAGER_TITLE_STRIP = { ctx: Context -> android.support.v4.view.PagerTitleStrip(ctx) }\n    val CONTENT_LOADING_PROGRESS_BAR = { ctx: Context -> android.support.v4.widget.ContentLoadingProgressBar(ctx) }\n    val SPACE = { ctx: Context -> android.support.v4.widget.Space(ctx) }\n    val SWIPE_REFRESH_LAYOUT = { ctx: Context -> android.support.v4.widget.SwipeRefreshLayout(ctx) }\n}\n\ninline fun ViewManager.pagerTabStrip(): android.support.v4.view.PagerTabStrip = pagerTabStrip() {}\ninline fun ViewManager.pagerTabStrip(init: (@AnkoViewDslMarker android.support.v4.view.PagerTabStrip).() -> Unit): android.support.v4.view.PagerTabStrip {\n    return ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TAB_STRIP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedPagerTabStrip(theme: Int = 0): android.support.v4.view.PagerTabStrip = themedPagerTabStrip(theme) {}\ninline fun ViewManager.themedPagerTabStrip(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.view.PagerTabStrip).() -> Unit): android.support.v4.view.PagerTabStrip {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TAB_STRIP, theme) { init() }\n}\n\ninline fun Context.pagerTabStrip(): android.support.v4.view.PagerTabStrip = pagerTabStrip() {}\ninline fun Context.pagerTabStrip(init: (@AnkoViewDslMarker android.support.v4.view.PagerTabStrip).() -> Unit): android.support.v4.view.PagerTabStrip {\n    return ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TAB_STRIP, theme = 0) { init() }\n}\n\ninline fun Context.themedPagerTabStrip(theme: Int = 0): android.support.v4.view.PagerTabStrip = themedPagerTabStrip(theme) {}\ninline fun Context.themedPagerTabStrip(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.view.PagerTabStrip).() -> Unit): android.support.v4.view.PagerTabStrip {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TAB_STRIP, theme) { init() }\n}\n\ninline fun Activity.pagerTabStrip(): android.support.v4.view.PagerTabStrip = pagerTabStrip() {}\ninline fun Activity.pagerTabStrip(init: (@AnkoViewDslMarker android.support.v4.view.PagerTabStrip).() -> Unit): android.support.v4.view.PagerTabStrip {\n    return ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TAB_STRIP, theme = 0) { init() }\n}\n\ninline fun Activity.themedPagerTabStrip(theme: Int = 0): android.support.v4.view.PagerTabStrip = themedPagerTabStrip(theme) {}\ninline fun Activity.themedPagerTabStrip(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.view.PagerTabStrip).() -> Unit): android.support.v4.view.PagerTabStrip {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TAB_STRIP, theme) { init() }\n}\n\ninline fun ViewManager.pagerTitleStrip(): android.support.v4.view.PagerTitleStrip = pagerTitleStrip() {}\ninline fun ViewManager.pagerTitleStrip(init: (@AnkoViewDslMarker android.support.v4.view.PagerTitleStrip).() -> Unit): android.support.v4.view.PagerTitleStrip {\n    return ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TITLE_STRIP, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedPagerTitleStrip(theme: Int = 0): android.support.v4.view.PagerTitleStrip = themedPagerTitleStrip(theme) {}\ninline fun ViewManager.themedPagerTitleStrip(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.view.PagerTitleStrip).() -> Unit): android.support.v4.view.PagerTitleStrip {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TITLE_STRIP, theme) { init() }\n}\n\ninline fun Context.pagerTitleStrip(): android.support.v4.view.PagerTitleStrip = pagerTitleStrip() {}\ninline fun Context.pagerTitleStrip(init: (@AnkoViewDslMarker android.support.v4.view.PagerTitleStrip).() -> Unit): android.support.v4.view.PagerTitleStrip {\n    return ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TITLE_STRIP, theme = 0) { init() }\n}\n\ninline fun Context.themedPagerTitleStrip(theme: Int = 0): android.support.v4.view.PagerTitleStrip = themedPagerTitleStrip(theme) {}\ninline fun Context.themedPagerTitleStrip(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.view.PagerTitleStrip).() -> Unit): android.support.v4.view.PagerTitleStrip {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TITLE_STRIP, theme) { init() }\n}\n\ninline fun Activity.pagerTitleStrip(): android.support.v4.view.PagerTitleStrip = pagerTitleStrip() {}\ninline fun Activity.pagerTitleStrip(init: (@AnkoViewDslMarker android.support.v4.view.PagerTitleStrip).() -> Unit): android.support.v4.view.PagerTitleStrip {\n    return ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TITLE_STRIP, theme = 0) { init() }\n}\n\ninline fun Activity.themedPagerTitleStrip(theme: Int = 0): android.support.v4.view.PagerTitleStrip = themedPagerTitleStrip(theme) {}\ninline fun Activity.themedPagerTitleStrip(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.view.PagerTitleStrip).() -> Unit): android.support.v4.view.PagerTitleStrip {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.PAGER_TITLE_STRIP, theme) { init() }\n}\n\ninline fun ViewManager.contentLoadingProgressBar(): android.support.v4.widget.ContentLoadingProgressBar = contentLoadingProgressBar() {}\ninline fun ViewManager.contentLoadingProgressBar(init: (@AnkoViewDslMarker android.support.v4.widget.ContentLoadingProgressBar).() -> Unit): android.support.v4.widget.ContentLoadingProgressBar {\n    return ankoView(`$$Anko$Factories$SupportV4View`.CONTENT_LOADING_PROGRESS_BAR, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedContentLoadingProgressBar(theme: Int = 0): android.support.v4.widget.ContentLoadingProgressBar = themedContentLoadingProgressBar(theme) {}\ninline fun ViewManager.themedContentLoadingProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.widget.ContentLoadingProgressBar).() -> Unit): android.support.v4.widget.ContentLoadingProgressBar {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.CONTENT_LOADING_PROGRESS_BAR, theme) { init() }\n}\n\ninline fun ViewManager.space(): android.support.v4.widget.Space = space() {}\ninline fun ViewManager.space(init: (@AnkoViewDslMarker android.support.v4.widget.Space).() -> Unit): android.support.v4.widget.Space {\n    return ankoView(`$$Anko$Factories$SupportV4View`.SPACE, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSpace(theme: Int = 0): android.support.v4.widget.Space = themedSpace(theme) {}\ninline fun ViewManager.themedSpace(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.widget.Space).() -> Unit): android.support.v4.widget.Space {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.SPACE, theme) { init() }\n}\n\ninline fun ViewManager.swipeRefreshLayout(): android.support.v4.widget.SwipeRefreshLayout = swipeRefreshLayout() {}\ninline fun ViewManager.swipeRefreshLayout(init: (@AnkoViewDslMarker android.support.v4.widget.SwipeRefreshLayout).() -> Unit): android.support.v4.widget.SwipeRefreshLayout {\n    return ankoView(`$$Anko$Factories$SupportV4View`.SWIPE_REFRESH_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSwipeRefreshLayout(theme: Int = 0): android.support.v4.widget.SwipeRefreshLayout = themedSwipeRefreshLayout(theme) {}\ninline fun ViewManager.themedSwipeRefreshLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.widget.SwipeRefreshLayout).() -> Unit): android.support.v4.widget.SwipeRefreshLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.SWIPE_REFRESH_LAYOUT, theme) { init() }\n}\n\ninline fun Context.swipeRefreshLayout(): android.support.v4.widget.SwipeRefreshLayout = swipeRefreshLayout() {}\ninline fun Context.swipeRefreshLayout(init: (@AnkoViewDslMarker android.support.v4.widget.SwipeRefreshLayout).() -> Unit): android.support.v4.widget.SwipeRefreshLayout {\n    return ankoView(`$$Anko$Factories$SupportV4View`.SWIPE_REFRESH_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedSwipeRefreshLayout(theme: Int = 0): android.support.v4.widget.SwipeRefreshLayout = themedSwipeRefreshLayout(theme) {}\ninline fun Context.themedSwipeRefreshLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.widget.SwipeRefreshLayout).() -> Unit): android.support.v4.widget.SwipeRefreshLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.SWIPE_REFRESH_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.swipeRefreshLayout(): android.support.v4.widget.SwipeRefreshLayout = swipeRefreshLayout() {}\ninline fun Activity.swipeRefreshLayout(init: (@AnkoViewDslMarker android.support.v4.widget.SwipeRefreshLayout).() -> Unit): android.support.v4.widget.SwipeRefreshLayout {\n    return ankoView(`$$Anko$Factories$SupportV4View`.SWIPE_REFRESH_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedSwipeRefreshLayout(theme: Int = 0): android.support.v4.widget.SwipeRefreshLayout = themedSwipeRefreshLayout(theme) {}\ninline fun Activity.themedSwipeRefreshLayout(theme: Int = 0, init: (@AnkoViewDslMarker android.support.v4.widget.SwipeRefreshLayout).() -> Unit): android.support.v4.widget.SwipeRefreshLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4View`.SWIPE_REFRESH_LAYOUT, theme) { init() }\n}\n\n@PublishedApi\ninternal object `$$Anko$Factories$SupportV4ViewGroup` {\n    val FRAGMENT_TAB_HOST = { ctx: Context -> _FragmentTabHost(ctx) }\n    val VIEW_PAGER = { ctx: Context -> _ViewPager(ctx) }\n    val DRAWER_LAYOUT = { ctx: Context -> _DrawerLayout(ctx) }\n    val NESTED_SCROLL_VIEW = { ctx: Context -> _NestedScrollView(ctx) }\n    val SLIDING_PANE_LAYOUT = { ctx: Context -> _SlidingPaneLayout(ctx) }\n}\n\ninline fun ViewManager.fragmentTabHost(): android.support.v4.app.FragmentTabHost = fragmentTabHost() {}\ninline fun ViewManager.fragmentTabHost(init: (@AnkoViewDslMarker _FragmentTabHost).() -> Unit): android.support.v4.app.FragmentTabHost {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.FRAGMENT_TAB_HOST, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedFragmentTabHost(theme: Int = 0): android.support.v4.app.FragmentTabHost = themedFragmentTabHost(theme) {}\ninline fun ViewManager.themedFragmentTabHost(theme: Int = 0, init: (@AnkoViewDslMarker _FragmentTabHost).() -> Unit): android.support.v4.app.FragmentTabHost {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.FRAGMENT_TAB_HOST, theme) { init() }\n}\n\ninline fun Context.fragmentTabHost(): android.support.v4.app.FragmentTabHost = fragmentTabHost() {}\ninline fun Context.fragmentTabHost(init: (@AnkoViewDslMarker _FragmentTabHost).() -> Unit): android.support.v4.app.FragmentTabHost {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.FRAGMENT_TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Context.themedFragmentTabHost(theme: Int = 0): android.support.v4.app.FragmentTabHost = themedFragmentTabHost(theme) {}\ninline fun Context.themedFragmentTabHost(theme: Int = 0, init: (@AnkoViewDslMarker _FragmentTabHost).() -> Unit): android.support.v4.app.FragmentTabHost {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.FRAGMENT_TAB_HOST, theme) { init() }\n}\n\ninline fun Activity.fragmentTabHost(): android.support.v4.app.FragmentTabHost = fragmentTabHost() {}\ninline fun Activity.fragmentTabHost(init: (@AnkoViewDslMarker _FragmentTabHost).() -> Unit): android.support.v4.app.FragmentTabHost {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.FRAGMENT_TAB_HOST, theme = 0) { init() }\n}\n\ninline fun Activity.themedFragmentTabHost(theme: Int = 0): android.support.v4.app.FragmentTabHost = themedFragmentTabHost(theme) {}\ninline fun Activity.themedFragmentTabHost(theme: Int = 0, init: (@AnkoViewDslMarker _FragmentTabHost).() -> Unit): android.support.v4.app.FragmentTabHost {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.FRAGMENT_TAB_HOST, theme) { init() }\n}\n\ninline fun ViewManager.viewPager(): android.support.v4.view.ViewPager = viewPager() {}\ninline fun ViewManager.viewPager(init: (@AnkoViewDslMarker _ViewPager).() -> Unit): android.support.v4.view.ViewPager {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.VIEW_PAGER, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedViewPager(theme: Int = 0): android.support.v4.view.ViewPager = themedViewPager(theme) {}\ninline fun ViewManager.themedViewPager(theme: Int = 0, init: (@AnkoViewDslMarker _ViewPager).() -> Unit): android.support.v4.view.ViewPager {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.VIEW_PAGER, theme) { init() }\n}\n\ninline fun Context.viewPager(): android.support.v4.view.ViewPager = viewPager() {}\ninline fun Context.viewPager(init: (@AnkoViewDslMarker _ViewPager).() -> Unit): android.support.v4.view.ViewPager {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.VIEW_PAGER, theme = 0) { init() }\n}\n\ninline fun Context.themedViewPager(theme: Int = 0): android.support.v4.view.ViewPager = themedViewPager(theme) {}\ninline fun Context.themedViewPager(theme: Int = 0, init: (@AnkoViewDslMarker _ViewPager).() -> Unit): android.support.v4.view.ViewPager {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.VIEW_PAGER, theme) { init() }\n}\n\ninline fun Activity.viewPager(): android.support.v4.view.ViewPager = viewPager() {}\ninline fun Activity.viewPager(init: (@AnkoViewDslMarker _ViewPager).() -> Unit): android.support.v4.view.ViewPager {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.VIEW_PAGER, theme = 0) { init() }\n}\n\ninline fun Activity.themedViewPager(theme: Int = 0): android.support.v4.view.ViewPager = themedViewPager(theme) {}\ninline fun Activity.themedViewPager(theme: Int = 0, init: (@AnkoViewDslMarker _ViewPager).() -> Unit): android.support.v4.view.ViewPager {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.VIEW_PAGER, theme) { init() }\n}\n\ninline fun ViewManager.drawerLayout(): android.support.v4.widget.DrawerLayout = drawerLayout() {}\ninline fun ViewManager.drawerLayout(init: (@AnkoViewDslMarker _DrawerLayout).() -> Unit): android.support.v4.widget.DrawerLayout {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.DRAWER_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedDrawerLayout(theme: Int = 0): android.support.v4.widget.DrawerLayout = themedDrawerLayout(theme) {}\ninline fun ViewManager.themedDrawerLayout(theme: Int = 0, init: (@AnkoViewDslMarker _DrawerLayout).() -> Unit): android.support.v4.widget.DrawerLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.DRAWER_LAYOUT, theme) { init() }\n}\n\ninline fun Context.drawerLayout(): android.support.v4.widget.DrawerLayout = drawerLayout() {}\ninline fun Context.drawerLayout(init: (@AnkoViewDslMarker _DrawerLayout).() -> Unit): android.support.v4.widget.DrawerLayout {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.DRAWER_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedDrawerLayout(theme: Int = 0): android.support.v4.widget.DrawerLayout = themedDrawerLayout(theme) {}\ninline fun Context.themedDrawerLayout(theme: Int = 0, init: (@AnkoViewDslMarker _DrawerLayout).() -> Unit): android.support.v4.widget.DrawerLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.DRAWER_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.drawerLayout(): android.support.v4.widget.DrawerLayout = drawerLayout() {}\ninline fun Activity.drawerLayout(init: (@AnkoViewDslMarker _DrawerLayout).() -> Unit): android.support.v4.widget.DrawerLayout {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.DRAWER_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedDrawerLayout(theme: Int = 0): android.support.v4.widget.DrawerLayout = themedDrawerLayout(theme) {}\ninline fun Activity.themedDrawerLayout(theme: Int = 0, init: (@AnkoViewDslMarker _DrawerLayout).() -> Unit): android.support.v4.widget.DrawerLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.DRAWER_LAYOUT, theme) { init() }\n}\n\ninline fun ViewManager.nestedScrollView(): android.support.v4.widget.NestedScrollView = nestedScrollView() {}\ninline fun ViewManager.nestedScrollView(init: (@AnkoViewDslMarker _NestedScrollView).() -> Unit): android.support.v4.widget.NestedScrollView {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.NESTED_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedNestedScrollView(theme: Int = 0): android.support.v4.widget.NestedScrollView = themedNestedScrollView(theme) {}\ninline fun ViewManager.themedNestedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _NestedScrollView).() -> Unit): android.support.v4.widget.NestedScrollView {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.NESTED_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Context.nestedScrollView(): android.support.v4.widget.NestedScrollView = nestedScrollView() {}\ninline fun Context.nestedScrollView(init: (@AnkoViewDslMarker _NestedScrollView).() -> Unit): android.support.v4.widget.NestedScrollView {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.NESTED_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Context.themedNestedScrollView(theme: Int = 0): android.support.v4.widget.NestedScrollView = themedNestedScrollView(theme) {}\ninline fun Context.themedNestedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _NestedScrollView).() -> Unit): android.support.v4.widget.NestedScrollView {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.NESTED_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun Activity.nestedScrollView(): android.support.v4.widget.NestedScrollView = nestedScrollView() {}\ninline fun Activity.nestedScrollView(init: (@AnkoViewDslMarker _NestedScrollView).() -> Unit): android.support.v4.widget.NestedScrollView {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.NESTED_SCROLL_VIEW, theme = 0) { init() }\n}\n\ninline fun Activity.themedNestedScrollView(theme: Int = 0): android.support.v4.widget.NestedScrollView = themedNestedScrollView(theme) {}\ninline fun Activity.themedNestedScrollView(theme: Int = 0, init: (@AnkoViewDslMarker _NestedScrollView).() -> Unit): android.support.v4.widget.NestedScrollView {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.NESTED_SCROLL_VIEW, theme) { init() }\n}\n\ninline fun ViewManager.slidingPaneLayout(): android.support.v4.widget.SlidingPaneLayout = slidingPaneLayout() {}\ninline fun ViewManager.slidingPaneLayout(init: (@AnkoViewDslMarker _SlidingPaneLayout).() -> Unit): android.support.v4.widget.SlidingPaneLayout {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.SLIDING_PANE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun ViewManager.themedSlidingPaneLayout(theme: Int = 0): android.support.v4.widget.SlidingPaneLayout = themedSlidingPaneLayout(theme) {}\ninline fun ViewManager.themedSlidingPaneLayout(theme: Int = 0, init: (@AnkoViewDslMarker _SlidingPaneLayout).() -> Unit): android.support.v4.widget.SlidingPaneLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.SLIDING_PANE_LAYOUT, theme) { init() }\n}\n\ninline fun Context.slidingPaneLayout(): android.support.v4.widget.SlidingPaneLayout = slidingPaneLayout() {}\ninline fun Context.slidingPaneLayout(init: (@AnkoViewDslMarker _SlidingPaneLayout).() -> Unit): android.support.v4.widget.SlidingPaneLayout {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.SLIDING_PANE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Context.themedSlidingPaneLayout(theme: Int = 0): android.support.v4.widget.SlidingPaneLayout = themedSlidingPaneLayout(theme) {}\ninline fun Context.themedSlidingPaneLayout(theme: Int = 0, init: (@AnkoViewDslMarker _SlidingPaneLayout).() -> Unit): android.support.v4.widget.SlidingPaneLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.SLIDING_PANE_LAYOUT, theme) { init() }\n}\n\ninline fun Activity.slidingPaneLayout(): android.support.v4.widget.SlidingPaneLayout = slidingPaneLayout() {}\ninline fun Activity.slidingPaneLayout(init: (@AnkoViewDslMarker _SlidingPaneLayout).() -> Unit): android.support.v4.widget.SlidingPaneLayout {\n    return ankoView(`$$Anko$Factories$SupportV4ViewGroup`.SLIDING_PANE_LAYOUT, theme = 0) { init() }\n}\n\ninline fun Activity.themedSlidingPaneLayout(theme: Int = 0): android.support.v4.widget.SlidingPaneLayout = themedSlidingPaneLayout(theme) {}\ninline fun Activity.themedSlidingPaneLayout(theme: Int = 0, init: (@AnkoViewDslMarker _SlidingPaneLayout).() -> Unit): android.support.v4.widget.SlidingPaneLayout {\nreturn ankoView(`$$Anko$Factories$SupportV4ViewGroup`.SLIDING_PANE_LAYOUT, theme) { init() }\n}\n\n"
  },
  {
    "path": "anko/library/generated/support-v4-commons/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:support-v4:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':generated:anko-commons')\n    api project(':static:supportV4-base')\n}\n"
  },
  {
    "path": "anko/library/generated/support-v4-commons/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.generated.supportV4Common\">\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/generator/build.gradle",
    "content": "apply plugin: 'kotlin'\napply plugin: 'application'\n\nmainClassName = \"org.jetbrains.android.anko.Main\"\n\nrun {\n    // Replace \"verify\" with \"generate\" to update generated files\n    def generatorMode = findProperty(\"anko.generator.mode\") ?: System.getenv(\"ANKO_GENERATOR_MODE\") ?: \"verify\"\n    logger.debug(\"Anko generator mode: {}\", generatorMode)\n\n    args = [\"versions\",\n            generatorMode,\n            \"--configuration=anko/props/configuration.json\",\n            \"--outputDirectory=anko/library/generated\",\n            \"--androidSdk=dependencies/android-sdk\"]\n\n    workingDir = rootDir\n}\n\nsourceSets {\n    main {\n        java.srcDirs = ['src']\n        kotlin.srcDirs = ['src']\n    }\n    test {\n        java.srcDirs = ['test']\n        kotlin.srcDirs = ['test']\n    }\n}\n\ndependencies {\n    compile 'com.github.javaparser:javaparser-core:3.0.1'\n    compile 'org.jtwig:jtwig-core:5.65'\n    compile 'org.jtwig:jtwig-spaceless-extension:1.45'\n    compile 'com.samskivert:jmustache:1.10'\n    compile 'com.google.code.gson:gson:2.8.0'\n    compile 'org.slf4j:slf4j-simple:1.7.22'\n    compile 'org.ow2.asm:asm-debug-all:5.1'\n    compile \"org.jetbrains.kotlinx:kotlinx.dom:$kotlinx_dom_version\"\n    compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    compile project(\":testUtils\")\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/ClassProcessor.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko\n\nimport org.jetbrains.android.anko.artifact.Artifact\nimport org.jetbrains.android.anko.utils.ClassTree\nimport org.objectweb.asm.ClassReader\nimport org.objectweb.asm.tree.ClassNode\nimport java.io.File\nimport java.io.InputStream\nimport java.util.zip.ZipFile\n\nclass ClassProcessor(val artifact: Artifact) {\n    fun genClassTree(): ClassTree {\n        val classTree = ClassTree()\n        for (classData in extractClasses()) {\n            classTree.add(processClassData(classData.first), classData.second)\n        }\n        return classTree\n    }\n\n    private fun extractClasses(): Sequence<Pair<InputStream, Boolean>> {\n        val hasTargetJars = artifact.targetJars.isNotEmpty()\n\n        val platformClasses = (artifact.platformJars - artifact.targetJars)\n                .asSequence().flatMap { getEntries(it) }.map { it to hasTargetJars }\n        val targetJars = artifact.targetJars.asSequence().flatMap { getEntries(it) }.map { it to false }\n\n        return platformClasses + targetJars\n    }\n\n    private fun getEntries(file: File): Sequence<InputStream> {\n        if (file.extension == \"jar\") {\n            val zipFile = ZipFile(file)\n            return zipFile.entries().asSequence()\n                    .filter { it.name.endsWith(\".class\") }\n                    .map { zipFile.getInputStream(it) }\n        }\n\n        assert(file.extension == \"aar\")\n\n        val zipFile = ZipFile(file)\n        return zipFile.entries().asSequence()\n                .filter { it.name.endsWith(\".jar\") }\n                .map {\n                    File.createTempFile(\"anko\", \".jar\").apply {\n                        deleteOnExit()\n                        zipFile.getInputStream(it).copyTo(outputStream())\n                    }\n                }.flatMap { getEntries(it) }\n    }\n\n    private fun processClassData(classData: InputStream): ClassNode {\n        return classData.use {\n            val classNode = ClassNode()\n            val classReader = ClassReader(classData)\n            classReader.accept(classNode, 0)\n            classNode\n        }\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/annotations/AnnotationManager.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.annotations\n\nimport kotlinx.dom.childElements\nimport org.jetbrains.android.anko.utils.getPackageName\nimport org.w3c.dom.Document\nimport org.xml.sax.InputSource\nimport java.io.StringReader\nimport javax.xml.parsers.DocumentBuilderFactory\n\nclass AnnotationManager(private val provider: AnnotationProvider) {\n    fun findExternalAnnotations(declarationFqName: String): Set<ExternalAnnotation> {\n        val packageName = getPackageName(declarationFqName.substringBefore(' '))\n        val annotations = provider.getExternalAnnotations(packageName)\n        return annotations[declarationFqName] ?: emptySet()\n    }\n\n    fun hasAnnotation(declarationFqName: String, annotation: ExternalAnnotation): Boolean {\n        return annotation in findExternalAnnotations(declarationFqName)\n    }\n}\n\nfun parseAnnotations(doc: Document): Map<String, Set<ExternalAnnotation>> {\n    val map = hashMapOf<String, Set<ExternalAnnotation>>()\n\n    for (element in doc.documentElement.childElements(\"item\")) {\n        val annotations = element.childElements(\"annotation\")\n                .map { parseAnnotation(it.getAttribute(\"name\")) }\n                .filterNotNull()\n                .toSet()\n\n        map.put(element.getAttribute(\"name\"), annotations)\n    }\n\n    return map\n}\n\nprivate fun parseAnnotation(fqName: String): ExternalAnnotation? {\n    return when (fqName) {\n        \"org.jetbrains.annotations.NotNull\" -> ExternalAnnotation.NotNull\n        \"org.jetbrains.anko.GenerateLayout\" -> ExternalAnnotation.GenerateLayout\n        \"org.jetbrains.anko.GenerateView\" -> ExternalAnnotation.GenerateView\n        else -> null\n    }\n}\n\ninternal fun parseXml(xmlText: String): Document {\n    val factory = DocumentBuilderFactory.newInstance()\n    val builder = factory.newDocumentBuilder()\n    val inputSource = InputSource(StringReader(xmlText))\n    return builder.parse(inputSource)\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/annotations/annotationProviders.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.annotations\n\nimport java.io.File\nimport java.util.zip.ZipFile\n\nenum class ExternalAnnotation {\n    NotNull,\n    GenerateLayout,\n    GenerateView\n}\n\ninterface AnnotationProvider {\n    fun getExternalAnnotations(packageName: String): Map<String, Set<ExternalAnnotation>>\n}\n\nclass ZipFileAnnotationProvider(val zipFile: File) : AnnotationProvider {\n    private val archive by lazy { ZipFile(zipFile) }\n\n    override fun getExternalAnnotations(packageName: String): Map<String, Set<ExternalAnnotation>> {\n        val entryName = packageName.replace('.', '/') + \"/annotations.xml\"\n        val entry = archive.getEntry(entryName) ?: return emptyMap()\n\n        return archive.getInputStream(entry).reader().use {\n            parseAnnotations(parseXml(it.readText()))\n        }\n    }\n}\n\nclass DirectoryAnnotationProvider(val directory: File) : AnnotationProvider {\n    override fun getExternalAnnotations(packageName: String): Map<String, Set<ExternalAnnotation>> {\n        val annotationFile = File(directory, packageName.replace('.', '/') + \"/annotations.xml\")\n        if (!annotationFile.exists()) return emptyMap()\n        return parseAnnotations(parseXml(annotationFile.readText()))\n    }\n\n}\n\nclass CachingAnnotationProvider(val underlyingProvider: AnnotationProvider) : AnnotationProvider {\n    private val cache = hashMapOf<String, Map<String, Set<ExternalAnnotation>>>()\n\n    override fun getExternalAnnotations(packageName: String) = cache.getOrPut(packageName) {\n        underlyingProvider.getExternalAnnotations(packageName)\n    }\n}\n\nclass CompoundAnnotationProvider(vararg private val providers: AnnotationProvider) : AnnotationProvider {\n    override fun getExternalAnnotations(packageName: String): Map<String, Set<ExternalAnnotation>> {\n        val providerAnnotations = providers.map { it.getExternalAnnotations(packageName) }\n\n        val map = hashMapOf<String, Set<ExternalAnnotation>>()\n\n        for (providerAnnotationMap in providerAnnotations) {\n            for ((key, value) in providerAnnotationMap) {\n                val existingAnnotations = map[key]\n\n                if (existingAnnotations == null) {\n                    map.put(key, value)\n                } else {\n                    map.put(key, (value + existingAnnotations).toSet())\n                }\n            }\n        }\n\n        return map\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/artifact/Artifact.kt",
    "content": "package org.jetbrains.android.anko.artifact\n\nimport com.google.gson.Gson\nimport org.jetbrains.android.anko.config.ArtifactType\nimport java.io.File\n\nclass Artifact(val name: String, val type: ArtifactType, val platformJars: List<File>, val targetJars: List<File>) {\n    override fun toString(): String {\n        return \"$name: { platformJars = \\\"${platformJars.joinToString()}\\\", targetJars = \\\"${targetJars.joinToString()}\\\" }\"\n    }\n\n    companion object {\n        fun parseConfiguration(file: File): ExecutionConfiguration {\n            val data = Gson().fromJson(file.readText(), ExecutionConfigurationData::class.java)\n            val templates = data.templates\n            val tunes = data.tunes\n\n            val artifacts = mutableListOf<Artifact>()\n            for (artifactData in data.artifacts) {\n                val platformJars = artifactData.platform.map { File(substituteTemplates(it, templates)) }\n                assert(platformJars.isNotEmpty())\n                val targetJars = artifactData.target?.map { File(substituteTemplates(it, templates)) } ?: platformJars\n                val type = ArtifactType.values().firstOrNull { it.nameInConfiguration == artifactData.type }\n                        ?: error(\"Type invalid or not specified for artifact ${artifactData.name}\")\n                artifacts += Artifact(artifactData.name, type, platformJars, targetJars)\n            }\n\n            return ExecutionConfiguration(artifacts, tunes)\n        }\n\n        private fun substituteTemplates(s: String, templates: Map<String, String>): String {\n            var result = s\n            for ((key, value) in templates) {\n                result = result.replace(\"%$key%\", value)\n            }\n            return result\n        }\n    }\n}\n\nclass Tunes(val excludedClasses: Set<String>)\n\nclass ExecutionConfiguration(val artifacts: List<Artifact>, val tunes: Tunes)\n\nprivate class ExecutionConfigurationData(\n        val templates: Map<String, String>,\n        val artifacts: List<ArtifactData>,\n        val tunes: Tunes\n) {\n    class ArtifactData(val name: String, val type: String, val platform: List<String>, val target: List<String>?)\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/AnkoConfiguration.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.config\n\nimport org.jetbrains.android.anko.artifact.Artifact\nimport java.io.File\n\ninterface AnkoConfiguration {\n    val indent: String\n        get() = \"    \"\n\n    val generateImports: Boolean\n        get() = true\n\n    val generatePackage: Boolean\n        get() = true\n\n    val artifact: Artifact\n\n    val options: Options\n\n    val outputPackage: String\n\n    val outputDirectory: File\n    val sourceOutputDirectory: File\n\n    val excludedClasses: Set<String>\n    val excludedMethods: Set<String>\n    val excludedProperties: Set<String>\n    val propertiesWithoutGetters: Set<String>\n\n    fun getOutputFile(ankoFile: AnkoFile): File\n}\n\noperator fun <T : Any> AnkoConfiguration.get(key: ConfigurationKey<T>) = options[key]"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/AnkoFile.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.config\n\nimport org.jetbrains.android.anko.config.ArtifactType.*\nimport org.jetbrains.android.anko.utils.toCamelCase\n\nenum class AnkoFile(applicableArtifactTypes: Set<ArtifactType>) : ConfigurationKey<Boolean> {\n    LAYOUTS(setOf(PLATFORM, SUPPORT_V4, TOOLKIT)),\n    LISTENERS(setOf(SIMPLE_LISTENERS)),\n    LISTENERS_WITH_COROUTINES(setOf(COROUTINE_LISTENERS)),\n    PROPERTIES(setOf(PLATFORM, SUPPORT_V4, TOOLKIT)),\n    SERVICES(setOf(PLATFORM, SUPPORT_V4, TOOLKIT)),\n    SQL_PARSER_HELPERS(setOf(SQLITE)),\n    VIEWS(setOf(PLATFORM, SUPPORT_V4, TOOLKIT));\n\n    val types: Set<ArtifactType> = applicableArtifactTypes.toSet()\n\n    override val defaultValue = true\n\n    val filename: String\n        get() = name.toCamelCase() + \".kt\"\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/ArtifactType.kt",
    "content": "package org.jetbrains.android.anko.config\n\nenum class ArtifactType(val nameInConfiguration: String) {\n    COMMONS(\"commons\"), // Anko Commons (does not contain platform-dependent functions)\n    SQLITE(\"sqlite\"), // Anko SQLite\n    PLATFORM(\"platform\"), // Anko Layouts for the specific Android SDK version (eg. 15, 19, 21 etc.)\n    SUPPORT_V4(\"supportV4\"), // Anko Layouts for Android support-v4 library\n    TOOLKIT(\"toolkit\"), // Anko Layouts for any other Android libraries\n    SIMPLE_LISTENERS(\"simpleListeners\"), // Old View listeners\n    COROUTINE_LISTENERS(\"coroutineListeners\") // View listeners with coroutine support\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/ConfigurationKey.kt",
    "content": "package org.jetbrains.android.anko.config\n\ninterface ConfigurationKey<out T : Any> {\n    val name: String\n    val defaultValue: T?\n}\n\nfun <T : Any> ConfigurationKey(\n        name: String,\n        defaultValue: T? = null\n): ConfigurationKey<T> = ConfigurationKeyImpl(name, defaultValue)\n\nprivate open class ConfigurationKeyImpl<out T : Any>(\n        override val name: String,\n        override val defaultValue: T? = null) : ConfigurationKey<T>\n\nclass CliConfigurationKey<out T : Any>(\n        name: String,\n        val cliName: String = name,\n        defaultValue: T? = null,\n        val mapper: (String) -> T?\n) : ConfigurationKey<T> by ConfigurationKeyImpl(name, defaultValue)\n\ninterface Options {\n    operator fun <T : Any> get(key: ConfigurationKey<T>): T = opt(key)!!\n    fun <T : Any> opt(key: ConfigurationKey<T>): T?\n\n    operator fun contains(key: ConfigurationKey<*>) = opt(key) != null\n}\n\ninterface MutableOptions : Options {\n    operator fun <T : Any> set(key: ConfigurationKey<T>, value: T)\n\n    companion object {\n        fun create(): MutableOptions = OptionsImpl()\n    }\n}\n\nfun <T : Any> MutableOptions.setCliOption(key: CliConfigurationKey<T>, stringValue: String) {\n    val value = key.mapper(stringValue)\n    if (value != null) {\n        this[key] = value\n    }\n}\n\nprivate class OptionsImpl : MutableOptions {\n    private val options = mutableMapOf<ConfigurationKey<*>, Any>()\n\n    @Suppress(\"UNCHECKED_CAST\")\n    override fun <T : Any> opt(key: ConfigurationKey<T>) = options[key] as T? ?: key.defaultValue\n\n    override fun <T : Any> set(key: ConfigurationKey<T>, value: T) {\n        options[key] = value\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/DefaultAnkoConfiguration.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.config\n\nimport org.jetbrains.android.anko.artifact.Artifact\nimport org.jetbrains.android.anko.artifact.Tunes\nimport java.io.File\n\nclass DefaultAnkoConfiguration(\n        override val outputDirectory: File,\n        override val artifact: Artifact,\n        override val options: Options,\n        val tunes: Tunes\n) : AnkoConfiguration {\n    override val outputPackage: String\n\n    private fun readProps(name: String) = File(\"anko/props/$name.txt\").readLines().toSet()\n\n    override val excludedClasses = tunes.excludedClasses\n    override val excludedMethods = readProps(\"excluded_methods\")\n    override val excludedProperties = readProps(\"excluded_properties\")\n    override val propertiesWithoutGetters = readProps(\"properties_without_getters\")\n\n    init {\n        val artifactType = artifact.type\n        outputPackage = \"org.jetbrains.anko\" + when (artifactType) {\n            ArtifactType.COMMONS, ArtifactType.PLATFORM -> \"\"\n            else -> \".\" + artifact.name.replace('-', '.').toLowerCase()\n        }\n\n        for (line in propertiesWithoutGetters) {\n            if (!line.matches(\"[A-Za-z0-9]+(\\\\.((?!set)[A-Za-z0-9]+))*\".toRegex())) {\n                error(\"Invalid line in properties_without_getters.txt: $line\")\n            }\n        }\n    }\n\n    override val sourceOutputDirectory = File(outputDirectory, \"src/main/java\")\n\n    override fun getOutputFile(ankoFile: AnkoFile): File {\n        return File(sourceOutputDirectory, ankoFile.filename)\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/GeneratorContext.kt",
    "content": "package org.jetbrains.android.anko.config\n\nimport org.jetbrains.android.anko.annotations.*\nimport org.jetbrains.android.anko.sources.AndroidHomeSourceProvider\nimport org.jetbrains.android.anko.sources.SourceManager\nimport org.jetbrains.android.anko.templates.JtwigTemplateProvider\nimport org.jetbrains.android.anko.templates.MustacheTemplateProvider\nimport org.jetbrains.android.anko.templates.TemplateManager\nimport java.io.File\n\nclass GeneratorContext(\n        val annotationManager: AnnotationManager,\n        val sourceManager: SourceManager,\n        val templateManager: TemplateManager,\n        val logger: Logger,\n        val configuration: AnkoConfiguration\n) {\n    companion object {\n        fun create(propsDir: File, logLevel: Logger.LogLevel, config: AnkoConfiguration): GeneratorContext {\n            val zipFileProvider = ZipFileAnnotationProvider(File(propsDir, \"kotlin-android-sdk-annotations-1.0.0.jar\"))\n            val directoryProvider = DirectoryAnnotationProvider(File(propsDir, \"annotations\"))\n\n            val annotationManager = AnnotationManager(CompoundAnnotationProvider(\n                    CachingAnnotationProvider(zipFileProvider), CachingAnnotationProvider(directoryProvider)))\n            val sourceManager = SourceManager(AndroidHomeSourceProvider(config[ANDROID_SDK_LOCATION], 27))\n            val templateManager = TemplateManager(\n                    File(propsDir, \"templates\"),\n                    MustacheTemplateProvider(),\n                    JtwigTemplateProvider())\n            val logger = Logger(logLevel)\n\n            return GeneratorContext(annotationManager, sourceManager, templateManager, logger, config)\n        }\n    }\n}\n\ninterface WithGeneratorContext {\n    val context: GeneratorContext\n\n    val annotationManager: AnnotationManager\n        get() = context.annotationManager\n\n    val sourceManager: SourceManager\n        get() = context.sourceManager\n\n    val templateManager: TemplateManager\n        get() = context.templateManager\n\n    val logger: Logger\n        get() = context.logger\n\n    val config: AnkoConfiguration\n        get() = context.configuration\n}\n"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/Logger.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.config\n\nclass Logger(private val level: Logger.LogLevel) {\n    enum class LogLevel {\n        DEBUG, INFO, WARNING, ERROR\n    }\n    fun d(s: String) {\n        if (level <= LogLevel.DEBUG) System.out.println(\"D: $s\")\n    }\n\n    fun i(s: String) {\n        if (level <= LogLevel.INFO) System.out.println(\"I: $s\")\n    }\n\n    fun w(s: String) {\n        if (level <= LogLevel.WARNING) System.out.println(\"W: $s\")\n    }\n\n    fun e(s: String) {\n        if (level <= LogLevel.ERROR) {\n            System.err.println(\"E: $s\")\n            throw Error(s)\n        }\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/Props.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.config\n\nimport java.io.File\nimport java.util.*\n\nclass Variable(val name: String, val type: String) {\n    override fun toString(): String {\n        return \"$name:$type\"\n    }\n}\n\nobject Props {\n    val imports: Map<String, String> by lazy {\n        val map = hashMapOf<String, String>()\n        File(\"anko/props\")\n                .listFiles { file -> file.name.startsWith(\"imports_\") && file.name.endsWith(\".txt\") }\n                ?.forEach {\n                    val name = it.name.replace(\".txt\", \"\")\n                    map.put(name.substring(name.indexOf('_') + 1), it.readText())\n                }\n        map\n    }\n\n    val helperConstructors: Map<String, List<List<Variable>>> by lazy {\n        val res = HashMap<String, ArrayList<List<Variable>>>()\n        val lines = File(\"anko/props/helper_constructors.txt\").readLines()\n        for (line in lines.filter { it.isNotEmpty() && !it.startsWith('#') }) {\n            try {\n                val separator = line.indexOf(' ')\n                val className = line.substring(0, separator)\n                val props = line.substring(separator + 1).split(',').map {\n                    val nameType = it.split(\":\".toRegex()).toTypedArray()\n                    Variable(nameType[0].trim(), nameType[1].trim())\n                }.toList()\n                val constructors = res.getOrElse(className, { ArrayList<List<Variable>>() })\n                constructors.add(props)\n                res.put(className, constructors)\n            } catch (e: ArrayIndexOutOfBoundsException) {\n                throw RuntimeException(\"Failed to tokenize string, malformed helper_constructors.txt\")\n            }\n        }\n        res\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/config/configurationKeys.kt",
    "content": "package org.jetbrains.android.anko.config\n\nimport java.io.File\n\nval LOG_LEVEL = CliConfigurationKey(\n        \"logLevel\",\n        defaultValue = Logger.LogLevel.WARNING,\n        mapper = { Logger.LogLevel.valueOf(it) })\n\nval CONFIGURATION = CliConfigurationKey(\n        \"configuration\",\n        mapper = ::File)\n\nval OUTPUT_DIRECTORY = CliConfigurationKey(\n        \"outputDirectory\",\n        mapper = ::File)\n\nval ANDROID_SDK_LOCATION = CliConfigurationKey(\n        \"androidSdk\",\n        mapper = ::File)\n\nval CLI_CONFIGURATION_KEYS: List<CliConfigurationKey<Any>> = listOf(\n        LOG_LEVEL, CONFIGURATION, OUTPUT_DIRECTORY, ANDROID_SDK_LOCATION)"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/GenerationState.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.config.WithGeneratorContext\nimport org.jetbrains.android.anko.utils.*\nimport org.objectweb.asm.tree.ClassNode\n\ninterface Generator<out R> {\n    fun generate(state: GenerationState): Iterable<R>\n}\n\nclass GenerationState(\n        override val classTree: ClassTree,\n        override val context: GeneratorContext\n): ClassTreeUtils, WithGeneratorContext, ReflectionUtils {\n\n    val availableClasses: List<ClassNode> =\n            classTree.filter { !isExcluded(it) && !classTree.findNode(it)!!.fromPlatformJar }\n\n    val availableMethods: List<MethodNodeWithClass> = findAvailableMethods(availableClasses)\n\n    private val cachedResults: MutableMap<Class<out Generator<*>>, Iterable<*>> = hashMapOf()\n\n    @Suppress(\"UNCHECKED_CAST\")\n    operator fun <T> get(clazz: Class<out Generator<T>>): Iterable<T> = cachedResults.getOrPut(clazz) {\n        initializeClass(clazz).generate(this)\n    } as Iterable<T>\n\n    override fun isExcluded(node: ClassNode) =\n            node.fqName in config.excludedClasses || \"${node.packageName}.*\" in config.excludedClasses\n\n    override fun isExcluded(node: MethodNodeWithClass) =\n            (node.clazz.fqName + \"#\" + node.method.name) in config.excludedMethods\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/LayoutGenerator.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nclass LayoutGenerator : Generator<LayoutElement> {\n\n    override fun generate(state: GenerationState): Iterable<LayoutElement> {\n        return state[ViewGroupGenerator::class.java]\n                .map { state.extractLayoutParams(it.clazz) }\n                .filterNotNull()\n                .sortedBy { it.layout.name }\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/ListenerGenerator.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.*\nimport org.jetbrains.android.anko.utils.MethodNodeWithClass\nimport org.jetbrains.android.anko.utils.isAbstract\nimport org.jetbrains.android.anko.utils.isInterface\nimport org.objectweb.asm.tree.ClassNode\n\nclass ListenerGenerator : Generator<ListenerElement> {\n\n    override fun generate(state: GenerationState) = with (state) {\n        val complexAddListeners = hashSetOf<Pair<ClassNode, String>>()\n\n        val addListeners = state.availableMethods\n                .filter { it.clazz.isView && it.method.isPublic && it.method.isListenerSetter(set = false) }\n                .mapNotNull { makeListener(it) }\n\n        for (listener in addListeners) {\n            if (listener is ComplexListenerElement) {\n                complexAddListeners.add(Pair(listener.clazz, listener.name))\n            }\n        }\n\n        val setListeners = state.availableMethods\n                .filter { it.clazz.isView && it.method.isPublic && it.method.isListenerSetter(add = false) }\n                .map { makeListener(it) }\n                .filter { it !is ComplexListenerElement || Pair(it.clazz, it.name) !in complexAddListeners }\n                .filterNotNull()\n                .sortedBy { it.setter.identifier }\n                .toMutableList()\n        \n        (addListeners + setListeners).distinctBy { it.id }\n    }\n\n    //suppose \"setter\" is a correct setOn*Listener method\n    private fun GenerationState.makeListener(setter: MethodNodeWithClass): ListenerElement? {\n        val listener = classTree.findNode(setter.method.parameterRawTypes[0].internalName)!!.data\n\n        if (!listener.isInterface) {\n            return null\n        }\n\n        val methods = listener.methods?.filter { !it.isConstructor }\n\n        val rawName = setter.method.name\n        //delete \"set\" (\"add\") end \"Listener\" parts of String\n        val name = rawName.substring(\"set\".length).dropLast(\"Listener\".length).decapitalize()\n\n        return when (methods?.size ?: 0) {\n            1 -> { // It is a simple listener, with just one method\n                val method = methods!![0]\n                val methodWithClass = MethodNodeWithClass(listener, method)\n                val returnType = method.returnType\n                SimpleListenerElement(setter, listener, ListenerMethod(methodWithClass, name, returnType))\n            }\n            0 -> // Something weird\n                throw RuntimeException(\"Listener ${listener.name} contains no methods.\")\n            else -> { // A complex listener (with more than one method)\n                val listenerMethods = methods?.map { method ->\n                    val methodName = method.name\n                    val methodWithClass = MethodNodeWithClass(listener, method)\n                    val returnType = method.returnType\n                    ListenerMethod(methodWithClass, methodName, returnType)\n                }!!\n                ComplexListenerElement(setter, listener, name, listenerMethods)\n            }\n        }\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/PropertyGenerator.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.*\nimport org.jetbrains.android.anko.utils.MethodNodeWithClass\nimport org.jetbrains.android.anko.utils.fqName\nimport org.jetbrains.android.anko.utils.toProperty\nimport org.jetbrains.android.anko.utils.unique\nimport org.objectweb.asm.tree.MethodNode\n\nclass PropertyGenerator : Generator<PropertyElement> {\n\n    override fun generate(state: GenerationState) = with (state) {\n        val propertyGetters = availableMethods\n                .filter {\n                    it.clazz.isView &&\n                            it.method.isGetter() && !it.method.isOverridden && !it.method.isListenerGetter &&\n                            !config.excludedProperties.contains(it.clazz.fqName + \"#\" + it.method.name) &&\n                            !config.excludedProperties.contains(it.clazz.fqName + \"#*\")\n                }\n                .sortedBy { it.identifier }\n\n        val propertySetters = availableMethods\n                .filter {\n                    it.clazz.isView && it.method.isNonListenerSetter() && !it.method.isOverridden &&\n                            !config.excludedProperties.contains(it.clazz.fqName + \"#\" + it.method.name) &&\n                            !config.excludedProperties.contains(it.clazz.fqName + \"#*\")\n                }\n                .groupBy { it.identifier }\n\n        genProperties(propertyGetters, propertySetters)\n    }\n\n    private fun GenerationState.genProperties(\n            getters: Collection<MethodNodeWithClass>,\n            setters: Map<String, List<MethodNodeWithClass>>): List<PropertyElement> {\n        val existingProperties = hashSetOf<String>()\n\n        val propertyWithGetters = getters.map { getter ->\n            val property = getter.toProperty()\n            val settersList = setters[property.setterIdentifier] ?: emptyList()\n\n            val (best, others) = settersList.partition {\n                it.method.parameterRawTypes.unique == getter.method.returnType\n            }\n\n            existingProperties.add(property.setterIdentifier)\n            PropertyElement(property.name, getter, best + others)\n        }\n        val propertyWithoutGetters = setters.values.map { s ->\n            val property = s.first().toProperty()\n\n            val id = property.setterIdentifier\n            if (id !in existingProperties) {\n                if (property.propertyFqName in config.propertiesWithoutGetters) {\n                    PropertyElement(property.name, null, s)\n                } else {\n                    logger.d(\"PropertyGenerator # Property was not generated for $id\")\n                    null\n                }\n            } else null\n        }.filterNotNull()\n        return propertyWithoutGetters + propertyWithGetters\n    }\n\n    private val MethodNode.isListenerGetter: Boolean\n        get() = name.startsWith(\"get\") && name.endsWith(\"Listener\")\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/ServiceGenerator.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.utils.packageName\nimport org.jetbrains.android.anko.utils.simpleName\nimport org.objectweb.asm.tree.FieldNode\n\nclass ServiceGenerator : Generator<ServiceElement> {\n\n    override fun generate(state: GenerationState): Iterable<ServiceElement> {\n        return state.classTree.findNode(\"android/content/Context\")?.data?.fields\n                ?.filter { it.name.endsWith(\"_SERVICE\") }\n                ?.mapNotNull { serviceField ->\n                    state.availableClasses.find { classNode ->\n                        classNode.packageName.startsWith(\"android\")\n                                && classNode.simpleName == serviceField.toServiceClassName()\n                    }\n                    ?.let { ServiceElement(it, serviceField.name) }\n                }\n                ?.sortedBy { it.simpleName }\n                ?: emptyList()\n    }\n\n    private fun FieldNode.toServiceClassName(): String {\n        var nextCapital = true\n        val builder = StringBuilder()\n        for (char in name.replace(\"_SERVICE\", \"_MANAGER\").toCharArray()) when (char) {\n            '_' -> nextCapital = true\n            else -> builder.append(\n                    if (nextCapital) {\n                        nextCapital = false; char\n                    } else Character.toLowerCase(char)\n            )\n        }\n        return builder.toString()\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/dslElements.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.utils.MethodNodeWithClass\nimport org.jetbrains.android.anko.utils.fqName\nimport org.jetbrains.android.anko.utils.simpleName\nimport org.objectweb.asm.Type\nimport org.objectweb.asm.tree.ClassNode\nimport org.objectweb.asm.tree.MethodNode\n\nclass ViewElement(val clazz: ClassNode, val isContainer: Boolean, allMethods: () -> List<MethodNode>) {\n    val allMethods: List<MethodNode> by lazy {\n        allMethods()\n    }\n\n    val fqName: String\n        get() = clazz.fqName\n}\n\nclass LayoutElement(val layout: ClassNode, val layoutParams: ClassNode, val constructors: List<MethodNode>)\n\nclass ServiceElement(val service: ClassNode, val constantName: String) {\n    val simpleName: String\n        get() = service.simpleName.decapitalize()\n\n    val fqName: String\n        get() = service.fqName\n}\n\nclass PropertyElement(val name: String, val getter: MethodNodeWithClass?, val setters: List<MethodNodeWithClass>)\n\nclass ListenerMethod(val methodWithClass: MethodNodeWithClass, val name: String, val returnType: Type)\n\nabstract class ListenerElement(val setter: MethodNodeWithClass, val clazz: ClassNode) {\n    abstract val id: String\n}\n\nclass SimpleListenerElement(\n        setter: MethodNodeWithClass,\n        clazz: ClassNode,\n        val method: ListenerMethod\n) : ListenerElement(setter, clazz) {\n    override val id: String\n        get() = \"${clazz.name}#${method.name}\"\n}\n\nclass ComplexListenerElement(\n        setter: MethodNodeWithClass,\n        clazz: ClassNode,\n        val name: String,\n        val methods: List<ListenerMethod>\n) : ListenerElement(setter, clazz) {\n    override val id: String\n        get() = \"${clazz.name}#$name\"\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/layoutParamsUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.annotations.ExternalAnnotation\nimport org.jetbrains.android.anko.isPublic\nimport org.jetbrains.android.anko.parameterRawTypes\nimport org.jetbrains.android.anko.returnType\nimport org.jetbrains.android.anko.utils.fqName\nimport org.jetbrains.android.anko.utils.getConstructors\nimport org.jetbrains.android.anko.utils.unique\nimport org.objectweb.asm.tree.ClassNode\n\n//return a pair<viewGroup, layoutParams> or null if the viewGroup doesn't contain custom LayoutParams\nfun GenerationState.extractLayoutParams(viewGroup: ClassNode): LayoutElement? {\n    fun findActualLayoutParamsClass(viewGroup: ClassNode): ClassNode? {\n        fun findForParent() = findActualLayoutParamsClass(classTree.findNode(viewGroup)!!.parent!!.data)\n\n        val generateMethod = viewGroup.methods.firstOrNull { method ->\n            method.name == \"generateLayoutParams\"\n                    && method.parameterRawTypes.unique?.internalName == \"android/util/AttributeSet\"\n        } ?: return findForParent()\n\n        val returnTypeClass = classTree.findNode(generateMethod.returnType.internalName)!!.data\n        if (!returnTypeClass.fqName.startsWith(viewGroup.fqName)) return findForParent()\n        return if (returnTypeClass.isLayoutParams) returnTypeClass else findForParent()\n    }\n\n    val lpInnerClassName = viewGroup.innerClasses?.firstOrNull { it.name.contains(\"LayoutParams\") }\n    val lpInnerClass = lpInnerClassName?.let { classTree.findNode(it.name)!!.data }\n\n    val externalAnnotations = annotationManager.findExternalAnnotations(viewGroup.fqName)\n    val hasGenerateLayoutAnnotation = ExternalAnnotation.GenerateLayout in externalAnnotations\n    val hasGenerateViewAnnotation = ExternalAnnotation.GenerateView in externalAnnotations\n    if (hasGenerateViewAnnotation || (lpInnerClass == null && !hasGenerateLayoutAnnotation)) return null\n\n    val layoutParams = lpInnerClass?.takeIf { it.name.startsWith(viewGroup.name) }\n            ?: findActualLayoutParamsClass(viewGroup)?.takeIf { it.name != \"android/view/ViewGroup\\$LayoutParams\" }\n\n    return layoutParams?.let { classNode ->\n        LayoutElement(viewGroup, classNode, classNode.getConstructors().filter { it.isPublic })\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/generator/viewClassGenerators.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.generator\n\nimport org.jetbrains.android.anko.utils.isAbstract\nimport org.jetbrains.android.anko.utils.isInterface\nimport org.jetbrains.android.anko.utils.isPublic\nimport org.objectweb.asm.tree.ClassNode\n\nabstract class AbstractViewGenerator(private val forLayouts: Boolean) : Generator<ViewElement> {\n\n    override fun generate(state: GenerationState) = with (state) {\n        fun ClassNode.isViewGroupWithParams() = isViewGroup && hasLayoutParams(this)\n\n        state.availableClasses\n                .filter { it.isPublic && it.isView && forLayouts == it.isViewGroupWithParams() }\n                .map { ViewElement(it, if (forLayouts) true else it.isViewGroup, { it.resolveAllMethods() }) }\n                .sortedBy { it.clazz.name }\n    }\n\n    private fun GenerationState.hasLayoutParams(viewGroup: ClassNode): Boolean {\n        return !viewGroup.isAbstract && extractLayoutParams(viewGroup) != null\n    }\n}\n\nclass ViewGenerator : AbstractViewGenerator(forLayouts = false)\n\nclass ViewGroupGenerator : AbstractViewGenerator(forLayouts = true)"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/main.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:JvmName(\"Main\")\npackage org.jetbrains.android.anko\n\nimport org.jetbrains.android.anko.artifact.Artifact\nimport org.jetbrains.android.anko.config.*\nimport org.jetbrains.android.anko.generator.GenerationState\nimport org.jetbrains.android.anko.render.RenderFacade\nimport org.jetbrains.android.anko.writer.VerifyWriter\nimport org.jetbrains.android.anko.writer.GeneratorWriter\nimport java.io.File\n\nfun main(args: Array<String>) {\n    val (rawOptions, tasks) = args.partition { it.startsWith(\"--\") }\n    val options = parseOptions(rawOptions)\n\n    if (tasks.isNotEmpty()) {\n        tasks.forEach { taskName ->\n            println(\":: $taskName\")\n\n            when (taskName) {\n                \"generate\" -> launchGenerator(options, GeneratorMode.GENERATE)\n                \"verify\" -> launchGenerator(options, GeneratorMode.VERIFY)\n                \"versions\" -> versions(options)\n                else -> {\n                    println(\"Invalid task $taskName\")\n                    return\n                }\n            }\n        }\n        println(\"Done.\")\n    } else println(\"Please specify a task.\")\n}\n\nprivate fun parseOptions(rawOptions: List<String>): MutableOptions {\n    val options = MutableOptions.create()\n    rawOptions.map { it.drop(2) }.forEach { rawOption ->\n        val split = rawOption.split('=', limit = 2)\n        if (split.size != 2) error(\"Invalid option format: $rawOption\")\n        val key = split[0]\n        val option: CliConfigurationKey<Any> =\n                CLI_CONFIGURATION_KEYS.firstOrNull { it.cliName == key }\n                        ?: error(\"Option not found: $key\")\n\n        options.setCliOption(option, split[1])\n    }\n\n    return options\n}\n\nprivate fun versions(options: Options) {\n    Artifact.parseConfiguration(options[CONFIGURATION]).artifacts.forEach(::println)\n}\n\nprivate enum class GeneratorMode {\n    GENERATE, VERIFY\n}\n\nprivate fun launchGenerator(options: Options, mode: GeneratorMode) {\n    val outputDirectory = options[OUTPUT_DIRECTORY]\n\n    val configuration = Artifact.parseConfiguration(options[CONFIGURATION])\n    for (artifact in configuration.artifacts) {\n        val outputDirectoryForArtifact = File(outputDirectory, artifact.name)\n        val fileOutputDirectory = File(outputDirectoryForArtifact, \"src/\")\n        if (!fileOutputDirectory.exists()) {\n            fileOutputDirectory.mkdirs()\n        }\n\n        val configuration = DefaultAnkoConfiguration(outputDirectoryForArtifact, artifact, options, configuration.tunes)\n        val context = GeneratorContext.create(File(\"anko/props\"), Logger.LogLevel.INFO, configuration)\n        gen(artifact, context, mode)\n    }\n}\n\nprivate fun gen(artifact: Artifact, context: GeneratorContext, mode: GeneratorMode) {\n    val classTree = ClassProcessor(artifact).genClassTree()\n    val generationState = GenerationState(classTree, context)\n    val renderer = RenderFacade(generationState)\n\n    val writer = when (mode) {\n        GeneratorMode.GENERATE -> GeneratorWriter(renderer)\n        GeneratorMode.VERIFY -> VerifyWriter(renderer)\n    }\n\n    writer.write()\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/LayoutRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.config.AnkoFile\nimport org.jetbrains.android.anko.config.ConfigurationKey\nimport org.jetbrains.android.anko.formatLayoutParamsArguments\nimport org.jetbrains.android.anko.formatLayoutParamsArgumentsInvoke\nimport org.jetbrains.android.anko.generator.GenerationState\nimport org.jetbrains.android.anko.generator.LayoutElement\nimport org.jetbrains.android.anko.generator.LayoutGenerator\nimport org.jetbrains.android.anko.parameterRawTypes\nimport org.jetbrains.android.anko.utils.*\nimport java.util.*\n\nclass LayoutRenderer(context: GeneratorContext) : Renderer(context), ViewConstructorUtils {\n    override val renderIf: Array<ConfigurationKey<Boolean>> = arrayOf(AnkoFile.LAYOUTS)\n\n    override fun processElements(state: GenerationState) = generatedFile { importList ->\n        state[LayoutGenerator::class.java].forEach { append(renderLayout(it, importList)) }\n    }\n\n    private fun renderLayout(node: LayoutElement, importList: ImportList): String {\n        val constructors = ViewConstructorUtils.AVAILABLE_VIEW_CONSTRUCTORS.map { constructor ->\n            node.layout.getConstructors().firstOrNull { Arrays.equals(it.parameterRawTypes, constructor) }\n        }\n\n        val layoutParamsClass = node.layoutParams.fqName\n\n        return render(\"layout\", importList) {\n            \"layoutName\" % \"_${node.layout.simpleName}\"\n            \"layoutConstructorArgs\" % renderConstructorArgs(node.layout, constructors, \"ctx\", argumentNames = true)\n\n            \"baseClassName\" % node.layout.fqName\n            \"baseClassConstructorArgs\" % renderConstructorArgs(node.layout, constructors, \"ctx\")\n\n            \"lparamsFunctions\" % seq(node.constructors) { item ->\n                val function = MethodNodeWithClass(node.layoutParams, item)\n                \"params\" % function.formatLayoutParamsArguments(context, importList)\n                \"substituted\" % function.formatLayoutParamsArgumentsInvoke(context)\n                \"layoutParamsClass\" % layoutParamsClass\n            }\n        }\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/ListenerRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.config.*\nimport org.jetbrains.android.anko.formatArguments\nimport org.jetbrains.android.anko.formatArgumentsNames\nimport org.jetbrains.android.anko.formatArgumentsTypes\nimport org.jetbrains.android.anko.generator.*\nimport org.jetbrains.android.anko.returnType\nimport org.jetbrains.android.anko.utils.*\nimport org.objectweb.asm.Type\n\nclass ListenerRenderer(context: GeneratorContext) : AbstractListenerRenderer(context) {\n    override val simpleListenerTemplateName = \"simple_listener\"\n    override val complexListenerTemplateName = \"complex_listener\"\n}\n\nclass CoroutineListenerRenderer(context: GeneratorContext) : AbstractListenerRenderer(context) {\n    override val simpleListenerTemplateName = \"simple_listener_coroutines\"\n    override val complexListenerTemplateName = \"complex_listener_coroutines\"\n}\n\nabstract class AbstractListenerRenderer(context: GeneratorContext) : Renderer(context) {\n    abstract val simpleListenerTemplateName: String\n    abstract val complexListenerTemplateName: String\n\n    override val renderIf: Array<ConfigurationKey<Boolean>> = arrayOf(AnkoFile.LISTENERS)\n\n    override fun processElements(state: GenerationState) = generatedFile { importList ->\n        for (listener in state[ListenerGenerator::class.java]) {\n            when (listener) {\n                is SimpleListenerElement -> append(listener.render(importList))\n                is ComplexListenerElement -> append(listener.render(importList))\n                else -> throw RuntimeException(\"Invalid listener type: ${listener.javaClass.name}\")\n            }\n        }\n    }\n\n    private fun SimpleListenerElement.render(importList: ImportList) = render(simpleListenerTemplateName, importList) {\n        \"receiver\" % setter.clazz.fqNameWithTypeArguments\n        \"name\" % method.name\n        \"args\" % method.methodWithClass.formatArguments(context)\n        \"argNames\" % method.methodWithClass.formatArgumentsNames(context)\n        \"hasArgs\" % Type.getType(method.methodWithClass.method.desc).argumentTypes.isNotEmpty()\n        \"returnType\" % method.returnType.asString()\n        \"returnDefaultValue\" % method.returnType.getDefaultValue(onlyPrimitive = true)\n        \"setter\" % setter.method.name\n    }\n\n    private fun ComplexListenerElement.render(importList: ImportList): String {\n        return render(complexListenerTemplateName, importList) {\n            \"helperClassName\" % getHelperClassName(this@render)\n            \"listenerClassName\" % clazz.fqName\n            \"superConstructorCall\" % (if (clazz.getConstructors().isNotEmpty()) \"()\" else \"\")\n\n            \"setter\" % mapOf(\n                \"receiver\" to setter.clazz.fqNameWithTypeArguments,\n                \"methodName\" to name,\n                \"listener\" to getHelperClassName(this@render),\n                \"setter\" to setter.method.name\n            )\n\n            \"methods\" % seq(methods) { method ->\n                val methodWithClass = method.methodWithClass\n\n                \"methodName\" % method.name\n                \"args\" % methodWithClass.formatArguments(context)\n                \"hasArgs\" % Type.getType(method.methodWithClass.method.desc).argumentTypes.isNotEmpty()\n                \"argNames\" % methodWithClass.formatArgumentsNames(context)\n                \"argTypes\" % methodWithClass.formatArgumentsTypes(context)\n                \"returnDefaultValue\" % methodWithClass.method.returnType.getDefaultValue(onlyPrimitive = true)\n                \"varName\" % method.name.decapitalize()\n                \"returnType\" % method.returnType.asString()\n                \"possiblyNullableReturnType\" % method.returnType.asString(isNullable = true)\n            }\n        }\n    }\n\n    // Get a name for helper class. Listener interfaces are often inner so we'll separate the base class name with \"_\"\n    // For example, for class android.widget.SearchView.OnSuggestionListener it would be SearchView_OnSuggestionListener\n    fun getHelperClassName(listener: ComplexListenerElement): String {\n        val internalName = listener.clazz.name\n        val nestedClassName = internalName.substringAfter('$', \"\")\n        val topLevelClassName = internalName.substringBefore('$').substringAfterLast('/')\n\n        return \"__$topLevelClassName\" + (if (nestedClassName.isNotEmpty()) \"_$nestedClassName\" else \"\")\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/PropertyRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.*\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.config.AnkoFile\nimport org.jetbrains.android.anko.config.ConfigurationKey\nimport org.jetbrains.android.anko.generator.GenerationState\nimport org.jetbrains.android.anko.generator.PropertyElement\nimport org.jetbrains.android.anko.generator.PropertyGenerator\nimport org.jetbrains.android.anko.utils.*\n\nclass PropertyRenderer(context: GeneratorContext) : Renderer(context) {\n    override val renderIf: Array<ConfigurationKey<Boolean>> = arrayOf(AnkoFile.PROPERTIES)\n\n    override fun processElements(state: GenerationState) = generatedFile { importList ->\n        state[PropertyGenerator::class.java].forEach {\n            append(renderProperty(it, importList))\n        }\n    }\n\n    private fun renderProperty(property: PropertyElement, importList: ImportList): String {\n        val getter = property.getter\n        val className = (getter ?: property.setters.first()).clazz.fqNameWithTypeArguments\n        val fullPropertyName = \"$className.${property.name}\"\n        val bestSetter = property.setters.firstOrNull()\n        val mutability = if (bestSetter != null) \"var\" else \"val\"\n\n        val returnType = getter?.toKMethod(context)?.returnType\n                ?: bestSetter?.toKMethod(context)?.parameters?.firstOrNull()?.type\n                ?: KType.ANY_TYPE\n\n        val otherSetters = if (property.setters.size > 1) property.setters.drop(1) else emptyList()\n\n        if (property.getter != null) {\n            return buffer {\n                renderResourceProperty(otherSetters, fullPropertyName, returnType, importList)\n            }.toString()\n        }\n\n        return buffer {\n            line(\"$mutability $fullPropertyName: $returnType\")\n            if (getter != null) {\n                indent.line(\"get() = ${getter.method.name}()\")\n            } else {\n                renderNoGetter(importList)\n            }\n            if (bestSetter != null) indent.line(\"set(v) = ${bestSetter.method.name}(v)\")\n            nl()\n        }.toString()\n    }\n\n    private fun Buffer.renderNoGetter(importList: ImportList) {\n        val NO_GETTER = importList[\"org.jetbrains.anko.internals.AnkoInternals.NO_GETTER\"]\n        val noGetter = importList[\"org.jetbrains.anko.internals.AnkoInternals.noGetter\"]\n        val ERROR = importList[\"kotlin.DeprecationLevel.ERROR\"]\n        indent.line(\"@Deprecated($NO_GETTER, level = $ERROR) get() = $noGetter()\")\n    }\n\n    private fun Buffer.renderResourceProperty(\n            otherSetters: List<MethodNodeWithClass>,\n            fullPropertyName: String,\n            returnType: KType,\n            importList: ImportList\n    ) {\n        if (otherSetters.isNotEmpty() && supportsResourceSetter(returnType)) {\n            val resourceSetter = otherSetters.firstOrNull { it.method.parameterRawTypes.unique?.className == \"int\" }\n\n            if (resourceSetter != null) {\n                line(\"var ${fullPropertyName}Resource: Int\")\n                renderNoGetter(importList)\n                indent.line(\"set(v) = ${resourceSetter.method.name}(v)\")\n                nl()\n            }\n        }\n    }\n\n    private fun supportsResourceSetter(type: KType): Boolean {\n        return type.className == \"CharSequence\" || type.fqName == \"android.graphics.drawable.Drawable\"\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/RenderFacade.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.config.ConfigurationKey\nimport org.jetbrains.android.anko.config.WithGeneratorContext\nimport org.jetbrains.android.anko.config.get\nimport org.jetbrains.android.anko.generator.GenerationState\nimport org.jetbrains.android.anko.templates.TemplateContext\nimport org.jetbrains.android.anko.utils.ImportList\nimport org.jetbrains.android.anko.utils.ReflectionUtils\n\nabstract class Renderer(override val context: GeneratorContext): WithGeneratorContext {\n    protected abstract fun processElements(state: GenerationState): GeneratedFile\n\n    abstract val renderIf: Array<ConfigurationKey<Boolean>>\n\n    fun process(state: GenerationState): String = generate(*renderIf) {\n        val generatedFile = processElements(state)\n        buildString {\n            if (!generatedFile.importList.isEmpty()) {\n                generatedFile.importList.imports.joinTo(this, \"\\n\") { \"import $it\" }\n                appendln().appendln()\n            }\n\n            append(generatedFile.body)\n        }\n    }\n\n    private fun generate(vararg option: ConfigurationKey<Boolean>, init: () -> String) : String {\n        return if (option.any { config[it] }) init() else \"\"\n    }\n\n    protected fun render(\n            templateName: String,\n            importList: ImportList = ImportList(),\n            body: TemplateContext.() -> Unit\n    ): String {\n        return templateManager.render(templateName, importList, body)\n    }\n}\n\nfun generatedFile(vararg fileAnnotations: String, builder: StringBuilder.(ImportList) -> Unit): GeneratedFile {\n    val sb = StringBuilder()\n    val importList = ImportList()\n    sb.builder(importList)\n    return GeneratedFile(sb.toString(), importList, fileAnnotations.toList())\n}\n\nclass GeneratedFile(val body: String, val importList: ImportList, val fileAnnotations: List<String>)\n\nclass RenderFacade(\n        val generationState: GenerationState\n) : ViewConstructorUtils, ReflectionUtils {\n    private val cachedResults: MutableMap<Class<out Renderer>, String> = hashMapOf()\n\n    operator fun get(clazz: Class<out Renderer>): String = cachedResults.getOrPut(clazz) {\n        initializeClassWithArgs(clazz, generationState.context to GeneratorContext::class.java).process(generationState)\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/ServiceRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.config.AnkoFile\nimport org.jetbrains.android.anko.config.ConfigurationKey\nimport org.jetbrains.android.anko.generator.GenerationState\nimport org.jetbrains.android.anko.generator.ServiceGenerator\n\nclass ServiceRenderer(context: GeneratorContext) : Renderer(context) {\n\n    override val renderIf: Array<ConfigurationKey<Boolean>> = arrayOf(AnkoFile.SERVICES)\n\n    override fun processElements(state: GenerationState) = generatedFile(\"Suppress(\\\"unused\\\")\") { importList ->\n        append(render(\"services\", importList) {\n            \"services\" % state[ServiceGenerator::class.java]\n        })\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/SqlParserHelperRenderer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.config.AnkoFile\nimport org.jetbrains.android.anko.config.ConfigurationKey\nimport org.jetbrains.android.anko.generator.GenerationState\n\nclass SqlParserHelperRenderer(context: GeneratorContext) : Renderer(context) {\n    override val renderIf: Array<ConfigurationKey<Boolean>> = arrayOf(AnkoFile.SQL_PARSER_HELPERS)\n\n    override fun processElements(state: GenerationState) = generatedFile { importList ->\n        append(render(\"sql_parser_helpers\") {\n            \"count\" % 22\n        })\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/viewConstructorUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.utils.fqName\nimport org.objectweb.asm.Type\nimport org.objectweb.asm.tree.ClassNode\nimport org.objectweb.asm.tree.MethodNode\n\ninterface ViewConstructorUtils {\n    companion object {\n        private val CONSTRUCTOR1 = arrayOf(Type.getObjectType(\"android/content/Context\"))\n        private val CONSTRUCTOR2 = arrayOf(Type.getObjectType(\"android/content/Context\"), Type.getObjectType(\"android/util/AttributeSet\"))\n        val AVAILABLE_VIEW_CONSTRUCTORS: List<Array<Type>> = listOf(CONSTRUCTOR1, CONSTRUCTOR2)\n    }\n\n    fun renderConstructorArgs(\n            view: ClassNode,\n            constructors: List<MethodNode?>,\n            ctxName: String,\n            argumentNames: Boolean = false\n    ): String {\n        if (constructors.size != AVAILABLE_VIEW_CONSTRUCTORS.size) throw IllegalArgumentException(\"Invalid constructors list\")\n\n        return if (argumentNames) {\n            when {\n                constructors[0] != null -> \"$ctxName: Context\"\n                constructors[1] != null -> \"$ctxName: Context, attrs: AttributeSet?\"\n                else -> throw IllegalArgumentException(\"No available constructors for ${view.fqName}.\")\n            }\n        } else {\n            when {\n                constructors[0] != null -> ctxName\n                constructors[1] != null -> \"$ctxName, null\"\n                else -> throw IllegalArgumentException(\"No available constructors for ${view.fqName}.\")\n            }\n        }\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/render/viewRenderers.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.render\n\nimport org.jetbrains.android.anko.config.*\nimport org.jetbrains.android.anko.generator.GenerationState\nimport org.jetbrains.android.anko.generator.ViewElement\nimport org.jetbrains.android.anko.generator.ViewGenerator\nimport org.jetbrains.android.anko.generator.ViewGroupGenerator\nimport org.jetbrains.android.anko.parameterRawTypes\nimport org.jetbrains.android.anko.utils.*\nimport org.objectweb.asm.tree.ClassNode\nimport org.objectweb.asm.tree.MethodNode\nimport java.util.*\n\ninternal class ViewRenderer(context: GeneratorContext) : AbstractViewRenderer(context) {\n    override fun processElements(state: GenerationState) = generatedFile {\n        renderViews(state[ViewGenerator::class.java]) { it.fqName }\n    }\n}\n\ninternal class ViewGroupRenderer(context: GeneratorContext) : AbstractViewRenderer(context) {\n    override fun processElements(state: GenerationState) = generatedFile {\n        renderViews(state[ViewGroupGenerator::class.java]) { \"_\" + it.simpleName }\n    }\n}\n\nclass ViewFactoryClass(val config: AnkoConfiguration, suffix: String) {\n    private val name = config.artifact.name.toCamelCase('-').capitalize()\n\n    val entries = arrayListOf<String>()\n    val fullName = \"`${'$'}${'$'}Anko${'$'}Factories${'$'}$name$suffix`\"\n\n    fun render(): String {\n        if (entries.isEmpty()) return \"\"\n\n        return StringBuilder().apply {\n            appendln(\"@PublishedApi\")\n            appendln(\"internal object $fullName {\")\n            entries.forEach { append(config.indent).appendln(it) }\n            appendln(\"}\").appendln()\n        }.toString()\n    }\n}\n\ninternal abstract class AbstractViewRenderer(\n        context: GeneratorContext\n) : Renderer(context), ViewConstructorUtils {\n\n    override val renderIf: Array<ConfigurationKey<Boolean>> = arrayOf(AnkoFile.VIEWS)\n\n    protected fun StringBuilder.renderViews(views: Iterable<ViewElement>, nameResolver: (ClassNode) -> String) {\n        val renderViews = config[AnkoFile.VIEWS]\n        val renderHelperConstructors = true\n\n        val factoryClass = ViewFactoryClass(config, this@AbstractViewRenderer.javaClass.simpleName.replace(\"Renderer\", \"\"))\n        val functions = StringBuilder().apply {\n            for (view in views.filter { !it.clazz.isAbstract }) {\n                if (renderViews) renderView(view.clazz, view.isContainer, nameResolver(view.clazz), factoryClass)\n\n                if (renderHelperConstructors) {\n                    if (Props.helperConstructors.contains(view.fqName)) {\n                        append(renderHelperConstructors(view, factoryClass))\n                    } else if (view.clazz.isTinted()) {\n                        val (className21, _) = handleTintedView(view.clazz, nameResolver(view.clazz))\n                        if (Props.helperConstructors.contains(\"android.widget.$className21\")) {\n                            append(renderHelperConstructors(view, factoryClass))\n                        }\n                    }\n                }\n            }\n        }.toString()\n\n        append(factoryClass.render())\n        append(functions)\n    }\n\n    private fun StringBuilder.renderView(\n            view: ClassNode,\n            isContainer: Boolean,\n            className: String,\n            factoryClass: ViewFactoryClass\n    ) {\n        val constructors = ViewConstructorUtils.AVAILABLE_VIEW_CONSTRUCTORS.map { constructor ->\n            view.getConstructors().firstOrNull { Arrays.equals(it.parameterRawTypes, constructor) }\n        }\n\n        val (className21, functionName) = handleTintedView(view, className)\n        val tinted = className21 != null\n\n        val factoryPropertyName = functionName.capitalize().toUPPER_CASE()\n        with (factoryClass.entries) {\n            val constructorArgs = renderConstructorArgs(view, constructors, \"ctx\")\n            val constructorCall = if (tinted)\n                \"if (Build.VERSION.SDK_INT < 21) $className($constructorArgs) else $className21($constructorArgs)\"\n            else\n                \"$className($constructorArgs)\"\n            add(\"val $factoryPropertyName = { ctx: Context -> $constructorCall }\")\n        }\n\n        fun renderView(receiver: String) = render(\"view\") {\n            \"receiver\" % receiver\n            \"functionName\" % functionName\n            \"themedFunctionName\" % (\"themed\" + functionName.capitalize())\n            \"className\" % className\n            \"lambdaArgType\" % if (tinted) className21 else className\n            \"returnType\" % if (tinted) className21 else view.fqName\n            \"additionalParams\" % \"\"\n            \"factory\" % (factoryClass.fullName + \".$factoryPropertyName\")\n        }\n\n        append(renderView(\"ViewManager\"))\n        if (isContainer) {\n            append(renderView(\"Context\"))\n            append(renderView(\"Activity\"))\n        }\n    }\n\n    private fun renderHelperConstructors(view: ViewElement, factoryClass: ViewFactoryClass) = StringBuilder().apply {\n        val className = view.fqName\n\n        val (className21, functionName) = handleTintedView(view.clazz, className)\n        val tinted = className21 != null\n        val lambdaArgType = if (tinted) className21 else className\n\n        val helperConstructors = Props.helperConstructors[if (tinted) \"android.widget.$className21\" else view.fqName] ?:\n                throw RuntimeException(\"Helper constructors not found for $className\")\n        val factory = factoryClass.fullName + \".\" + functionName.capitalize().toUPPER_CASE()\n\n        for (constructor in helperConstructors) {\n            val collected = constructor.zip(collectProperties(view, constructor))\n            val helperArguments = collected.map {\n                val argumentType = it.second.parameterRawTypes[0].asString()\n                \"${it.first.name}: $argumentType\"\n            }.joinToString(\", \")\n            val setters = collected.map { \"${it.second.name}(${it.first.name})\" }\n\n            fun add(extendFor: String) = buffer {\n                val returnType = if (tinted) className21 else className\n\n                line(\"inline fun $extendFor.$functionName($helperArguments): $returnType {\")\n                line(\"return ankoView($factory, theme = 0) {\")\n                lines(setters)\n                line(\"}\")\n                line(\"}\")\n\n                line(\"inline fun $extendFor.$functionName($helperArguments, init: (@AnkoViewDslMarker $lambdaArgType).() -> Unit): $returnType {\")\n                line(\"return ankoView($factory, theme = 0) {\")\n                line(\"init()\")\n                lines(setters)\n                line(\"}\")\n                line(\"}\")\n\n                line(\"inline fun $extendFor.themed${functionName.capitalize()}($helperArguments, theme: Int): $returnType {\")\n                line(\"return ankoView($factory, theme) {\")\n                lines(setters)\n                line(\"}\")\n                line(\"}\")\n\n                line(\"inline fun $extendFor.themed${functionName.capitalize()}($helperArguments, theme: Int, init: (@AnkoViewDslMarker $lambdaArgType).() -> Unit): $returnType {\")\n                line(\"return ankoView($factory, theme) {\")\n                line(\"init()\")\n                lines(setters)\n                line(\"}\")\n                line(\"}\")\n                nl()\n            }.toString()\n\n            append(add(\"ViewManager\"))\n        }\n    }.toString()\n\n    private fun collectProperties(view: ViewElement, properties: List<Variable>): List<MethodNode> {\n        return properties.map { property ->\n            val methodName = \"set\" + property.name.capitalize()\n            val methods = view.allMethods.filter {\n                it.name == methodName && it.parameterRawTypes.unique?.fqName?.endsWith(property.type) ?: false\n            }.distinctBy { Pair(it.name, it.desc) }\n\n            when (methods.size) {\n                0 -> throw RuntimeException(\"Can't find a method $methodName for helper constructor ${view.fqName}($properties)\")\n                1 -> {}\n                else -> throw RuntimeException(\"There are several methods $methodName for helper constructor ${view.fqName}($properties)\")\n            }\n\n            methods[0]\n        }\n    }\n\n    private fun handleTintedView(view: ClassNode, className: String): Pair<String?, String> {\n        val tinted = view.isTinted()\n        val className21 = if (tinted) className.substring(APP_COMPAT_VIEW_PREFIX.length) else null\n        val functionName = if (tinted) \"tinted$className21\" else view.simpleName.decapitalize()\n        return className21 to functionName\n    }\n\n    private fun ClassNode.isTinted() = fqName.startsWith(APP_COMPAT_VIEW_PREFIX)\n\n    private companion object {\n        val APP_COMPAT_VIEW_PREFIX = \"android.support.v7.widget.AppCompat\"\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/sources/SourceManager.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.sources\n\nimport com.github.javaparser.ast.Node\nimport com.github.javaparser.ast.body.MethodDeclaration\nimport com.github.javaparser.ast.body.TypeDeclaration\nimport com.github.javaparser.ast.visitor.VoidVisitorAdapter\nimport org.jetbrains.android.anko.utils.getJavaClassName\n\nclass SourceManager(private val provider: SourceProvider) {\n\n    fun getParameterNames(classFqName: String, methodName: String, argumentJavaTypes: List<String>): List<String>? {\n        val parsed = provider.parse(classFqName) ?: return null\n        val className = getJavaClassName(classFqName)\n\n        val argumentNames = arrayListOf<String>()\n        var done = false\n\n        object : VoidVisitorAdapter<Any>() {\n            override fun visit(method: MethodDeclaration, arg: Any?) {\n                if (done) return\n                if (methodName != method.nameAsString || argumentJavaTypes.size != method.parameters.size) return\n                if (method.getParentClassName() != className) return\n\n                val parameters = method.parameters\n                for ((argumentFqType, param) in argumentJavaTypes.zip(parameters)) {\n                    if (argumentFqType.substringAfterLast('.') != param.type.toString()) return\n                }\n\n                parameters.forEach { argumentNames.add(it.nameAsString) }\n                done = true\n            }\n        }.visit(parsed, null)\n\n        return if (done) argumentNames else null\n    }\n\n    private fun Node.getParentClassName(): String {\n        val parent = parentNode.orElse(null)\n        return if (parent is TypeDeclaration<*>) {\n            val outerName = parent.getParentClassName()\n            if (outerName.isNotEmpty()) \"$outerName.${parent.name}\" else parent.nameAsString\n        } else \"\"\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/sources/sourceProviders.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.sources\n\nimport com.github.javaparser.JavaParser\nimport com.github.javaparser.ast.CompilationUnit\nimport org.jetbrains.android.anko.utils.getPackageName\nimport java.io.File\n\ninterface SourceProvider {\n    fun parse(fqName: String): CompilationUnit?\n}\n\nclass AndroidHomeSourceProvider(androidSdkLocation: File, version: Int) : SourceProvider {\n    private val baseDir = File(androidSdkLocation, \"sources/android-$version\")\n\n    init {\n        if (!baseDir.exists()) throw IllegalStateException(\"${baseDir.absolutePath} does not exist\")\n    }\n\n    override fun parse(fqName: String): CompilationUnit? {\n        val packageName = getPackageName(fqName)\n        val packageDir = File(baseDir, packageName.replace('.', '/'))\n        if (!packageDir.exists()) return null\n\n        val filename = fqName.substring(packageName.length + 1).substringBefore('.') + \".java\"\n        val file = File(packageDir, filename)\n        if (!file.exists()) return null\n\n        return JavaParser.parse(file)\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/templates/JtwigTemplateProvider.kt",
    "content": "package org.jetbrains.android.anko.templates\n\nimport org.jetbrains.android.anko.utils.ImportList\nimport org.jtwig.JtwigModel\nimport org.jtwig.JtwigTemplate\nimport org.jtwig.environment.EnvironmentConfigurationBuilder\nimport org.jtwig.functions.FunctionRequest\nimport org.jtwig.functions.SimpleJtwigFunction\nimport org.jtwig.spaceless.SpacelessExtension\nimport org.jtwig.spaceless.configuration.DefaultSpacelessConfiguration\nimport java.io.File\nimport java.math.BigDecimal\n\nclass JtwigTemplateProvider : TemplateProvider {\n    override val extension = \"twig\"\n\n    override fun render(templateFile: File, importList: ImportList, args: Map<String, Any?>): String {\n        val model = JtwigModel.newModel(args)\n        return getTemplate(templateFile, importList).render(model)\n    }\n\n    private fun getTemplate(templateFile: File, importList: ImportList): JtwigTemplate {\n        val configuration = EnvironmentConfigurationBuilder.configuration()\n        configuration.extensions().add(SpacelessExtension(DefaultSpacelessConfiguration()))\n        configuration.functions().add(object : SimpleJtwigFunction() {\n            override fun name() = \"range\"\n\n            override fun execute(request: FunctionRequest): Any {\n                request.minimumNumberOfArguments(2).maximumNumberOfArguments(2)\n\n                val min = parseInt(request.arguments[0])\n                val max = parseInt(request.arguments[1])\n\n                return min..max\n            }\n\n            private fun parseInt(o: Any) = when (o) {\n                is BigDecimal -> o.toInt()\n                is Int -> o\n                else -> throw IllegalArgumentException(\n                        \"Illegal argument type: ${o.javaClass.canonicalName}, expected Integer or BigDecimal\")\n            }\n        })\n\n        configuration.functions().add(object : SimpleJtwigFunction() {\n            override fun name() = \"imported\"\n\n            override fun execute(request: FunctionRequest): Any {\n                request.minimumNumberOfArguments(1).maximumNumberOfArguments(1)\n                return importList[request.arguments[0].toString()]\n            }\n        })\n\n        return JtwigTemplate.fileTemplate(templateFile, configuration.build())\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/templates/MustacheTemplateProvider.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.templates\n\nimport com.samskivert.mustache.Mustache\nimport com.samskivert.mustache.Template\nimport org.jetbrains.android.anko.utils.ImportList\nimport java.io.File\n\nclass MustacheTemplateProvider : TemplateProvider {\n    override val extension = \"mustache\"\n\n    private val templateCache = hashMapOf<File, Template>()\n\n    override fun render(templateFile: File, importList: ImportList, args: Map<String, Any?>): String {\n        return getTemplate(templateFile).execute(args)\n    }\n\n    private fun getTemplate(templateFile: File) = templateCache.getOrPut(templateFile) {\n        val templateText = templateFile.readText()\n        Mustache.compiler().escapeHTML(false).emptyStringIsFalse(true).compile(templateText)\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/templates/TemplateManager.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.templates\n\nimport org.jetbrains.android.anko.utils.ImportList\nimport java.io.File\n\ninterface TemplateProvider {\n    val extension: String\n    fun render(templateFile: File, importList: ImportList, args: Map<String, Any?>): String\n}\n\nclass TemplateManager(val baseDir: File, vararg val templateProviders: TemplateProvider) {\n    fun render(templateName: String, importList: ImportList, body: TemplateContext.() -> Unit): String {\n        val context = TemplateContext()\n        context.body()\n\n        for (provider in templateProviders) {\n            val templateFile = File(baseDir, \"$templateName.${provider.extension}\")\n            if (templateFile.exists()) {\n                return provider.render(templateFile, importList, context.getArguments())\n            }\n        }\n\n        error(\"TemplateProvider was not found for $templateName\")\n    }\n}\n\nclass TemplateContext {\n    private val args: MutableMap<String, Any?> = hashMapOf()\n\n    fun getArguments(): Map<String, Any?> = args\n\n    operator fun <T: Any?> String.rem(v: T): T {\n        args.put(this, v)\n        return v\n    }\n\n    operator fun String.rem(v: TemplateContext.() -> Unit) {\n        val innerContext = TemplateContext()\n        innerContext.v()\n        args.put(this, innerContext.getArguments())\n    }\n\n    fun <T> seq(items: Iterable<T>, v: TemplateContext.(item: T) -> Unit): List<Map<String, Any?>> {\n        return items.map {\n            val itemContext = TemplateContext()\n            itemContext.v(it)\n            itemContext.getArguments()\n        }\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/Buffer.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nimport org.jetbrains.android.anko.config.WithGeneratorContext\n\ninternal fun WithGeneratorContext.buffer(init: Buffer.() -> Unit) = Buffer(config.indent, 0, init)\n\nclass Buffer(private val indentString: String, indent: Int = 0, init: Buffer.() -> Unit) {\n\n    private val builder = StringBuilder()\n    private var mainIndent = indent\n    private var tempIndent = 0\n\n    init { init() }\n\n    fun line(s: String): Buffer {\n        if (mainIndent > 0 && s.startsWith('}')) mainIndent -= 1\n\n        if (s.isNotEmpty()) {\n            builder.append(indentString.repeat(mainIndent + tempIndent)).append(s.trim()).appendln()\n        } else {\n            builder.appendln()\n        }\n\n        if (tempIndent > 0) tempIndent -= 1\n\n        if (s.endsWith('{')) {\n            mainIndent += 1\n        } else if (s.endsWith('=')) {\n            tempIndent += 1\n        }\n\n        return this\n    }\n\n    fun nl(): Buffer = line(\"\")\n\n    val indent: Buffer\n        get() {\n            tempIndent += 1\n            return this\n        }\n\n    fun lines(lines: List<String>): Buffer {\n        for (line in lines) {\n            line(line)\n        }\n        return this\n    }\n\n    val size: Int\n        get() = builder.length\n\n    override fun toString() = builder.toString()\n\n    fun getLines() = toString().split('\\n').toList()\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/ClassInfo.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nimport org.jetbrains.android.anko.isConstructor\nimport org.objectweb.asm.Opcodes\nimport org.objectweb.asm.tree.ClassNode\nimport org.objectweb.asm.tree.MethodNode\n\ndata class MethodNodeWithClass(var clazz: ClassNode, val method: MethodNode) {\n    val identifier = \"${clazz.fqName}#${method.name}\"\n}\n\ninternal val ClassNode.fqName: String\n    get() = name.replace('/', '.').replace('$', '.')\n\ninternal val ClassNode.packageName: String\n    get() = fqName.substringBeforeLast('.')\n\ninternal val ClassNode.fqNameWithTypeArguments: String\n    get() = fqName + buildTypeParams()\n\ninternal val ClassNode.simpleName: String\n    get() {\n        val name = fqName\n        return if (name.indexOf('$') >= 0) name.substringAfterLast('$') else name.substringAfterLast('.')\n    }\n\ninternal fun ClassNode.buildTypeParams(): String {\n    return if (signature != null) {\n        val genericMethodSignature = parseGenericMethodSignature(signature)\n        if (genericMethodSignature.typeParameters.isEmpty()) return \"\"\n\n        genericMethodSignature.typeParameters\n                .map { it.upperBounds.fold(\"\") { s, bound -> s + \"out \" + genericTypeToKType(bound) } }\n                .joinToString(prefix = \"<\", postfix = \">\")\n    } else \"\"\n}\n\nval ClassNode.isInner: Boolean\n    get() = name.contains(\"$\")\n\ninternal val ClassNode.isPublic: Boolean\n    get() = ((access and Opcodes.ACC_PUBLIC) != 0)\n\ninternal val ClassNode.isInterface: Boolean\n    get() = ((access and Opcodes.ACC_INTERFACE) != 0)\n\ninternal val ClassNode.isAbstract: Boolean\n    get() = ((access and Opcodes.ACC_ABSTRACT) != 0)\n\ninternal fun ClassNode.getConstructors(): List<MethodNode> {\n    return (methods as List<MethodNode>).filter { it.isConstructor }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/ClassTree.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nimport org.objectweb.asm.tree.ClassNode\nimport java.util.*\n\ninternal class NoSuchClassException : Exception()\n\nclass ClassTreeNode(var parent: ClassTreeNode?, val data: ClassNode, val fromPlatformJar: Boolean) {\n    var children: MutableList<ClassTreeNode> = ArrayList()\n}\n\nclass ClassTree : Iterable<ClassNode>{\n    private val root = ClassTreeNode(null, ClassNode(), true)\n\n    override fun iterator(): ClassTreeIterator {\n        return ClassTreeIterator(root)\n    }\n\n    fun add(clazz: ClassNode, fromMainJar: Boolean) {\n        val parent = findNode(root, clazz.superName)\n        val orphans = getOrphansOf(clazz.name)\n\n        val newNode: ClassTreeNode\n        if (parent != null) {\n            newNode = ClassTreeNode(parent, clazz, fromMainJar)\n            parent.children.add(newNode)\n        } else {\n            newNode = ClassTreeNode(root, clazz, fromMainJar)\n            root.children.add(newNode)\n        }\n\n        newNode.children.addAll(orphans)\n        orphans.forEach { it.parent = newNode }\n    }\n\n    fun isChildOf(clazz: ClassNode, ancestorName: String): Boolean {\n        val treeNode = findNode(root, clazz) ?: throw NoSuchClassException()\n        return treeNode.parent?.data?.name == ancestorName\n    }\n\n    fun isSuccessorOf(clazz: ClassNode, ancestorName: String): Boolean {\n        val parent = findNode(ancestorName) ?: throw NoSuchClassException()\n\n        val child = findNode(parent, clazz.name)\n        return child != null && child != parent\n    }\n\n    private fun getOrphansOf(parentClassName: String): List<ClassTreeNode> {\n        val res = root.children.partition { it.data.superName == parentClassName }\n        root.children = res.second as MutableList<ClassTreeNode>\n        return res.first\n    }\n\n    private fun findNode(node: ClassTreeNode, name: String?): ClassTreeNode? {\n        for (child in node.children) {\n            if (child.data.name == name) {\n                return child\n            } else {\n                val ret = findNode(child, name)\n                if (ret != null) return ret\n            }\n        }\n        return null\n    }\n\n    private fun findNode(node: ClassTreeNode, parentPackage: String, className: String): ClassTreeNode? {\n        for (child in node.children) {\n            val childName = child.data.name\n            if (childName.startsWith(parentPackage) && childName.endsWith(className)) {\n                return child\n            } else {\n                val ret = findNode(child, parentPackage, className)\n                if (ret != null) return ret\n            }\n        }\n        return null\n    }\n\n    fun findNode(parentPackage: String, className: String): ClassTreeNode? {\n        return findNode(root, \"$parentPackage/\", \"/$className\")\n    }\n\n    fun findNode(name: String): ClassTreeNode? {\n        return findNode(root, name)\n    }\n\n    fun findNode(clazz: ClassNode): ClassTreeNode? {\n        return findNode(root, clazz.name)\n    }\n\n    private fun findNode(node: ClassTreeNode, clazz: ClassNode): ClassTreeNode? {\n        return findNode(node, clazz.name)\n    }\n}\n\nclass ClassTreeIterator(next: ClassTreeNode) : Iterator<ClassNode> {\n\n    var nodeQueue: Queue<ClassTreeNode> = ArrayDeque(next.children)\n\n    override fun next(): ClassNode {\n        val node: ClassTreeNode = nodeQueue.element()\n        nodeQueue.remove()\n        nodeQueue.addAll(node.children)\n        return node.data\n    }\n\n    override fun hasNext(): Boolean {\n        return !nodeQueue.isEmpty()\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/ClassTreeUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nimport org.objectweb.asm.tree.ClassNode\nimport org.objectweb.asm.tree.MethodNode\n\ninternal interface ClassTreeUtils {\n\n    val classTree: ClassTree\n\n    fun isExcluded(node: ClassNode): Boolean\n    fun isExcluded(node: MethodNodeWithClass): Boolean\n\n    fun findAvailableMethods(availableClasses: List<ClassNode>): List<MethodNodeWithClass> {\n        return availableClasses.flatMap { classNode ->\n            classNode.methods\n                    ?.map { MethodNodeWithClass(classNode, it) }\n                    ?.filter { !isExcluded(it) }\n                    ?: emptyList()\n        }\n    }\n\n    val ClassNode.isView: Boolean\n        get() {\n            val isSuccessor = classTree.isSuccessorOf(this, \"android/view/View\") || this.name == \"android/view/View\"\n            return isSuccessor && !isInner\n        }\n\n    val ClassNode.isLayoutParams: Boolean\n        get() {\n            return isInner && (classTree.isSuccessorOf(this, \"android/view/ViewGroup\\$LayoutParams\") || this.name == \"android/view/ViewGroup\\$LayoutParams\")\n        }\n\n    val ClassNode.isViewGroup: Boolean\n        get() {\n            return !isInner && (classTree.isSuccessorOf(this, \"android/view/ViewGroup\") || this.name == \"android/view/ViewGroup\")\n        }\n\n    fun ClassNode.resolveAllMethods(): List<MethodNode> {\n        val node = classTree.findNode(this)\n\n        fun allMethodsTo(node: ClassTreeNode?, list: MutableList<MethodNode>) {\n            if (node == null) return\n            list.addAll(node.data.methods)\n            allMethodsTo(node.parent, list)\n        }\n\n        val list = arrayListOf<MethodNode>()\n        allMethodsTo(node, list)\n        return list\n    }\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/ImportList.kt",
    "content": "package org.jetbrains.android.anko.utils\n\nclass ImportList {\n    private val myImports = mutableListOf<String>()\n    private val myClassNames = mutableListOf<String>()\n\n    val imports: List<String>\n        get() = myImports\n\n    fun isEmpty() = myImports.isEmpty()\n\n    fun hasImport(fqName: String) = fqName in myImports\n\n    operator fun get(fqName: String): String {\n        val (packageName, className) = fqName.substringBeforeLast(\"?\").toPackageClassName()\n        val nameToImport = getNameToImport(packageName, className)\n\n        if (packageName.isEmpty() || hasImport(nameToImport)) return className\n\n        // Already has another import with the same simple name, should use fqname\n        if (className in myClassNames) return fqName\n\n        add(nameToImport, className)\n        return className\n    }\n\n    operator fun get(type: KType): KType {\n        val newName = get(type.fqName)\n        val newArgs = type.arguments.map { get(it) }\n        return KType(newName, type.isNullable, type.variance, newArgs)\n    }\n\n    private fun add(nameToImport: String, className: String) {\n        myImports += nameToImport\n        myClassNames += className\n    }\n\n    private fun getNameToImport(packageName: String, className: String): String {\n        return packageName + '.' + className.substringBefore('.')\n    }\n\n    private fun String.toPackageClassName(): Pair<String, String> {\n        if ('.' !in this) return Pair(\"\", this)\n\n        val path = split('.')\n        val packageName = StringBuilder()\n        val simpleName = StringBuilder()\n\n        fun StringBuilder.appendPath(s: String) {\n            if (length > 0) {\n                append('.')\n            }\n            append(s)\n        }\n\n        path.forEachIndexed { index, s ->\n            if (index < path.lastIndex && s.all(Char::isPackageSymbol)) {\n                packageName.appendPath(s)\n            } else {\n                simpleName.appendPath(s)\n            }\n        }\n\n        return Pair(packageName.toString(), simpleName.toString())\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/KMethod.kt",
    "content": "package org.jetbrains.android.anko.utils\n\nclass KMethod(val name: String, val parameters: List<KVariable>, val returnType: KType)"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/KType.kt",
    "content": "package org.jetbrains.android.anko.utils\n\ndata class KType(\n        val fqName: String,\n        val isNullable: Boolean = false,\n        val variance: Variance = KType.Variance.INVARIANT,\n        val arguments: List<KType> = emptyList()\n) {\n    init {\n        assert(!fqName.endsWith(\"?\"))\n    }\n\n    companion object {\n        val STAR_TYPE = KType(\"*\", isNullable = false)\n        val ANY_TYPE = KType(\"Any\")\n    }\n\n    enum class Variance {\n        INVARIANT, COVARIANT, CONTRAVARIANT\n    }\n\n    override fun toString(): String = buildString {\n        val variance = when (variance) {\n            KType.Variance.INVARIANT -> \"\"\n            KType.Variance.COVARIANT -> \"out \"\n            KType.Variance.CONTRAVARIANT -> \"in \"\n        }\n        if (variance.isNotEmpty()) {\n            append(variance)\n        }\n\n        append(fqName)\n\n        if (arguments.isNotEmpty()) {\n            append('<')\n            arguments.forEach { append(it.toString()) }\n            append('>')\n        }\n\n        if (isNullable) {\n            append('?')\n        }\n    }\n\n    val className: String\n        get() = fqName.split('.').dropWhile { it.all(Char::isPackageSymbol) }.joinToString(\".\")\n\n    val packageName: String\n        get() = fqName.split('.').takeWhile { it.all(Char::isPackageSymbol) }.joinToString(\".\")\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/KVariable.kt",
    "content": "package org.jetbrains.android.anko.utils\n\nclass KVariable(val name: String, val type: KType)"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/MethodInfo.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko\n\nimport org.jetbrains.android.anko.annotations.ExternalAnnotation.*\nimport org.jetbrains.android.anko.config.GeneratorContext\nimport org.jetbrains.android.anko.utils.*\nimport org.objectweb.asm.Opcodes\nimport org.objectweb.asm.Type\nimport org.objectweb.asm.tree.MethodNode\n\nprivate val specialLayoutParamsArguments = mapOf(\n        \"width\" to \"android.view.ViewGroup.LayoutParams.WRAP_CONTENT\",\n        \"height\" to \"android.view.ViewGroup.LayoutParams.WRAP_CONTENT\",\n        \"w\" to \"android.view.ViewGroup.LayoutParams.WRAP_CONTENT\",\n        \"h\" to \"android.view.ViewGroup.LayoutParams.WRAP_CONTENT\"\n)\n\nprivate val specialLayoutParamsNames = mapOf(\n        \"w\" to \"width\", \"h\" to \"height\"\n)\n\ninternal val MethodNode.parameterRawTypes: Array<Type>\n    get() = Type.getArgumentTypes(desc)\n\ninternal fun getParameterKTypes(node: MethodNode): List<KType> {\n    if (node.signature == null) {\n        return node.parameterRawTypes.map { KType(it.asString(false), isNullable = false) }\n    }\n\n    val parsed = parseGenericMethodSignature(node.signature)\n    return parsed.valueParameters.map { genericTypeToKType(it.genericType) }\n}\n\ninternal fun MethodNodeWithClass.toKMethod(context: GeneratorContext): KMethod {\n    val parameterTypes = getParameterKTypes(this.method)\n    val localVariables = method.localVariables?.map { it.index to it }?.toMap() ?: emptyMap()\n\n    val parameterRawTypes = this.method.parameterRawTypes\n    val javaArgs = parameterRawTypes.map(Type::asJavaString)\n    val parameterNames = context.sourceManager.getParameterNames(clazz.fqName, method.name, javaArgs)\n    val javaArgsString = javaArgs.joinToString()\n    val methodAnnotationSignature = \"${clazz.fqName} ${method.returnType.asJavaString()} ${method.name}($javaArgsString)\"\n\n    var nameIndex = if (method.isStatic) 0 else 1\n    val parameters = parameterTypes.mapIndexed { index, type ->\n        val parameterAnnotationSignature = \"$methodAnnotationSignature $index\"\n        val isSimpleType = parameterRawTypes[index].isSimpleType\n        val isNullable = !isSimpleType && !context.annotationManager.hasAnnotation(parameterAnnotationSignature, NotNull)\n\n        val parameterName = parameterNames?.get(index) ?: localVariables[nameIndex]?.name ?: \"p$index\"\n        nameIndex += parameterRawTypes[index].size\n        KVariable(parameterName, type.copy(isNullable = isNullable))\n    }\n\n    return KMethod(method.name, parameters, method.returnType.toKType())\n}\n\ninternal fun MethodNodeWithClass.formatArguments(context: GeneratorContext): String {\n    return toKMethod(context).parameters.joinToString { \"${it.name}: ${it.type}\" }\n}\n\ninternal fun MethodNodeWithClass.formatLayoutParamsArguments(\n        context: GeneratorContext,\n        importList: ImportList\n): List<String> {\n    return toKMethod(context).parameters.map { param ->\n        val renderType = importList.let { it[param.type] }\n\n        val defaultValue = specialLayoutParamsArguments[param.name]\n        val realName = specialLayoutParamsNames.getOrElse(param.name, { param.name })\n\n        if (defaultValue == null)\n            \"$realName: $renderType\"\n        else\n            \"$realName: $renderType = $defaultValue\"\n    }\n}\n\ninternal fun MethodNodeWithClass.formatLayoutParamsArgumentsInvoke(context: GeneratorContext): String {\n    return toKMethod(context).parameters.joinToString { param ->\n        val realName = specialLayoutParamsNames.getOrElse(param.name, { param.name })\n        val explicitNotNull = if (param.type.isNullable) \"!!\" else \"\"\n        \"$realName$explicitNotNull\"\n    }\n}\n\ninternal fun MethodNodeWithClass.formatArgumentsTypes(context: GeneratorContext): String {\n    return toKMethod(context).parameters.joinToString { it.type.toString() }\n}\n\ninternal fun MethodNodeWithClass.formatArgumentsNames(context: GeneratorContext): String {\n    return toKMethod(context).parameters.joinToString { it.name }\n}\n\nfun MethodNode.isGetter(): Boolean {\n    val isNonBooleanGetter = name.startsWith(\"get\") && name.length > 3 && Character.isUpperCase(name[3])\n    val isBooleanGetter = name.startsWith(\"is\") && name.length > 2 && Character.isUpperCase(name[2])\n\n    return (isNonBooleanGetter || isBooleanGetter) && parameterRawTypes.isEmpty() && !returnType.isVoid && isPublic\n}\n\ninternal fun MethodNode.isNonListenerSetter(): Boolean {\n    val isSetter = name.startsWith(\"set\") && name.length > 3 && Character.isUpperCase(name[3])\n    return isSetter && !(isListenerSetter() || name.endsWith(\"Listener\")) && parameterRawTypes.size == 1 && isPublic\n}\n\ninternal val MethodNode.isConstructor: Boolean\n    get() = name == \"<init>\"\n\ninternal fun MethodNode.isListenerSetter(set: Boolean = true, add: Boolean = true): Boolean {\n    return ((set && name.startsWith(\"setOn\")) || (add && name.startsWith(\"add\"))) && name.endsWith(\"Listener\")\n}\n\ninternal val MethodNode.isPublic: Boolean\n    get() = (access and Opcodes.ACC_PUBLIC) != 0\n\ninternal val MethodNode.isOverridden: Boolean\n    get() = (access and Opcodes.ACC_BRIDGE) != 0\n\ninternal val MethodNode.isStatic: Boolean\n    get() = (access and Opcodes.ACC_STATIC) != 0\n\ninternal val MethodNode.returnType: Type\n    get() = Type.getReturnType(desc)"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/Property.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\ninternal class Property(val node: MethodNodeWithClass) {\n\n    val name: String\n\n    val setterName: String\n        get() = \"set\" + name.capitalize()\n\n    val setterIdentifier: String\n        get() = node.clazz.fqName + \"#\" + setterName\n\n    val propertyFqName: String\n        get() = node.clazz.fqName + \".\" + name\n\n    init {\n        val methodName = node.method.name\n        if (methodName.startsWith(\"get\") || methodName.startsWith(\"set\")) {\n            name = methodName.substring(3).decapitalize()\n        } else if (methodName.startsWith(\"is\")) {\n            name = methodName.substring(2).decapitalize()\n        } else throw IllegalArgumentException(\"Method $methodName is not a property\")\n    }\n\n}\n\ninternal fun MethodNodeWithClass.toProperty() = Property(this)"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/ReflectionUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\ninternal interface ReflectionUtils {\n\n    fun <T> initializeClass(clazz: Class<out T>): T {\n        try {\n            val constructor = clazz.getConstructor()\n            return constructor.newInstance()\n        } catch (e: NoSuchMethodException) {\n            throw RuntimeException(\"Can't initialize class ${clazz.name}, no <init>()\", e)\n        }\n    }\n\n    fun <T> initializeClassWithArgs(clazz: Class<out T>, vararg args: Pair<Any, Class<*>>): T {\n        val (argList, argTypes) = args.unzip()\n\n        try {\n            val constructor = clazz.getConstructor(*argTypes.toTypedArray())\n            return constructor.newInstance(*argList.toTypedArray())\n        } catch (e: NoSuchMethodException) {\n            throw RuntimeException(\"Can't initialize class ${clazz.name}, no <init>(${argTypes.joinToString()})\", e)\n        }\n    }\n\n\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/SignatureParser.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nimport org.objectweb.asm.Opcodes\nimport org.objectweb.asm.signature.SignatureReader\nimport org.objectweb.asm.signature.SignatureVisitor\nimport java.util.*\n\ninternal interface Classifier\ninternal data class BaseType(val descriptor: Char) : Classifier\ninternal interface NamedClass : Classifier\ninternal data class TopLevelClass(val internalName: String) : NamedClass\ninternal data class InnerClass(val outer: GenericType, val name: String) : NamedClass\ninternal data class TypeVariable(val name: String) : Classifier\ninternal object ArrayC : Classifier\n\ninternal enum class Wildcard {\n    SUPER,  // ? super X\n    EXTENDS // ? extends X\n}\n\ninternal interface TypeArgument\ninternal data class BoundedWildcard(val wildcard: Wildcard, val bound: GenericType) : TypeArgument\ninternal object UnboundedWildcard : TypeArgument\ninternal data class NoWildcard(val genericType: GenericType) : TypeArgument\n\ninternal interface GenericType {\n    val classifier: Classifier\n    val arguments: List<TypeArgument>\n}\n\ninternal class GenericTypeImpl : GenericType {\n    var classifierVar: Classifier? = null\n\n    override val arguments: MutableList<TypeArgument> = ArrayList()\n\n    override val classifier: Classifier\n        get() = classifierVar!!\n\n    override fun toString(): String = \"$classifier<${arguments.joinToString()}>\"\n}\n\ninternal class TypeParameter(val name: String, val upperBounds: List<GenericType>)\ninternal class ValueParameter(val genericType: GenericType)\n\ninternal class GenericMethodSignature(\n    val typeParameters: List<TypeParameter>,\n    val returnType: GenericType,\n    val valueParameters: List<ValueParameter>\n)\n\ninternal fun parseGenericMethodSignature(signature: String): GenericMethodSignature {\n    val typeParameters = ArrayList<TypeParameter>()\n    val returnType = GenericTypeImpl()\n    val valueParameters = ArrayList<ValueParameter>()\n\n    SignatureReader(signature).accept(\n        object : SignatureVisitor(Opcodes.ASM4) {\n            var bounds = ArrayList<GenericType>()\n\n            override fun visitFormalTypeParameter(name: String) {\n                bounds = ArrayList<GenericType>()\n                val param = TypeParameter(name, bounds)\n                typeParameters.add(param)\n            }\n\n            override fun visitClassBound(): SignatureVisitor {\n                val bound = GenericTypeImpl()\n                bounds.add(bound)\n                return GenericTypeParser(bound)\n            }\n\n            override fun visitInterfaceBound(): SignatureVisitor {\n                val bound = GenericTypeImpl()\n                bounds.add(bound)\n                return GenericTypeParser(bound)\n            }\n\n            override fun visitParameterType(): SignatureVisitor {\n                val parameterType = GenericTypeImpl()\n                val param = ValueParameter(parameterType)\n                valueParameters.add(param)\n                return GenericTypeParser(parameterType)\n            }\n\n            override fun visitReturnType(): SignatureVisitor {\n                return GenericTypeParser(returnType)\n            }\n        }\n    )\n    return GenericMethodSignature(typeParameters, returnType, valueParameters)\n}\n\nprivate class GenericTypeParser(val result: GenericTypeImpl) : SignatureVisitor(Opcodes.ASM4) {\n\n    override fun visitBaseType(descriptor: Char) {\n        result.classifierVar = BaseType(descriptor)\n    }\n\n    override fun visitTypeVariable(name: String) {\n        result.classifierVar = TypeVariable(name)\n    }\n\n    override fun visitArrayType(): SignatureVisitor {\n        result.classifierVar = ArrayC\n        val argument = GenericTypeImpl()\n        result.arguments.add(NoWildcard(argument))\n        return GenericTypeParser(argument)\n    }\n\n    override fun visitClassType(name: String) {\n        result.classifierVar = TopLevelClass(name)\n    }\n\n    override fun visitInnerClassType(name: String) {\n        val outer = GenericTypeImpl()\n        outer.classifierVar = result.classifier\n        outer.arguments.addAll(result.arguments)\n        result.classifierVar = InnerClass(outer, name)\n        result.arguments.clear()\n    }\n\n    override fun visitTypeArgument() {\n        result.arguments.add(UnboundedWildcard)\n    }\n\n    override fun visitTypeArgument(wildcard: Char): SignatureVisitor {\n        val argument = GenericTypeImpl()\n        result.arguments.add(when (wildcard) {\n            SignatureVisitor.EXTENDS -> BoundedWildcard(Wildcard.EXTENDS, argument)\n            SignatureVisitor.SUPER -> BoundedWildcard(Wildcard.SUPER, argument)\n            SignatureVisitor.INSTANCEOF -> NoWildcard(argument)\n            else -> throw IllegalArgumentException(\"Unknown wildcard: $wildcard\")\n        })\n        return GenericTypeParser(argument)\n    }\n}\n\n"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/Types.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nimport org.objectweb.asm.Type\n\ninternal val Type.isVoid: Boolean\n    get() = sort == Type.VOID\n\ninternal val Type.isSimpleType: Boolean\n    get() = when (sort) {\n        Type.BOOLEAN, Type.INT, Type.FLOAT, Type.DOUBLE, Type.LONG, Type.BYTE, Type.CHAR, Type.SHORT -> true\n        Type.VOID -> true\n        else -> false\n    }\n\ninternal val Type.fqName: String\n    get() = className.replace('/', '.').replace('$', '.')\n\nprivate fun mapJavaToKotlinType(str: String): String {\n    return when (str) {\n        \"java.lang.CharSequence\" -> \"CharSequence\"\n        \"java.lang.String\" -> \"String\"\n        \"java.lang.Integer\" -> \"Int\"\n        \"java.lang.Object\" -> \"Any\"\n        else -> str\n    }\n}\n\nfun Type.toKType(isNullable: Boolean = false): KType {\n    return KType(asString(false), isNullable)\n}\n\ninternal fun Type.asString(isNullable: Boolean = true): String {\n    val nullability = if (isNullable) \"?\" else \"\"\n    return when (sort) {\n        Type.BOOLEAN -> \"Boolean\"\n        Type.INT -> \"Int\"\n        Type.FLOAT -> \"Float\"\n        Type.DOUBLE -> \"Double\"\n        Type.LONG -> \"Long\"\n        Type.BYTE -> \"Byte\"\n        Type.CHAR -> \"Char\"\n        Type.SHORT -> \"Short\"\n        Type.VOID -> \"Unit\"\n        Type.ARRAY -> when (elementType.sort) {\n            Type.INT -> \"IntArray$nullability\"\n            Type.FLOAT -> \"FloatArray$nullability\"\n            Type.DOUBLE -> \"DoubleArray$nullability\"\n            Type.LONG -> \"LongArray$nullability\"\n            else -> \"Array<\" + mapJavaToKotlinType(elementType.asString(isNullable = false)) + \">$nullability\"\n        }\n        else -> mapJavaToKotlinType(fqName) + nullability\n    }\n}\n\ninternal fun Type.asJavaString(): String {\n    return when (sort) {\n        Type.BOOLEAN -> \"boolean\"\n        Type.INT -> \"int\"\n        Type.FLOAT -> \"float\"\n        Type.DOUBLE -> \"double\"\n        Type.LONG -> \"long\"\n        Type.BYTE -> \"byte\"\n        Type.CHAR -> \"char\"\n        Type.SHORT -> \"short\"\n        Type.VOID -> \"void\"\n        Type.ARRAY -> elementType.asJavaString() + \"[]\"\n        else -> fqName\n    }\n}\n\ninternal fun Type.getDefaultValue(onlyPrimitive: Boolean = false) : String {\n    return when (sort) {\n        Type.BOOLEAN -> \"false\"\n        Type.INT -> \"0\"\n        Type.FLOAT -> \"0.0\"\n        Type.DOUBLE -> \"0.0\"\n        Type.LONG -> \"0\"\n        Type.BYTE -> \"0\"\n        Type.CHAR -> \"\\'\\\\u0000\\'\" //default value of a char\n        Type.SHORT -> \"0\"\n        Type.VOID -> \"\"\n        else -> {\n            if (onlyPrimitive) {\n                return \"\"\n            } else when (sort) {\n                Type.ARRAY -> when (elementType.sort) {\n                    Type.INT -> \"IntArray()\"\n                    Type.FLOAT -> \"FloatArray()\"\n                    Type.DOUBLE -> \"DoubleArray()\"\n                    Type.LONG -> \"LongArray()\"\n                    else -> \"Array<\" + mapJavaToKotlinType(elementType.asString(isNullable = false)) + \">()\"\n                }\n                else -> mapJavaToKotlinType(fqName) + \"()\"\n            }\n        }\n    }\n}\n\ninternal fun genericTypeToKType(\n        type: GenericType,\n        isNullable: Boolean = false,\n        variance: KType.Variance = KType.Variance.INVARIANT\n): KType {\n    val classifier = type.classifier\n\n    val fqName = when (classifier) {\n        is TopLevelClass -> classifier.internalName.replace('/', '.').replace('$', '.')\n        is BaseType -> Type.getType(classifier.descriptor.toString()).asString(isNullable = false)\n        else -> error(\"Invalid classifier type: $classifier\")\n    }\n\n    val args = type.arguments.map { arg ->\n        when(arg) {\n            is UnboundedWildcard -> KType.STAR_TYPE\n            is NoWildcard -> genericTypeToKType(arg.genericType)\n            is BoundedWildcard ->\n                return when(arg.wildcard) {\n                    Wildcard.EXTENDS -> genericTypeToKType(arg.bound, false, KType.Variance.COVARIANT)\n                    Wildcard.SUPER -> genericTypeToKType(arg.bound, false, KType.Variance.CONTRAVARIANT)\n                }\n            else -> throw RuntimeException(\"Unexpected generic argument type: $arg\")\n        }\n    }\n\n    return KType(fqName, isNullable, variance, args)\n}\n\ninternal fun getPackageName(fqName: String): String {\n    val indexOfFirstCapital = fqName.indexOfFirst(Char::isUpperCase)\n    return fqName.substring(0, indexOfFirstCapital).substringBeforeLast('.')\n}\n\ninternal fun getJavaClassName(fqName: String): String {\n    return fqName.substring(getPackageName(fqName).length + 1)\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/stringUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.utils\n\nfun String.toCamelCase(separator: Char = '_', firstCapital: Boolean = true): String {\n    val builder = StringBuilder()\n    var capitalFlag = firstCapital\n    for (c in this) {\n        when (c) {\n            separator -> capitalFlag = true\n            else -> {\n                builder.append(if (capitalFlag) Character.toUpperCase(c) else Character.toLowerCase(c))\n                capitalFlag = false\n            }\n        }\n    }\n    return builder.toString()\n}\n\ninternal fun String.toUPPER_CASE(): String {\n    val builder = StringBuilder()\n    for (c in this) {\n        if (c.isUpperCase() && builder.isNotEmpty()) builder.append('_')\n        builder.append(c.toUpperCase())\n    }\n    return builder.toString()\n}\n\nval Char.isPackageSymbol: Boolean\n    get() = isLowerCase() || isDigit() || this == '_'"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/utils/utils.kt",
    "content": "package org.jetbrains.android.anko.utils\n\nval <T> Array<T>.unique: T?\n    get() = if (size == 1) this[0] else null"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/writer/AbstractWriter.kt",
    "content": "package org.jetbrains.android.anko.writer\n\nimport org.jetbrains.android.anko.config.*\nimport org.jetbrains.android.anko.config.AnkoFile.*\nimport org.jetbrains.android.anko.render.*\nimport org.jetbrains.android.anko.utils.toCamelCase\nimport java.io.File\n\nabstract class AbstractWriter(private val renderFacade: RenderFacade): WithGeneratorContext {\n    override val context: GeneratorContext\n        get() = renderFacade.generationState.context\n\n    fun write() {\n        val versionType = config.artifact.type\n        values().forEach { file ->\n            if (config[file] && versionType in file.types) {\n                write(file)\n            }\n        }\n    }\n\n    private fun write(file: AnkoFile): Unit = when (file) {\n        AnkoFile.LAYOUTS -> writeLayouts()\n        AnkoFile.LISTENERS -> writeListeners()\n        AnkoFile.LISTENERS_WITH_COROUTINES -> writeCoroutineListeners()\n        AnkoFile.PROPERTIES -> writeProperties()\n        AnkoFile.SERVICES -> writeServices()\n        AnkoFile.SQL_PARSER_HELPERS -> writeSqlParserHelpers()\n        AnkoFile.VIEWS -> writeViews()\n    }\n\n    private fun writeCoroutineListeners() {\n        write(AnkoFile.LISTENERS_WITH_COROUTINES, CoroutineListenerRenderer::class.java)\n    }\n\n    private fun writeLayouts() {\n        val imports = Props.imports[\"layouts\"] ?: \"\"\n        write(AnkoFile.LAYOUTS, LayoutRenderer::class.java, imports)\n    }\n\n    private fun writeListeners() {\n        write(AnkoFile.LISTENERS, ListenerRenderer::class.java)\n    }\n\n    private fun writeProperties() {\n        val imports = Props.imports[\"properties\"] ?: \"\"\n        write(AnkoFile.PROPERTIES, PropertyRenderer::class.java, imports)\n    }\n\n    private fun writeServices() {\n        val imports = Props.imports[\"services\"] ?: \"\"\n        write(AnkoFile.SERVICES, ServiceRenderer::class.java, imports)\n    }\n\n    private fun writeSqlParserHelpers() {\n        val imports = Props.imports[\"sqliteparserhelpers\"] ?: \"\"\n        write(AnkoFile.SQL_PARSER_HELPERS, SqlParserHelperRenderer::class.java, imports, false)\n    }\n\n    private fun writeViews() {\n        val allViews = if (config[AnkoFile.VIEWS]) {\n            renderFacade[ViewRenderer::class.java] + renderFacade[ViewGroupRenderer::class.java]\n        } else \"\"\n        val imports = Props.imports[\"views\"] ?: \"\"\n        write(AnkoFile.VIEWS, allViews, imports)\n    }\n\n    private fun write(\n            subsystem: AnkoFile,\n            renderer: Class<out Renderer>,\n            imports: String = \"\",\n            generatePackage: Boolean = true)\n    {\n        write(subsystem, renderFacade[renderer], imports, generatePackage)\n    }\n\n    private fun write(subsystem: AnkoFile, text: String, imports: String = \"\", generatePackage: Boolean = true) {\n        if (text.trim().isEmpty()) return\n\n        val file = config.getOutputFile(subsystem)\n\n        val outputText = buildString {\n            if (config.generatePackage && generatePackage) {\n                val facadeFilename = config.artifact.name.toCamelCase('-') + subsystem.name.toLowerCase().toCamelCase()\n                appendln(\"@file:JvmName(\\\"${facadeFilename}Kt\\\")\")\n                appendln(\"package ${config.outputPackage}\\n\")\n            }\n\n            if (config.generateImports) {\n                if (imports.isNotEmpty()) appendln(imports)\n            }\n\n            appendln()\n            append(text)\n        }\n\n        write(file, outputText)\n    }\n\n    protected abstract fun write(file: File, text: String)\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/writer/GeneratorWriter.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko.writer\n\nimport org.jetbrains.android.anko.render.*\nimport java.io.File\n\nclass GeneratorWriter(renderFacade: RenderFacade) : AbstractWriter(renderFacade) {\n    override fun write(file: File, text: String) {\n        val parentDirectory = file.parentFile\n        if (!parentDirectory.exists()) {\n            parentDirectory.mkdirs()\n        }\n\n        file.writeText(text)\n        println(\"File $file written\")\n    }\n}"
  },
  {
    "path": "anko/library/generator/src/org/jetbrains/android/anko/writer/VerifyWriter.kt",
    "content": "package org.jetbrains.android.anko.writer\n\nimport org.jetbrains.android.anko.render.RenderFacade\nimport org.jetbrains.anko.test.assertEqualsToFile\nimport java.io.File\n\nclass VerifyWriter(renderFacade: RenderFacade) : AbstractWriter(renderFacade) {\n    override fun write(file: File, @Suppress(\"PARAMETER_NAME_CHANGED_ON_OVERRIDE\") actualText: String) {\n        if (!file.exists()) {\n            file.writeText(actualText)\n            println(\"E $file: file did not exist\")\n            throw AssertionError(\"File did not exist: $file\")\n        }\n\n        try {\n            assertEqualsToFile(file.name, file, actualText)\n        } catch (e: Throwable) {\n            println(\"E $file: File was changed\")\n            throw e\n        }\n\n        println(\"OK $file\")\n    }\n}"
  },
  {
    "path": "anko/library/generator/test/org/jetbrains/android/anko/ClassTreeTest.java",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.android.anko;\n\nimport org.jetbrains.android.anko.utils.ClassTree;\nimport org.jetbrains.android.anko.utils.NoSuchClassException;\nimport org.junit.Assert;\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.objectweb.asm.tree.ClassNode;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\n\npublic class ClassTreeTest extends Assert {\n\n    private final ArrayList<ClassNode> classes = new ArrayList<>();\n    private ArrayList<ClassNode> shuffledClasses;\n\n    @Before\n    public void setUp() throws Exception {\n        classes.clear();\n        classes.add(createNode(\"java.lang.Object\", null));\n        classes.add(createNode(\"java.lang.Integer\", \"java.lang.Object\"));\n        classes.add(createNode(\"com.example.A\", \"java.lang.Object\"));\n        classes.add(createNode(\"com.example.B\", \"com.example.A\"));\n        classes.add(createNode(\"com.example.C\", \"com.example.A\"));\n        classes.add(createNode(\"com.example.D\", \"com.example.B\"));\n        classes.add(createNode(\"com.example.E\", \"com.example.B\"));\n        classes.add(createNode(\"com.example.F\", \"com.example.E\"));\n        classes.add(createNode(\"com.example.G\", \"com.example.F\"));\n        classes.add(createNode(\"com.example.H\", \"com.example.F\"));\n        shuffledClasses = new ArrayList<>(classes);\n        Collections.shuffle(shuffledClasses);\n    }\n\n    private void doAdd(ClassTree target) {\n        for (ClassNode aClass : shuffledClasses) {\n            target.add(aClass, true);\n        }\n    }\n\n    @Test\n    public void testAdd() throws Exception {\n        ClassTree tree = new ClassTree();\n        doAdd(tree);\n    }\n\n    @Test\n    public void testIsChild() throws Exception {\n        ClassTree tree = new ClassTree();\n        doAdd(tree);\n        assertTrue(tree.isChildOf(classes.get(1), \"java.lang.Object\"));\n        assertTrue(tree.isChildOf(classes.get(2), \"java.lang.Object\"));\n        assertFalse(tree.isChildOf(classes.get(3), \"java.lang.Object\"));\n    }\n\n    @Test\n    public void testIsSuccessorOf() throws Exception {\n        ClassTree tree = new ClassTree();\n        doAdd(tree);\n        assertTrue(tree.isSuccessorOf(classes.get(1), \"java.lang.Object\"));\n        assertTrue(tree.isSuccessorOf(classes.get(2), \"java.lang.Object\"));\n        assertTrue(tree.isSuccessorOf(classes.get(3), \"com.example.A\"));\n        assertTrue(tree.isSuccessorOf(classes.get(3), \"java.lang.Object\"));\n        assertTrue(tree.isSuccessorOf(classes.get(4), \"com.example.A\"));\n        assertTrue(tree.isSuccessorOf(classes.get(5), \"com.example.A\"));\n        assertTrue(tree.isSuccessorOf(classes.get(6), \"com.example.A\"));\n        assertTrue(tree.isSuccessorOf(classes.get(7), \"com.example.E\"));\n        assertFalse(tree.isSuccessorOf(classes.get(3), \"java.lang.Integer\"));\n        assertFalse(tree.isSuccessorOf(classes.get(2), \"com.example.B\"));\n        assertFalse(tree.isSuccessorOf(classes.get(2), \"java.lang.Integer\"));\n        assertFalse(tree.isSuccessorOf(classes.get(0), \"java.lang.Object\"));\n    }\n\n    @Test(expected = NoSuchClassException.class)\n    public void testNoSuchClassException() throws Exception {\n        ClassTree tree = new ClassTree();\n        ClassNode cn = new ClassNode();\n        cn.name = \"java.lang.Integer\";\n        tree.isSuccessorOf(cn, \"java.util.List\");\n    }\n\n    @Test\n    public void testTreeIterator() throws Exception {\n        ClassTree tree = new ClassTree();\n        doAdd(tree);\n        int arrayElementCount = classes.size();\n        int treeElementCount = 0;\n        for (ClassNode c : tree) {\n            assertTrue(classes.contains(c));\n            ++treeElementCount;\n        }\n        assertEquals(arrayElementCount, treeElementCount);\n    }\n    \n    private static ClassNode createNode(String name, String superName) {\n        ClassNode node = new ClassNode();\n        node.name = name;\n        node.superName = superName;\n        return node;\n    }\n}\n"
  },
  {
    "path": "anko/library/library.gradle",
    "content": "apply plugin: 'com.android.library'\napply plugin: 'kotlin-android'\napply plugin: 'com.jfrog.bintray'\napply plugin: 'maven-publish'\n\ngroup POM_ARTIFACT_GROUP\nversion ANKO_VERSION\n\ndependencies {\n    api \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n}\n\nandroid {\n    compileSdkVersion COMPILE_SDK_VERSION\n    defaultConfig {\n        minSdkVersion MIN_SDK_VERSION\n        targetSdkVersion TARGET_SDK_VERSION\n        versionCode ANKO_VERSION_CODE\n        versionName ANKO_VERSION\n    }\n    compileOptions {\n        sourceCompatibility JavaVersion.VERSION_1_6\n        targetCompatibility JavaVersion.VERSION_1_6\n    }\n}\n\ntask sourcesJar(type: Jar) {\n    classifier = 'sources'\n    from android.sourceSets.main.java.srcDirs\n}\n\npublishing {\n    publications {\n        anko(MavenPublication) {\n            groupId POM_ARTIFACT_GROUP\n            artifactId project.name\n            version ANKO_VERSION\n\n            artifact sourcesJar\n            artifact bundleRelease\n\n            pom.withXml {\n                asNode().children().last() + {\n                    resolveStrategy = Closure.DELEGATE_FIRST\n                    name 'anko'\n                    description 'Kotlin DSL for Android'\n                    url PROJECT_URL\n\n                    scm {\n                        url SCM_URL\n                        connection CONNECTION_URL\n                        developerConnection DEVELOPER_CONNECTION_URL\n                    }\n                    licenses {\n                        license {\n                            name 'The Apache Software License, Version 2.0'\n                            url 'http://www.apache.org/license/LICENSE-2.0.txt'\n                            distribution 'repo'\n                            comments 'A business-friendly OSS license'\n                        }\n                    }\n                    developers {\n                        developer {\n                            id 'JetBrains'\n                            name 'JetBrains Team'\n                            organization 'JetBrains'\n                            organizationUrl 'https://www.jetbrains.com'\n                        }\n                    }\n                }\n\n                def dependenciesNode = asNode().appendNode('dependencies')\n\n                configurations.api.dependencies.each { Dependency dep ->\n                    final dependencyNode = dependenciesNode.appendNode('dependency')\n                    dependencyNode.appendNode('groupId', dep.group)\n                    dependencyNode.appendNode('artifactId', dep.name)\n                    dependencyNode.appendNode('version', dep.version)\n                    dependencyNode.appendNode('scope', \"compile\")\n                }\n\n                configurations.implementation.dependencies.each { Dependency dep ->\n                    final dependencyNode = dependenciesNode.appendNode('dependency')\n                    dependencyNode.appendNode('groupId', dep.group)\n                    dependencyNode.appendNode('artifactId', dep.name)\n                    dependencyNode.appendNode('version', dep.version)\n                    dependencyNode.appendNode('scope', \"runtime\")\n                }\n            }\n        }\n    }\n\n    repositories {\n        maven { url \"${rootProject.buildDir}/maven\" }\n    }\n}\n\nbintray {\n    user = System.getenv('BINTRAY_USER') ?: \"\"\n    key = System.getenv('BINTRAY_API_KEY') ?: \"\"\n\n    publications = ['anko']\n\n    dryRun = BINTRAY_DRY_RUN\n\n    pkg {\n        userOrg = BINTRAY_USER_NAME\n        repo = BINTRAY_REPO_NAME\n        name = BINTRAY_PACKAGE_NAME\n        licenses = ['Apache-2.0']\n        vcsUrl = SCM_URL\n\n        version {\n            name = ANKO_VERSION\n            released = new Date()\n        }\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/.gitignore",
    "content": "/build\n!local.properties"
  },
  {
    "path": "anko/library/robolectricTests/build.gradle",
    "content": "apply plugin: 'com.android.library'\napply plugin: 'kotlin-android'\n\nandroid {\n    compileSdkVersion COMPILE_SDK_VERSION\n    defaultConfig {\n        minSdkVersion MIN_SDK_VERSION\n        targetSdkVersion 21\n        versionCode ANKO_VERSION_CODE\n        versionName ANKO_VERSION\n    }\n\n    lintOptions {\n        abortOnError false\n    }\n}\n\ndependencies {\n    implementation project(':generated:anko-commons')\n    implementation project(':generated:anko-sqlite')\n    implementation project(':generated:anko-sdk15')\n    implementation project(':generated:anko-sdk15-listeners')\n    implementation project(':generated:anko-coroutines')\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n\n    testImplementation \"org.robolectric:robolectric:3.8\"\n    testImplementation 'junit:junit:4.12'\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/local.properties",
    "content": "sdk.dir=../../../dependencies/android-sdk"
  },
  {
    "path": "anko/library/robolectricTests/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"com.example.android_test\" />\n"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidLayoutParamsTestActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport android.view.Gravity\nimport android.widget.RelativeLayout\nimport org.jetbrains.anko.*\n\nopen class AndroidLayoutParamsTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            linearLayout {\n                editText().lparams(-2, -2) {\n                    bottomMargin = 1\n                    leftMargin = 2\n                    rightMargin = 3\n                    topMargin = 4\n                    height = 9\n                    gravity = Gravity.RIGHT\n                    weight = 1.3591409142295225f\n                }\n            }\n            relativeLayout {\n                editText().lparams(-2, -2) {\n                    bottomMargin = 1\n                    leftMargin = 2\n                    rightMargin = 3\n                    topMargin = 4\n                    height = 9\n                    addRule(RelativeLayout.ALIGN_PARENT_LEFT, RelativeLayout.TRUE)\n                    addRule(RelativeLayout.CENTER_IN_PARENT)\n                }\n            }\n            absoluteLayout {\n                editText().lparams(-2, -2, 12, 23) {\n                    height = 9\n                    x = 100\n                    y = 200\n                }\n            }\n            frameLayout {\n                editText().lparams(-2, -2) {\n                    bottomMargin = 1\n                    leftMargin = 2\n                    rightMargin = 3\n                    topMargin = 4\n                    height = 9\n                    gravity = Gravity.RIGHT\n                }\n            }\n            gridLayout {\n                editText().lparams {\n                    bottomMargin = 1\n                    leftMargin = 2\n                    rightMargin = 3\n                    topMargin = 4\n                    height = 9\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidLayoutsTestActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport android.widget.TextView\nimport org.jetbrains.anko.*\nimport org.jetbrains.anko.sdk15.listeners.onClick\n\nopen class AndroidLayoutsTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            val name = find<TextView>(100)\n            name.hint = \"Enter your name\"\n            name.onClick { /*do something*/ }\n\n\n            linearLayout { }\n            relativeLayout { }\n            absoluteLayout { }\n            frameLayout { }\n            gridLayout { }\n        }\n    }\n\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidListenerHelpersTestActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.*\nimport org.jetbrains.anko.sdk15.listeners.*\n\nopen class AndroidListenerHelpersTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            linearLayout {\n               button {\n                  onClick {\n                      text = \"clicked\"\n                  }\n               }\n               checkBox {\n                  onCheckedChange { _, checkState ->\n                        if(checkState)\n                            text = \"checked\"\n                  }\n               }\n            }\n        }\n    }\n\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidMultiMethodListenersActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.*\nimport org.jetbrains.anko.sdk15.listeners.*\n\nopen class AndroidMultiMethodListenersActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            linearLayout {\n                listView {\n                    onScrollListener {\n                        onScroll { _, _, _, _ ->  }\n                        onScrollStateChanged { _, _ -> }\n                    }\n                }\n                searchView {\n                    onQueryTextListener {\n                        onQueryTextChange { _ -> true }\n                        onQueryTextSubmit { _ -> true }\n                    }\n                }\n                seekBar {\n                    onSeekBarChangeListener {\n                        onProgressChanged { _, _, _ -> }\n                        onStartTrackingTouch { _ -> }\n                        onStopTrackingTouch { _ -> }\n                    }\n                }\n            }\n        }\n    }\n}"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidPropertiesTestActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.*\n\nopen class AndroidPropertiesTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            linearLayout {\n                baseline\n                baselineAlignedChildIndex = 0\n                dividerPadding = 1\n                orientation = -1\n                showDividers = 0\n                weightSum = 2.4f\n                textSwitcher {}\n                calendarView {\n                    date = 123456\n                    showWeekNumber = true\n                }\n                zoomButton {}\n                viewSwitcher {}\n                digitalClock {}\n                multiAutoCompleteTextView {}\n                checkBox {\n                    isChecked = true\n                }\n                imageButton {}\n                videoView {\n                    currentPosition\n                }\n                horizontalScrollView {}\n                numberPicker {\n                    displayedValues\n                    maxValue = 3\n                    value = 2134\n                }\n                analogClock {}\n                scrollView {}\n                textView {\n                    compoundDrawablePadding = 23\n                    customSelectionActionModeCallback = null\n                    error = \"error\"\n                    freezesText = false\n                    imeOptions = 0\n                    linksClickable = true\n                }\n                tabWidget {\n                    tabCount\n                }\n                radioButton {}\n                toggleButton {\n                    textOff = \"12354\"\n                    textOn = \"qwerty\"\n                }\n                seekBar {}\n                datePicker {\n                    calendarView\n                    month\n                    year\n                }\n                timePicker {\n                    currentHour = 3\n                }\n                zoomControls {}\n                imageView {\n                    baseline = 234\n                    imageMatrix = android.graphics.Matrix()\n                }\n                autoCompleteTextView {\n                    dropDownAnchor = 0\n                    dropDownHeight = 0\n                    dropDownHorizontalOffset = 2\n                    threshold = 2\n                    validator = null\n                }\n                switch {\n                    textOff = \"918237\"\n                }\n                progressBar {\n                    progress = 34\n                    secondaryProgress = 9\n                }\n                space {}\n                listView {\n                    checkItemIds\n                    itemsCanFocus = true\n                    overscrollHeader = null\n                }\n                gridView {\n                    gravity = 68\n                    numColumns = 3\n                }\n                spinner {}\n                gallery {}\n                imageSwitcher {}\n                checkedTextView {}\n                chronometer {\n                    base = 9\n                    format = \"%d%Y%m\"\n\n                }\n                button {}\n                editText {}\n                ratingBar {\n                    numStars = 3\n                    rating = 3.4f\n                    stepSize = 0.7f\n                }\n                stackView {}\n                quickContactBadge {}\n                twoLineListItem {}\n                dialerFilter {\n                    digits\n                }\n                tabHost {\n                    currentTab = 2\n                    currentTabView\n\n                }\n                viewAnimator {}\n                expandableListView {\n                    adapter = null\n                    selectedPosition\n                }\n                viewFlipper {}\n            }\n        }\n    }\n\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidSimpleTestActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.*\nimport android.widget.LinearLayout\nimport org.jetbrains.anko.sdk15.listeners.onClick\n\nopen class AndroidSimpleTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            linearLayout {\n                orientation = LinearLayout.VERTICAL\n                val tv1 = textView {\n                    text = \"9287y4r3\"\n                }\n                button {\n                    text = \"Buttons1231\"\n                    onClick {\n\n                    }\n                    setOnClickListener {\n                        tv1.text = text\n                    }\n                }\n                linearLayout {\n                    orientation = LinearLayout.HORIZONTAL\n                    checkBox {\n                        text = \"34563456\"\n                    }\n                    button {\n                        text = \"9auhdfg9a\"\n                    }\n                }\n            }\n        }\n    }\n\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/AndroidWidgetTestActivity.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.*\n\nopen class AndroidWidgetTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        UI {\n            verticalLayout {\n                textSwitcher {}\n                calendarView {}\n                zoomButton {}\n                viewSwitcher {}\n                digitalClock {}\n                multiAutoCompleteTextView {}\n                checkBox {}\n                imageButton {}\n                videoView {}\n                horizontalScrollView {}\n                numberPicker {}\n                analogClock {}\n                scrollView {}\n                textView {}\n                tabWidget {}\n                radioButton {}\n                toggleButton {}\n                seekBar {}\n                datePicker {}\n                radioGroup {}\n                timePicker {}\n                zoomControls {}\n                imageView {}\n                searchView {}\n                autoCompleteTextView {}\n                switch {}\n                progressBar {}\n                space {}\n                listView {}\n                gridView {}\n                spinner {}\n                gallery {}\n                imageSwitcher {}\n                checkedTextView {}\n                chronometer {}\n                button {}\n                editText {}\n                ratingBar {}\n                stackView {}\n                quickContactBadge {}\n                twoLineListItem {}\n                dialerFilter {}\n                tabHost {}\n                viewAnimator {}\n                expandableListView {}\n                viewFlipper {}\n            }\n        }\n    }\n\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/main/java/README.md",
    "content": "Compilation tests."
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/AnkoLoggerTest.kt",
    "content": "package com.example.android_test\n\nimport org.jetbrains.anko.AnkoLogger\nimport org.jetbrains.anko.error\nimport org.jetbrains.anko.info\nimport org.jetbrains.anko.verbose\nimport org.jetbrains.anko.warn\nimport org.junit.Assert.assertTrue\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\nimport org.robolectric.shadows.ShadowLog\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class AnkoLoggerTest {\n    private val log = AnkoLogger<AnkoLoggerTest>()\n\n    @Test\n    fun test() {\n        val outputStream = java.io.ByteArrayOutputStream(1024)\n        val printStream = java.io.PrintStream(outputStream)\n        ShadowLog.stream = printStream\n\n        log.info(\"InfoMessage\")\n        log.verbose(\"VerboseMessage\")\n        log.warn { \"WarnMessage\" }\n        log.error { \"ErrorMessage\" }\n\n        val messages = outputStream.toString()\n        println(messages)\n\n        assertTrue(\"InfoMessage\" in messages)\n        assertTrue(\"VerboseMessage\" in messages)\n        assertTrue(\"WarnMessage\" in messages)\n        assertTrue(\"ErrorMessage\" in messages)\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/AnkoSQliteTest.kt",
    "content": "package com.example.android_test\n\nimport android.content.Context\nimport android.database.sqlite.SQLiteDatabase\nimport android.database.sqlite.SQLiteOpenHelper\nimport org.jetbrains.anko.db.AUTOINCREMENT\nimport org.jetbrains.anko.db.ConstraintActions\nimport org.jetbrains.anko.db.FOREIGN_KEY\nimport org.jetbrains.anko.db.INTEGER\nimport org.jetbrains.anko.db.ON_DELETE\nimport org.jetbrains.anko.db.PRIMARY_KEY\nimport org.jetbrains.anko.db.TEXT\nimport org.jetbrains.anko.db.UNIQUE\nimport org.jetbrains.anko.db.createTable\nimport org.jetbrains.anko.db.delete\nimport org.jetbrains.anko.db.insert\nimport org.jetbrains.anko.db.select\nimport org.jetbrains.anko.db.update\nimport org.junit.After\nimport org.junit.Assert.assertEquals\nimport org.junit.Before\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.RuntimeEnvironment\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class AnkoSQliteTest {\n\n    private var databaseHelper: DbHelper? = null\n\n    @Before\n    fun setUp() {\n        databaseHelper = DbHelper(RuntimeEnvironment.application)\n    }\n\n    @After\n    fun tearDown() {\n        databaseHelper?.close()\n        databaseHelper?.deleteDatabase()\n    }\n\n    @Test\n    fun testSimpleCRUD() = databaseTest {\n        createTable(\n                \"User\",\n                true,\n                \"id\" to INTEGER + PRIMARY_KEY + UNIQUE,\n                \"name\" to TEXT,\n                \"email\" to TEXT\n        )\n\n        insert(\"User\", \"id\" to 0, \"name\" to \"John\", \"email\" to \"johny@domain.org\")\n\n        insert(\"User\", \"id\" to 1, \"name\" to \"Vasya\", \"email\" to \"vasiliy@domain.org\")\n\n        select(\"User\").exec {\n            moveToNext()\n            assertEquals(0, getInt(0))\n            assertEquals(\"John\", getString(1))\n            assertEquals(\"johny@domain.org\", getString(2))\n\n            moveToNext()\n            assertEquals(1, getInt(0))\n            assertEquals(\"Vasya\", getString(1))\n            assertEquals(\"vasiliy@domain.org\", getString(2))\n        }\n\n        update(\"User\", \"name\" to \"Fedor\")\n                .whereArgs(\"id = {userId}\", \"userId\" to 1)\n                .exec()\n\n        select(\"User\").exec {\n            moveToNext()\n            assertEquals(0, getInt(0))\n            assertEquals(\"John\", getString(1))\n            assertEquals(\"johny@domain.org\", getString(2))\n\n            moveToNext()\n            assertEquals(1, getInt(0))\n            assertEquals(\"Fedor\", getString(1))\n            assertEquals(\"vasiliy@domain.org\", getString(2))\n        }\n    }\n\n    @Test\n    fun testAutoincrement() = databaseTest {\n        createTable(\n                \"User\",\n                true,\n                \"id\" to INTEGER + PRIMARY_KEY + AUTOINCREMENT,\n                \"name\" to TEXT,\n                \"email\" to TEXT\n        )\n\n        insert(\"User\", \"name\" to \"John\", \"email\" to \"johny@domain.org\")\n\n        insert(\"User\", \"name\" to \"Vasya\", \"email\" to \"vasiliy@domain.org\")\n\n        insert(\"User\", \"name\" to \"Fedya\", \"email\" to \"fedor@domain.org\")\n\n        select(\"User\").exec {\n            moveToNext()\n            assertEquals(1, getInt(0))\n            assertEquals(\"John\", getString(1))\n            assertEquals(\"johny@domain.org\", getString(2))\n\n            moveToNext()\n            assertEquals(2, getInt(0))\n            assertEquals(\"Vasya\", getString(1))\n            assertEquals(\"vasiliy@domain.org\", getString(2))\n\n            moveToNext()\n            assertEquals(3, getInt(0))\n            assertEquals(\"Fedya\", getString(1))\n            assertEquals(\"fedor@domain.org\", getString(2))\n        }\n    }\n\n    @Test\n    fun testForeignKeyOnDeleteCascade() = databaseTest {\n\n        rawQuery(\"PRAGMA foreign_keys = ON\", emptyArray()).close()\n\n        createTable(\n                \"users\",\n                true,\n                \"id\" to INTEGER + PRIMARY_KEY + UNIQUE,\n                \"name\" to TEXT\n        )\n\n        insert(\"users\", \"name\" to \"John\")\n        insert(\"users\", \"name\" to \"Vasya\")\n\n        createTable(\n                \"emails\",\n                true,\n                \"id\" to INTEGER + PRIMARY_KEY + AUTOINCREMENT,\n                \"email\" to TEXT,\n                \"userId\" to INTEGER,\n                FOREIGN_KEY(\"userId\", \"users\", \"id\", ON_DELETE(ConstraintActions.CASCADE))\n        )\n\n        insert(\"emails\",  \"email\" to \"johny@domain.org\", \"userId\" to 1)\n        insert(\"emails\",  \"email\" to \"vasiliy@domain.org\", \"userId\" to 2)\n\n        select(\"emails\").exec {\n            moveToNext()\n            assertEquals(\"johny@domain.org\", getString(1))\n        }\n\n        select(\"users\").exec {\n            moveToNext()\n            assertEquals(\"John\", getString(1))\n        }\n\n\n        delete(\"users\", \"id = {userId}\", \"userId\" to 1)\n\n\n        select(\"emails\").exec {\n            moveToNext()\n            assertEquals(\"vasiliy@domain.org\", getString(1))\n        }\n\n        select(\"users\").exec {\n            moveToNext()\n            assertEquals(\"Vasya\", getString(1))\n        }\n    }\n\n    private fun databaseTest(f: SQLiteDatabase.() -> Unit) =\n            databaseHelper!!.writableDatabase.let(f)\n}\n\nclass DbHelper(\n        private val context: Context,\n        private val dbName: String = \"test_db\"\n) : SQLiteOpenHelper(\n        context,\n        dbName,\n        null ,\n        1\n) {\n    override fun onCreate(db: SQLiteDatabase?) {\n\n    }\n\n    override fun onUpgrade(db: SQLiteDatabase?, oldVersion: Int, newVersion: Int) {\n\n    }\n\n    fun deleteDatabase() {\n        context.deleteDatabase(dbName)\n    }\n}\n\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/AttemptTest.kt",
    "content": "package com.example.android_test\n\nimport org.jetbrains.anko.AttemptResult\nimport org.jetbrains.anko.attempt\nimport org.junit.Assert.assertEquals\nimport org.junit.Assert.assertFalse\nimport org.junit.Assert.assertNull\nimport org.junit.Assert.assertTrue\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass AttemptTest {\n    @Test fun test() {\n        val (value, error) = attempt { \"My String\" }\n        assertEquals(\"My String\", value)\n        assertNull(error)\n\n        val result1 = attempt { 5 }\n        assertTrue(result1.hasValue)\n        assertFalse(result1.isError)\n        assertEquals(5, result1.value)\n        assertNull(result1.error)\n\n        val (value2, error2) = attempt { \"A\".toInt() }\n        assertNull(value2)\n        assertTrue(error2 is NumberFormatException)\n\n        val result3 = attempt { throw Throwable() }\n        assertTrue(result3.isError)\n        assertFalse(result3.hasValue)\n        assertNull(result3.value)\n        assertTrue(result3.error is Throwable)\n\n        val (value4, error4) = attempt { attempt { throw Throwable() } }\n        assertTrue(value4 is AttemptResult<*>)\n        assertNull(error4)\n        assertNull(value4?.value)\n        assertTrue(value4?.error is Throwable)\n\n        val (value5, error5) = attempt { throw NullPointerException() }.then { throw IllegalStateException() }\n        assertNull(value5)\n        assert(error5 is NullPointerException)\n\n        val (value6, error6) = attempt { 5 + 2 }.then { throw NullPointerException() }\n        assertNull(value6)\n        assert(error6 is NullPointerException)\n\n        val (value7, error7) = attempt { 5 }.then { it + 5 }\n        assertEquals(10, value7)\n        assertNull(error7)\n\n        val result8 = attempt { null }\n        assertTrue(result8.hasValue)\n        assertFalse(result8.isError)\n        assertNull(result8.value)\n        assertNull(result8.error)\n\n        println(\"[COMPLETE]\")\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/BuildSpannedTest.kt",
    "content": "package com.example.android_test\n\nimport android.graphics.Color\nimport android.graphics.Typeface\nimport android.text.style.BackgroundColorSpan\nimport android.text.style.ForegroundColorSpan\nimport android.text.style.StrikethroughSpan\nimport android.text.style.StyleSpan\nimport android.text.style.UnderlineSpan\nimport org.jetbrains.anko.Bold\nimport org.jetbrains.anko.Italic\nimport org.jetbrains.anko.Strikethrough\nimport org.jetbrains.anko.Underline\nimport org.jetbrains.anko.append\nimport org.jetbrains.anko.appendln\nimport org.jetbrains.anko.backgroundColor\nimport org.jetbrains.anko.buildSpanned\nimport org.jetbrains.anko.foregroundColor\nimport org.junit.Assert.assertEquals\nimport org.junit.Assert.assertTrue\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass BuildSpannedTest {\n    @Test fun test() {\n        val spannable = buildSpanned {\n            append(\"123\")\n            appendln(\"456\")\n        }\n\n        val lineSeparator = System.getProperty(\"line.separator\")\n        assertEquals(\"123456\" + lineSeparator, spannable.toString())\n\n        val spannable2 = buildSpanned {\n            append(\"123\", Bold, Italic)\n            append(\"456\", Underline, Strikethrough)\n            append(\"789\", foregroundColor(Color.RED), backgroundColor(Color.BLUE))\n        }\n        assertEquals(\"123456789\", spannable2.toString())\n        val styleSpans: Array<StyleSpan> = spannable2.getSpans(0, 3, StyleSpan::class.java)\n        assertEquals(2, styleSpans.size)\n        assertTrue(styleSpans.any { it.style == Typeface.BOLD })\n        assertTrue(styleSpans.any { it.style == Typeface.ITALIC })\n\n        val underlineSpan: Array<UnderlineSpan> = spannable2.getSpans(3, 6, UnderlineSpan::class.java)\n        val strikethroughSpan: Array<StrikethroughSpan> = spannable2.getSpans(3, 6, StrikethroughSpan::class.java)\n        assertEquals(1, underlineSpan.size)\n        assertEquals(1, strikethroughSpan.size)\n\n        val backgroundColorSpan: Array<BackgroundColorSpan> = spannable2.getSpans(6, 9, BackgroundColorSpan::class.java)\n        val foregroundColorSpan: Array<ForegroundColorSpan> = spannable2.getSpans(6, 9, ForegroundColorSpan::class.java)\n        assertEquals(1, backgroundColorSpan.size)\n        assertEquals(1, foregroundColorSpan.size)\n        assertEquals(Color.RED, foregroundColorSpan[0].foregroundColor)\n        assertEquals(Color.BLUE, backgroundColorSpan[0].backgroundColor)\n\n        println(\"[COMPLETE]\")\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/BundleOfTest.kt",
    "content": "package com.example.android_test\n\nimport org.jetbrains.anko.bundleOf\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass BundleOfTest {\n\n    @Test\n    fun test() {\n        val bundle1 = bundleOf()\n        assert(bundle1.isEmpty)\n\n        val bundle2 = bundleOf(\n            \"one\" to 1,\n            \"abc\" to \"ABC\",\n            \"null\" to null\n        )\n\n        assert(bundle2.size() == 3)\n        assert(bundle2.get(\"one\") == 1)\n        assert(bundle2.get(\"abc\") == \"ABC\")\n        assert(bundle2.get(\"null\") == null)\n\n        println(\"[COMPLETE]\")\n    }\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/ChildrenSequenceTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport android.widget.LinearLayout\nimport android.widget.RelativeLayout\nimport android.widget.TextView\nimport org.jetbrains.anko.childrenRecursiveSequence\nimport org.jetbrains.anko.childrenSequence\nimport org.jetbrains.anko.relativeLayout\nimport org.jetbrains.anko.textView\nimport org.jetbrains.anko.verticalLayout\nimport org.junit.Assert.assertEquals\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\nopen class ChildrenSequenceTestActivity: Activity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n\n        verticalLayout {\n            id = 1\n\n            relativeLayout {\n                id = 2\n                textView {\n                    id = 3\n                }\n                textView {\n                    id = 4\n                }\n                relativeLayout {\n                    id = 5\n                    textView {\n                        id = 6\n                    }\n                }\n            }\n            textView {\n                id = 7\n            }\n        }\n    }\n}\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class ChildrenSequenceTest {\n    @Test fun testChildrenSequence() {\n        val activity = Robolectric.buildActivity(ChildrenSequenceTestActivity::class.java).create().get()\n\n        val verticalLayout = activity.findViewById(1) as LinearLayout\n        val relativeLayout = activity.findViewById(2) as RelativeLayout\n        val textView = activity.findViewById(3) as TextView\n\n        assertEquals(listOf(2, 7), verticalLayout.childrenSequence().map { it.id }.toList())\n        assertEquals(listOf(3, 4, 5), relativeLayout.childrenSequence().map { it.id }.toList())\n        assert(textView.childrenSequence().toList().isEmpty())\n    }\n\n    @Test fun testChildrenRecursiveSequence() {\n        val activity = Robolectric.buildActivity(ChildrenSequenceTestActivity::class.java).create().get()\n\n        val verticalLayout = activity.findViewById(1) as LinearLayout\n        val relativeLayout = activity.findViewById(2) as RelativeLayout\n        val textView = activity.findViewById(3) as TextView\n\n        assertEquals(listOf(2, 7, 3, 4, 5, 6), verticalLayout.childrenRecursiveSequence().map { it.id }.toList())\n        assertEquals(listOf(3, 4, 5, 6), relativeLayout.childrenRecursiveSequence().map { it.id }.toList())\n        assert(textView.childrenRecursiveSequence().toList().isEmpty())\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/ClassParserTest.kt",
    "content": "@file:Suppress(\"UNUSED_PARAMETER\", \"EqualsOrHashCode\")\n\npackage com.example.android_test\n\nimport android.text.SpannedString\nimport org.jetbrains.anko.db.ClassParserConstructor\nimport org.jetbrains.anko.db.classParser\nimport org.junit.Assert.assertEquals\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass ClassParserTest {\n    @Test\n    fun test() {\n        with (classParser<Class1>()) {\n            arrayOf<Any?>(\"A\", Long.MAX_VALUE, Double.MIN_VALUE).also {\n                assertEquals(Class1(\"A\", Long.MAX_VALUE, Double.MIN_VALUE), parseRow(it))\n                assertThrows { parseRow(emptyArray()) }\n                assertThrows { parseRow(arrayOf<Any?>(1)) }\n            }\n        }\n\n        with (classParser<Class1>()) {\n            arrayOf<Any?>('A', 5, -1.0).also {\n                val cl = Class1(\"A\", 5, -1.0)\n                assertEquals(cl, parseRow(it))\n                assertThrows { parseRow(arrayOf(\"A\", 5.0, -1.0)) }\n                assertEquals(cl, parseRow(arrayOf('A', 5, -1.0f)))\n            }\n        }\n\n        with (classParser<Class2>()) {\n            arrayOf<Any?>('c', 4, (-2).toShort(), -10.0F).also {\n                val cl = Class2('c', 4, (-2).toShort(), -10.0F)\n                assertEquals(cl, parseRow(it))\n                assertEquals(cl, parseRow(arrayOf(\"c\", 4L, -2, -10.0)))\n                assertEquals(cl, parseRow(arrayOf(\"c\", 4L, -2L, -10.0)))\n                assertThrows { parseRow(arrayOf(\"cc\", 4L, -2, -10.0)) }\n                assertThrows { parseRow(arrayOf('c', 4.0, -2, -10.0)) }\n            }\n        }\n\n        assertThrows { classParser<Class3>() }\n\n        with (classParser<Class4>()) {\n            arrayOf<Any?>(\"ABC\", \"BCD\", null).also {\n                assertEquals(Class4(\"ABC\", \"BCD\", null), parseRow(it))\n                parseRow(arrayOf(SpannedString(\"ABC\"), \"BCD\", 'c'))\n            }\n        }\n\n        assertThrows { classParser<Class5>() }\n\n        assertThrows { classParser<Class6>() }\n\n        assertThrows { classParser<Class7>() }\n\n        assertThrows { classParser<Class8>() }\n\n        assertThrows { classParser<Class9>() }\n\n        classParser<Class10>()\n\n        assertThrows { classParser<Class11>() }\n\n        with (classParser<Class12>()) {\n            arrayOf<Any?>(0).also {\n                val clTrue = Class12(true)\n                val clFalse = Class12(false)\n\n                assertEquals(clFalse, parseRow(it))\n                assertEquals(clFalse, parseRow(arrayOf(0L)))\n\n                assertEquals(clTrue, parseRow(arrayOf(1)))\n                assertEquals(clTrue, parseRow(arrayOf(1L)))\n            }\n        }\n    }\n\n    data class Class1(val s: String, val l: Long, val d: Double?)\n    data class Class2(val c: Char, val i: Int?, val s: Short, val f: Float)\n    class Class3\n    data class Class4(val a: CharSequence, val b: String, val c: Char?)\n    data class Class5 private constructor(val s: String)\n    data class Class6 protected constructor(val s: String)\n    data class Class7(val a: String, val b: Throwable)\n    class Class8(vararg val a: String) {\n        override fun equals(other: Any?) = a.contentEquals((other as Array<*>))\n    }\n\n    class Class9 {\n        constructor(a: Int)\n        constructor(a: Long)\n    }\n\n    class Class10 {\n        @ClassParserConstructor constructor(a: Int)\n        constructor(a: Long)\n    }\n\n    class Class11 {\n        @ClassParserConstructor constructor(a: Int)\n        @ClassParserConstructor constructor(a: Long)\n    }\n\n    private fun assertThrows(f: () -> Unit) {\n        try {\n            f()\n        } catch (e: Exception) {\n            return\n        }\n        throw AssertionError(\"Exception was not thrown\")\n    }\n\n    data class Class12(val b: Boolean)\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/CollectionsTest.kt",
    "content": "package com.example.android_test\n\nimport org.jetbrains.anko.collections.*\nimport org.junit.Assert.assertEquals\nimport org.junit.Assert.assertTrue\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class CollectionsTest {\n    @Test fun test() {\n        testArray(emptyArray<Int>())\n        testArray(emptyArray<String>())\n        assertEquals(listOf(1, 2, 3), testArray(arrayOf(1, 2, 3)))\n        assertEquals(listOf(\"A\", \"B\", \"C\"), testArray(arrayOf(\"A\", \"B\", \"C\")))\n        assertEquals(listOf(\"A\", null, \"C\"), testArray(arrayOf(\"A\", null, \"C\")))\n\n        testList(emptyList<Int>())\n        testList(emptyList<String>())\n        assertEquals(listOf(1, 2, 3), testList(listOf(1, 2, 3)))\n        assertEquals(listOf(\"A\", \"B\", \"C\"), testList(listOf(\"A\", \"B\", \"C\")))\n        assertEquals(listOf(\"A\", null, \"C\"), testList(listOf(\"A\", null, \"C\")))\n\n        val pair = Pair(1, \"A\")\n        val androidPair = pair.toAndroidPair()\n        val kotlinPair = androidPair.toKotlinPair()\n        assertEquals(pair.first, androidPair.first)\n        assertEquals(pair.second, androidPair.second)\n        assertEquals(pair, kotlinPair)\n\n        println(\"[COMPLETE]\")\n    }\n\n    private fun <T> testArray(arr: Array<T>): List<T> {\n        val elements = mutableListOf<T>()\n        val elements2 = mutableListOf<T>()\n        val indices = mutableListOf<Int>()\n\n        val elementsReversed = mutableListOf<T>()\n        val elements2Reversed = mutableListOf<T>()\n        val indicesReversed = mutableListOf<Int>()\n\n        arr.forEachByIndex { element ->\n            elements += element\n        }\n\n        arr.forEachWithIndex { index, element ->\n            elements2 += element\n            indices += index\n        }\n\n        arr.forEachReversedByIndex { element ->\n            elementsReversed += element\n        }\n\n        arr.forEachReversedWithIndex { index, element ->\n            elements2Reversed += element\n            indicesReversed += index\n        }\n\n        assertEquals(elements.size, arr.size)\n        assertEquals(arr.toList(), elements)\n        assertEquals(arr.toList().reversed(), elementsReversed)\n\n        assertEquals(elements, elements2)\n        assertEquals(elementsReversed, elements2Reversed)\n\n        assertEquals(arr.size, indices.size)\n        assertEquals(indicesReversed.reversed(), indices)\n        assertTrue((0..arr.size - 1).all { it in indices })\n\n        return elements\n    }\n\n    private fun <T> testList(list: List<T>): List<T> {\n        val elements = mutableListOf<T>()\n        val elements2 = mutableListOf<T>()\n        val indices = mutableListOf<Int>()\n\n        val elementsReversed = mutableListOf<T>()\n        val elements2Reversed = mutableListOf<T>()\n        val indicesReversed = mutableListOf<Int>()\n\n        list.forEachByIndex { element ->\n            elements += element\n        }\n\n        list.forEachWithIndex { index, element ->\n            elements2 += element\n            indices += index\n        }\n\n        list.forEachReversedByIndex { element ->\n            elementsReversed += element\n        }\n\n        list.forEachReversedWithIndex { index, element ->\n            elements2Reversed += element\n            indicesReversed += index\n        }\n\n        assertEquals(elements.size, list.size)\n        assertEquals(list.toList(), elements)\n        assertEquals(list.toList().reversed(), elementsReversed)\n\n        assertEquals(elements, elements2)\n        assertEquals(elementsReversed, elements2Reversed)\n\n        assertEquals(list.size, indices.size)\n        assertEquals(indicesReversed.reversed(), indices)\n        assertTrue((0..list.size - 1).all { it in indices })\n\n        return elements\n    }\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/CreateIntentTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport org.jetbrains.anko.internals.AnkoInternals\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.RuntimeEnvironment\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass CreateIntentTest {\n    @Test\n    fun test() {\n        val intent1 = AnkoInternals.createIntent(RuntimeEnvironment.application, Activity::class.java, arrayOf())\n        assert(intent1.extras == null)\n\n        val intent2 = AnkoInternals.createIntent(RuntimeEnvironment.application, Activity::class.java, arrayOf(\n                \"one\" to 1,\n                \"abc\" to \"ABC\",\n                \"null\" to null\n        ))\n\n        assert(intent2.extras.size() == 3)\n        assert(intent2.extras.get(\"one\") == 1)\n        assert(intent2.extras.get(\"abc\") == \"ABC\")\n        assert(intent2.extras.get(\"null\") == null)\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/DialogsTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.content.DialogInterface\nimport android.os.Bundle\nimport android.view.View\nimport android.widget.Button\nimport org.jetbrains.anko.alert\nimport org.jetbrains.anko.button\nimport org.jetbrains.anko.longToast\nimport org.jetbrains.anko.sdk15.listeners.onClick\nimport org.jetbrains.anko.toast\nimport org.jetbrains.anko.verticalLayout\nimport org.junit.Assert.assertEquals\nimport org.junit.Assert.assertFalse\nimport org.junit.Assert.assertNotNull\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\nimport org.robolectric.shadow.api.Shadow\nimport org.robolectric.shadows.ShadowAlertDialog\nimport org.robolectric.shadows.ShadowLooper\nimport org.robolectric.shadows.ShadowToast\n\nopen class DialogsTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n\n        verticalLayout {\n            button {\n                id = 1\n                onClick { toast(\"Button 1 toast\") }\n            }\n            button {\n                id = 2\n                onClick { longToast(\"Button 2 toast\") }\n            }\n            button {\n                id = 3\n                onClick {\n                    alert(\"Message\", \"Title\") {\n                        positiveButton(\"Positive\") {}\n                        negativeButton(\"Negative\") {}\n                    }.show()\n                }\n            }\n            button {\n                id = 4\n                onClick {\n                    alert(\"Message\", \"NonCancelable\") {\n                        isCancelable = false\n                        positiveButton(\"Ok\") { dialog -> dialog.dismiss()  }\n                    }.show()\n                }\n            }\n        }\n    }\n}\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class DialogsTest {\n\n    @Test fun test() {\n        val activity = Robolectric.buildActivity(DialogsTestActivity::class.java).create().get()\n        val button1 = activity.findViewById(1) as Button\n        val button2 = activity.findViewById(2) as Button\n        val button3 = activity.findViewById(3) as Button\n        val button4 = activity.findViewById(4) as Button\n\n        button1.performClick()\n        ShadowLooper.idleMainLooper()\n        assertEquals(\"Button 1 toast\", ShadowToast.getTextOfLatestToast())\n\n        button2.performClick()\n        ShadowLooper.idleMainLooper()\n        assertEquals(\"Button 2 toast\", ShadowToast.getTextOfLatestToast())\n\n        assertEquals(2, ShadowToast.shownToastCount())\n\n        button3.performClick()\n        val alert = ShadowAlertDialog.getLatestAlertDialog()\n        assertNotNull(alert)\n        val alertShadow = Shadow.extract<ShadowAlertDialog>(alert)\n\n        assertEquals(\"Message\", alertShadow.message.toString())\n        assertEquals(\"Title\", alertShadow.title.toString())\n        assertEquals(true, alertShadow.isCancelable)\n        assertEquals(View.VISIBLE, alert.getButton(DialogInterface.BUTTON_POSITIVE).visibility)\n        assertEquals(View.VISIBLE, alert.getButton(DialogInterface.BUTTON_NEGATIVE).visibility)\n        assertEquals(View.GONE, alert.getButton(DialogInterface.BUTTON_NEUTRAL).visibility)\n        alert.dismiss()\n\n        ShadowLooper.idleMainLooper()\n\n        button4.performClick()\n        val nonCancelableAlert = ShadowAlertDialog.getLatestAlertDialog()\n        assertNotNull(nonCancelableAlert)\n        val nonCancelableAlertShadow =\n                Shadow.extract<ShadowAlertDialog>(nonCancelableAlert)\n        assertEquals(\"NonCancelable\", nonCancelableAlertShadow.title.toString())\n        assertFalse(nonCancelableAlertShadow.isCancelable)\n\n        println(\"[COMPLETE]\")\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/FindViewTest.kt",
    "content": "package com.example.android_test\n\nimport android.annotation.SuppressLint\nimport android.app.Activity\nimport android.os.Bundle\nimport android.widget.Button\nimport android.widget.LinearLayout\nimport android.widget.RelativeLayout\nimport android.widget.TextView\nimport org.jetbrains.anko.custom.customView\nimport org.jetbrains.anko.relativeLayout\nimport org.jetbrains.anko.textView\nimport org.jetbrains.anko.verticalLayout\nimport org.junit.Assert.assertEquals\nimport org.junit.Assert.assertNotNull\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\nopen class FindViewTestActivity : Activity() {\n    @SuppressLint(\"SetTextI18n\")\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n\n        verticalLayout {\n            id = 1\n\n            relativeLayout {\n                id = 2\n\n                customView<Button> {\n                    text = \"Button text\"\n                    id = 3\n                }\n            }\n\n            textView {\n                id = 4\n            }\n        }\n    }\n}\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class FindViewTest {\n\n    @Test fun test() {\n        val activity = Robolectric.buildActivity(FindViewTestActivity::class.java).create().get()\n\n        val verticalLayout = activity.findViewById(1) as? LinearLayout\n        val relativeLayout = activity.findViewById(2) as? RelativeLayout\n\n        assertNotNull(verticalLayout)\n        assertNotNull(relativeLayout)\n\n        val button = relativeLayout!!.findViewById(3) as? Button\n        val textView = verticalLayout!!.findViewById(4) as? TextView\n\n        assertNotNull(button)\n        assertNotNull(textView)\n\n        assertEquals(\"Button text\", button!!.text.toString())\n\n        assertEquals(2, verticalLayout.childCount)\n        assertEquals(1, relativeLayout.childCount)\n\n        println(\"[COMPLETE]\")\n    }\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/IntentForTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.intentFor\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\nopen class IntentForTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n    }\n}\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass IntentForTest {\n\n    @Test\n    fun test() {\n        val activity = Robolectric.buildActivity(IntentForTestActivity::class.java).create().get()\n\n        val intent1 = activity.intentFor<IntentForTestActivity>()\n        assert(intent1.extras == null)\n\n        val intent2 = activity.intentFor<IntentForTestActivity>(\n                \"one\" to 1,\n                \"abc\" to \"ABC\",\n                \"null\" to null)\n\n        val extras2 = intent2.extras!!\n        assert(extras2.size() == 3)\n        assert(extras2.get(\"one\") == 1)\n        assert(extras2.get(\"abc\") == \"ABC\")\n        assert(extras2.get(\"null\") == null)\n\n        println(\"[COMPLETE]\")\n    }\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/RelativeLayoutHelpersTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.view.View\nimport android.widget.RelativeLayout\nimport org.jetbrains.anko.UI\nimport org.jetbrains.anko.above\nimport org.jetbrains.anko.alignParentBottom\nimport org.jetbrains.anko.alignParentEnd\nimport org.jetbrains.anko.alignParentLeft\nimport org.jetbrains.anko.alignParentRight\nimport org.jetbrains.anko.alignParentStart\nimport org.jetbrains.anko.alignParentTop\nimport org.jetbrains.anko.below\nimport org.jetbrains.anko.bottomOf\nimport org.jetbrains.anko.centerHorizontally\nimport org.jetbrains.anko.centerInParent\nimport org.jetbrains.anko.centerVertically\nimport org.jetbrains.anko.leftOf\nimport org.jetbrains.anko.relativeLayout\nimport org.jetbrains.anko.rightOf\nimport org.jetbrains.anko.sameBottom\nimport org.jetbrains.anko.sameLeft\nimport org.jetbrains.anko.sameRight\nimport org.jetbrains.anko.sameTop\nimport org.jetbrains.anko.textView\nimport org.jetbrains.anko.topOf\nimport org.junit.Assert.assertTrue\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\nopen class RelativeLayoutHelpersTestActivity : Activity()\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class RelativeLayoutHelpersTest {\n\n    @Test fun test() {\n        val activity = Robolectric.buildActivity(RelativeLayoutHelpersTestActivity::class.java).create().get()\n        test(activity)\n\n        println(\"[COMPLETE]\")\n    }\n\n}\n\nfun test(activity: Activity) {\n    val fst = 50\n    val snd = 60\n    with (activity) {\n        fun get(rule: Int, l: RelativeLayout.LayoutParams.(View) -> Unit) = test(fst, snd, l).rules[rule]\n        assertTrue(get(RelativeLayout.BELOW) { below(fst) } == fst)\n        assertTrue(get(RelativeLayout.BELOW) { bottomOf(fst) } == fst)\n        assertTrue(get(RelativeLayout.ABOVE) { above(fst) } == fst)\n        assertTrue(get(RelativeLayout.ABOVE) { topOf(fst) } == fst)\n        assertTrue(get(RelativeLayout.LEFT_OF) { leftOf(fst) } == fst)\n        assertTrue(get(RelativeLayout.RIGHT_OF) { rightOf(fst) } == fst)\n\n        assertTrue(test(fst, snd) { below(it) }.rules[RelativeLayout.BELOW] == fst)\n\n        assertTrue(get(RelativeLayout.ALIGN_LEFT) { sameLeft(fst) } == fst)\n        assertTrue(get(RelativeLayout.ALIGN_TOP) { sameTop(fst) } == fst)\n        assertTrue(get(RelativeLayout.ALIGN_RIGHT) { sameRight(fst) } == fst)\n        assertTrue(get(RelativeLayout.ALIGN_BOTTOM) { sameBottom(fst) } == fst)\n\n        assertTrue(get(RelativeLayout.ALIGN_PARENT_BOTTOM) { alignParentBottom() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.ALIGN_PARENT_TOP) { alignParentBottom() } == 0)\n        assertTrue(get(RelativeLayout.ALIGN_PARENT_LEFT) { alignParentLeft() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.ALIGN_PARENT_RIGHT) { alignParentRight() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.ALIGN_PARENT_START) { alignParentStart() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.ALIGN_PARENT_END) { alignParentEnd() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.CENTER_VERTICAL) { centerVertically() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.CENTER_HORIZONTAL) { centerHorizontally() } == RelativeLayout.TRUE)\n        assertTrue(get(RelativeLayout.CENTER_IN_PARENT) { centerInParent() } == RelativeLayout.TRUE)\n\n        val compoundRules = test(fst, snd) { alignParentTop(); alignParentLeft(); above(it); sameLeft(it) }.rules\n        assertTrue(compoundRules[RelativeLayout.ALIGN_PARENT_TOP] == RelativeLayout.TRUE)\n        assertTrue(compoundRules[RelativeLayout.ALIGN_PARENT_LEFT] == RelativeLayout.TRUE)\n        assertTrue(compoundRules[RelativeLayout.ALIGN_PARENT_BOTTOM] == 0)\n        assertTrue(compoundRules[RelativeLayout.ABOVE] == fst)\n        assertTrue(compoundRules[RelativeLayout.ALIGN_LEFT] == fst)\n    }\n}\n\nfun Activity.test(fst: Int, snd: Int, l: RelativeLayout.LayoutParams.(View) -> Unit) = (UI {\n    relativeLayout {\n        val fstView = textView {\n            id = fst\n        }\n        textView {\n            id = snd\n        }.lparams { l(fstView) }\n    }\n}.view as RelativeLayout).findViewById<View>(snd)?.layoutParams as RelativeLayout.LayoutParams\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/ServiceTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.os.Bundle\nimport org.jetbrains.anko.linearLayout\nimport org.jetbrains.anko.vibrator\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\nopen class ServiceTestActivity : Activity() {\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n        linearLayout {}\n    }\n}\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class ServiceTest {\n\n    @Test fun test() {\n        val activity = Robolectric.buildActivity(ServiceTestActivity::class.java).create().get()\n\n        val vibrator = activity.vibrator\n        vibrator.vibrate(100)\n\n        println(\"[COMPLETE]\")\n    }\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/SimpleTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Activity\nimport android.content.Context\nimport android.os.Bundle\nimport android.widget.Button\nimport android.widget.TextView\nimport org.jetbrains.anko.*\nimport org.jetbrains.anko.sdk15.listeners.onClick\nimport org.junit.Assert.assertEquals\nimport org.junit.Assert.assertNotNull\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.Robolectric\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\nopen class SimpleTestActivity : Activity() {\n    var ctxProperty: Context? = null\n    var actProperty: Activity? = null\n\n    public override fun onCreate(savedInstanceState: Bundle?): Unit {\n        super.onCreate(savedInstanceState)\n\n        ctxProperty = ctx\n        actProperty = act\n\n        verticalLayout {\n            val text = textView(\"Some text\") {\n                id = 1\n            }\n            button {\n                id = 2\n                onClick { text.text = \"New text\" }\n            }\n        }\n    }\n}\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class) class SimpleTest {\n\n    @Test fun test() {\n        val activity = Robolectric.buildActivity(SimpleTestActivity::class.java).create().get()\n        val textView = activity.findViewById(1) as TextView\n        val button = activity.findViewById(2) as Button\n\n        assertNotNull(activity.ctxProperty)\n        assertNotNull(activity.actProperty)\n\n        assertEquals(activity.ctxProperty, activity)\n        assertEquals(activity.actProperty, activity)\n\n        assertEquals(\"Some text\", textView.text.toString())\n        button.performClick()\n        assertEquals(\"New text\", textView.text.toString())\n\n        println(\"[COMPLETE]\")\n    }\n\n}\n"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/SparseArraysTest.kt",
    "content": "package com.example.android_test\n\nimport android.util.SparseArray\nimport android.util.SparseBooleanArray\nimport android.util.SparseIntArray\nimport org.jetbrains.anko.collections.forEach\nimport org.junit.Assert\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\npublic class SparseArraysTest {\n\n    @Test\n    fun testGenericForEachRandomNumbers() {\n        val sa = SparseArray<String>()\n\n        sa.put(2, 2.toString())\n        sa.put(8, 8.toString())\n        sa.put(5, 5.toString())\n        sa.put(10, 10.toString())\n        sa.put(7, 7.toString())\n        sa.put(4, 4.toString())\n        sa.put(9, 9.toString())\n        sa.put(1, 1.toString())\n        sa.put(3, 3.toString())\n        sa.put(6, 6.toString())\n\n        var invokeCount = 0\n        sa.forEach { k, v ->\n            invokeCount++\n            Assert.assertEquals(k.toString(), v)\n        }\n\n        Assert.assertEquals(invokeCount, sa.size())\n    }\n\n    @Test\n    fun testGenericEmptyArray() {\n        val sa = SparseArray<String>()\n        sa.forEach { k, v -> throw IllegalStateException(\"should not be called on an empty array\") }\n    }\n\n    @Test\n    fun testBooleanArrayForEach() {\n        val sa = SparseBooleanArray()\n\n        for (i in 1..101) {\n            sa.put(i, i % 2 == 0)\n        }\n\n        var invokeCount = 0\n        sa.forEach { k, v ->\n            invokeCount++\n            Assert.assertEquals(k % 2 == 0, v )\n        }\n\n        Assert.assertEquals(invokeCount, sa.size())\n    }\n\n    @Test\n    fun testBooleanEmptyArray() {\n        val sa = SparseBooleanArray()\n        sa.forEach { k, v -> throw IllegalStateException(\"should not be called on an empty array\") }\n    }\n\n    @Test\n    fun testIntArrayForEach() {\n        val sa = SparseIntArray()\n\n        for (i in 1..101) {\n            sa.put(i, i * 10)\n        }\n\n        var invokeCount = 0\n        sa.forEach { k, v ->\n            invokeCount++\n            Assert.assertEquals(k * 10, v )\n        }\n\n        Assert.assertEquals(invokeCount, sa.size())\n    }\n\n    @Test\n    fun testIntEmptyArray() {\n        val sa = SparseIntArray()\n        sa.forEach { k, v -> throw IllegalStateException(\"should not be called on an empty array\") }\n    }\n}"
  },
  {
    "path": "anko/library/robolectricTests/src/test/java/WithArgumentsTest.kt",
    "content": "package com.example.android_test\n\nimport android.app.Fragment\nimport org.jetbrains.anko.withArguments\nimport org.junit.Test\nimport org.junit.runner.RunWith\nimport org.robolectric.RobolectricTestRunner\nimport org.robolectric.annotation.Config\n\n@RunWith(RobolectricTestRunner::class)\n@Config(constants = BuildConfig::class)\nclass WithArgumentsTest {\n\n    @Test\n    fun test() {\n        val fragment1 = Fragment().withArguments()\n        assert(fragment1.arguments.isEmpty)\n\n        val fragment2 = Fragment().withArguments(\n            \"one\" to 1,\n            \"abc\" to \"ABC\",\n            \"null\" to null\n        )\n\n        val arguments = fragment2.arguments\n        assert(arguments.size() == 3)\n        assert(arguments.get(\"one\") == 1)\n        assert(arguments.get(\"abc\") == \"ABC\")\n        assert(arguments.get(\"null\") == null)\n\n        println(\"[COMPLETE]\")\n    }\n\n}\n"
  },
  {
    "path": "anko/library/static/appcompatV7/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:appcompat-v7:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':static:commons-base')\n}\n"
  },
  {
    "path": "anko/library/static/appcompatV7/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.appcompatV7\" />\n"
  },
  {
    "path": "anko/library/static/appcompatV7/src/main/java/SupportAlertBuilder.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko.appcompat.v7\n\nimport android.content.Context\nimport android.content.DialogInterface\nimport android.graphics.drawable.Drawable\nimport android.support.v7.app.AlertDialog\nimport android.view.KeyEvent\nimport android.view.View\nimport org.jetbrains.anko.AlertBuilder\nimport org.jetbrains.anko.AlertBuilderFactory\nimport org.jetbrains.anko.internals.AnkoInternals\nimport org.jetbrains.anko.internals.AnkoInternals.NO_GETTER\nimport kotlin.DeprecationLevel.ERROR\n\nval Appcompat: AlertBuilderFactory<AlertDialog> = ::AppcompatAlertBuilder\n\ninternal class AppcompatAlertBuilder(override val ctx: Context) : AlertBuilder<AlertDialog> {\n    private val builder = AlertDialog.Builder(ctx)\n\n    override var title: CharSequence\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setTitle(value) }\n\n    override var titleResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setTitle(value) }\n\n    override var message: CharSequence\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setMessage(value) }\n\n    override var messageResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setMessage(value) }\n\n    override var icon: Drawable\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setIcon(value) }\n\n    override var iconResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setIcon(value) }\n\n    override var customTitle: View\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setCustomTitle(value) }\n\n    override var customView: View\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setView(value) }\n\n    override var isCancelable: Boolean\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setCancelable(value) }\n\n    override fun onCancelled(handler: (DialogInterface) -> Unit) {\n        builder.setOnCancelListener(handler)\n    }\n\n    override fun onKeyPressed(handler: (dialog: DialogInterface, keyCode: Int, e: KeyEvent) -> Boolean) {\n        builder.setOnKeyListener(handler)\n    }\n\n    override fun positiveButton(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setPositiveButton(buttonText) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun positiveButton(buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setPositiveButton(buttonTextResource) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun negativeButton(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNegativeButton(buttonText) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun negativeButton(buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNegativeButton(buttonTextResource) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun neutralPressed(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNeutralButton(buttonText) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun neutralPressed(buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNeutralButton(buttonTextResource) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun items(items: List<CharSequence>, onItemSelected: (dialog: DialogInterface, index: Int) -> Unit) {\n        builder.setItems(Array(items.size) { i -> items[i].toString() }) { dialog, which ->\n            onItemSelected(dialog, which)\n        }\n    }\n\n    override fun <T> items(items: List<T>, onItemSelected: (dialog: DialogInterface, item: T, index: Int) -> Unit) {\n        builder.setItems(Array(items.size) { i -> items[i].toString() }) { dialog, which ->\n            onItemSelected(dialog, items[which], which)\n        }\n    }\n\n    override fun build(): AlertDialog = builder.create()\n\n    override fun show(): AlertDialog = builder.show()\n}"
  },
  {
    "path": "anko/library/static/commons/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:support-annotations:$SUPPORT_ARTIFACT_VERSION\"\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.commons\" />\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/AnkoContext.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.content.ContextWrapper\nimport android.view.View\nimport android.view.ViewGroup\nimport android.view.ViewManager\nimport org.jetbrains.anko.internals.AnkoInternals.createAnkoContext\n\n@DslMarker\nprivate annotation class AnkoContextDslMarker\n\n@AnkoContextDslMarker\ninterface AnkoContext<out T> : ViewManager {\n    val ctx: Context\n    val owner: T\n    val view: View\n\n    override fun updateViewLayout(view: View, params: ViewGroup.LayoutParams) {\n        throw UnsupportedOperationException()\n    }\n\n    override fun removeView(view: View) {\n        throw UnsupportedOperationException()\n    }\n\n    companion object {\n        fun create(ctx: Context, setContentView: Boolean = false): AnkoContext<Context>\n                = AnkoContextImpl(ctx, ctx, setContentView)\n\n        fun createReusable(ctx: Context, setContentView: Boolean = false): AnkoContext<Context>\n                = ReusableAnkoContext(ctx, ctx, setContentView)\n\n        fun <T> create(ctx: Context, owner: T, setContentView: Boolean = false): AnkoContext<T>\n                = AnkoContextImpl(ctx, owner, setContentView)\n\n        fun <T> createReusable(ctx: Context, owner: T, setContentView: Boolean = false): AnkoContext<T>\n                = ReusableAnkoContext(ctx, owner, setContentView)\n\n        fun <T: ViewGroup> createDelegate(owner: T): AnkoContext<T> = DelegatingAnkoContext(owner)\n    }\n}\n\ninternal class DelegatingAnkoContext<T: ViewGroup>(override val owner: T): AnkoContext<T> {\n    override val ctx: Context = owner.context\n    override val view: View = owner\n\n    override fun addView(view: View?, params: ViewGroup.LayoutParams?) {\n        if (view == null) return\n\n        if (params == null) {\n            owner.addView(view)\n        } else {\n            owner.addView(view, params)\n        }\n    }\n}\n\ninternal class ReusableAnkoContext<T>(\n        override val ctx: Context,\n        override val owner: T,\n        setContentView: Boolean\n) : AnkoContextImpl<T>(ctx, owner, setContentView) {\n    override fun alreadyHasView() {}\n}\n\nopen class AnkoContextImpl<T>(\n        override val ctx: Context,\n        override val owner: T,\n        private val setContentView: Boolean\n) : AnkoContext<T> {\n    private var myView: View? = null\n\n    override val view: View\n        get() = myView ?: throw IllegalStateException(\"View was not set previously\")\n\n    override fun addView(view: View?, params: ViewGroup.LayoutParams?) {\n        if (view == null) return\n\n        if (myView != null) {\n            alreadyHasView()\n        }\n\n        this.myView = view\n\n        if (setContentView) {\n            doAddView(ctx, view)\n        }\n    }\n\n    private fun doAddView(context: Context, view: View) {\n        when (context) {\n            is Activity -> context.setContentView(view)\n            is ContextWrapper -> doAddView(context.baseContext, view)\n            else -> throw IllegalStateException(\"Context is not an Activity, can't set content view\")\n        }\n    }\n\n    open protected fun alreadyHasView(): Unit = throw IllegalStateException(\"View is already set: $myView\")\n}\n\ninline fun Context.UI(setContentView: Boolean, init: AnkoContext<Context>.() -> Unit): AnkoContext<Context> =\n        createAnkoContext(this, init, setContentView)\n\ninline fun Context.UI(init: AnkoContext<Context>.() -> Unit): AnkoContext<Context> =\n        createAnkoContext(this, init)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.UI(init: AnkoContext<Fragment>.() -> Unit): AnkoContext<Fragment> =\n        createAnkoContext(activity, init)\n\ninterface AnkoComponent<in T> {\n    fun createView(ui: AnkoContext<T>): View\n}\n\nfun <T : Activity> AnkoComponent<T>.setContentView(activity: T): View =\n        createView(AnkoContextImpl(activity, activity, true))\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Async.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Handler\nimport android.os.Looper\nimport java.lang.ref.WeakReference\nimport java.util.concurrent.ExecutorService\nimport java.util.concurrent.Executors\nimport java.util.concurrent.Future\n\n/**\n * Execute [f] on the application UI thread.\n */\nfun Context.runOnUiThread(f: Context.() -> Unit) {\n    if (Looper.getMainLooper() === Looper.myLooper()) f() else ContextHelper.handler.post { f() }\n}\n\n/**\n * Execute [f] on the application UI thread.\n */\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.runOnUiThread(crossinline f: () -> Unit) {\n    activity?.runOnUiThread { f() }\n}\n\nclass AnkoAsyncContext<T>(val weakRef: WeakReference<T>)\n\n/**\n * Execute [f] on the application UI thread.\n * If the [doAsync] receiver still exists (was not collected by GC),\n *  [f] gets it as a parameter ([f] gets null if the receiver does not exist anymore).\n */\nfun <T> AnkoAsyncContext<T>.onComplete(f: (T?) -> Unit) {\n    val ref = weakRef.get()\n    if (Looper.getMainLooper() === Looper.myLooper()) {\n        f(ref)\n    } else {\n        ContextHelper.handler.post { f(ref) }\n    }\n}\n\n/**\n * Execute [f] on the application UI thread.\n * [doAsync] receiver will be passed to [f].\n * If the receiver does not exist anymore (it was collected by GC), [f] will not be executed.\n */\nfun <T> AnkoAsyncContext<T>.uiThread(f: (T) -> Unit): Boolean {\n    val ref = weakRef.get() ?: return false\n    if (Looper.getMainLooper() === Looper.myLooper()) {\n        f(ref)\n    } else {\n        ContextHelper.handler.post { f(ref) }\n    }\n    return true\n}\n\n/**\n * Execute [f] on the application UI thread if the underlying [Activity] still exists and is not finished.\n * The receiver [Activity] will be passed to [f].\n *  If it is not exist anymore or if it was finished, [f] will not be called.\n */\nfun <T: Activity> AnkoAsyncContext<T>.activityUiThread(f: (T) -> Unit): Boolean {\n    val activity = weakRef.get() ?: return false\n    if (activity.isFinishing) return false\n    activity.runOnUiThread { f(activity) }\n    return true\n}\n\nfun <T: Activity> AnkoAsyncContext<T>.activityUiThreadWithContext(f: Context.(T) -> Unit): Boolean {\n    val activity = weakRef.get() ?: return false\n    if (activity.isFinishing) return false\n    activity.runOnUiThread { activity.f(activity) }\n    return true\n}\n\n@JvmName(\"activityContextUiThread\")\nfun <T: Activity> AnkoAsyncContext<AnkoContext<T>>.activityUiThread(f: (T) -> Unit): Boolean {\n    val activity = weakRef.get()?.owner ?: return false\n    if (activity.isFinishing) return false\n    activity.runOnUiThread { f(activity) }\n    return true\n}\n\n@JvmName(\"activityContextUiThreadWithContext\")\nfun <T: Activity> AnkoAsyncContext<AnkoContext<T>>.activityUiThreadWithContext(f: Context.(T) -> Unit): Boolean {\n    val activity = weakRef.get()?.owner ?: return false\n    if (activity.isFinishing) return false\n    activity.runOnUiThread { activity.f(activity) }\n    return true\n}\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\nfun <T: Fragment> AnkoAsyncContext<T>.fragmentUiThread(f: (T) -> Unit): Boolean {\n    val fragment = weakRef.get() ?: return false\n    if (fragment.isDetached) return false\n    val activity = fragment.activity ?: return false\n    activity.runOnUiThread { f(fragment) }\n    return true\n}\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\nfun <T: Fragment> AnkoAsyncContext<T>.fragmentUiThreadWithContext(f: Context.(T) -> Unit): Boolean {\n    val fragment = weakRef.get() ?: return false\n    if (fragment.isDetached) return false\n    val activity = fragment.activity ?: return false\n    activity.runOnUiThread { activity.f(fragment) }\n    return true\n}\nprivate val crashLogger = { throwable : Throwable -> throwable.printStackTrace() }\n/**\n * Execute [task] asynchronously.\n *\n * @param exceptionHandler optional exception handler.\n *  If defined, any exceptions thrown inside [task] will be passed to it. If not, exceptions will be ignored.\n * @param task the code to execute asynchronously.\n */\nfun <T> T.doAsync(\n        exceptionHandler: ((Throwable) -> Unit)? = crashLogger,\n        task: AnkoAsyncContext<T>.() -> Unit\n): Future<Unit> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return BackgroundExecutor.submit {\n        return@submit try {\n            context.task()\n        } catch (thr: Throwable) {\n            val result = exceptionHandler?.invoke(thr)\n            if (result != null) {\n                result\n            } else {\n                Unit\n            }\n        }\n    }\n}\n\nfun <T> T.doAsync(\n        exceptionHandler: ((Throwable) -> Unit)? = crashLogger,\n        executorService: ExecutorService,\n        task: AnkoAsyncContext<T>.() -> Unit\n): Future<Unit> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return executorService.submit<Unit> {\n        try {\n            context.task()\n        } catch (thr: Throwable) {\n            exceptionHandler?.invoke(thr)\n        }\n    }\n}\n\nfun <T, R> T.doAsyncResult(\n        exceptionHandler: ((Throwable) -> Unit)? = crashLogger,\n        task: AnkoAsyncContext<T>.() -> R\n): Future<R> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return BackgroundExecutor.submit {\n        try {\n            context.task()\n        } catch (thr: Throwable) {\n            exceptionHandler?.invoke(thr)\n            throw thr\n        }\n    }\n}\n\nfun <T, R> T.doAsyncResult(\n        exceptionHandler: ((Throwable) -> Unit)? = crashLogger,\n        executorService: ExecutorService,\n        task: AnkoAsyncContext<T>.() -> R\n): Future<R> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return executorService.submit<R> {\n        try {\n            context.task()\n        } catch (thr: Throwable) {\n            exceptionHandler?.invoke(thr)\n            throw thr\n        }\n    }\n}\n\ninternal object BackgroundExecutor {\n    var executor: ExecutorService =\n        Executors.newScheduledThreadPool(2 * Runtime.getRuntime().availableProcessors())\n\n    fun <T> submit(task: () -> T): Future<T> = executor.submit(task)\n\n}\n\nprivate object ContextHelper {\n    val handler = Handler(Looper.getMainLooper())\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/ContextUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko\n\nimport android.app.Activity\nimport android.app.Dialog\nimport android.app.Fragment\nimport android.content.Context\nimport android.content.SharedPreferences\nimport android.content.res.AssetManager\nimport android.content.res.Configuration\nimport android.content.res.Resources\nimport android.os.Bundle\nimport android.os.Parcelable\nimport android.preference.PreferenceManager\nimport android.support.annotation.IdRes\nimport android.view.View\nimport android.view.ViewGroup\nimport java.io.Serializable\n\ninline val AnkoContext<*>.resources: Resources\n    get() = ctx.resources\n\ninline val AnkoContext<*>.assets: AssetManager\n    get() = ctx.assets\n\ninline val AnkoContext<*>.defaultSharedPreferences: SharedPreferences\n    get() = PreferenceManager.getDefaultSharedPreferences(ctx)\n\ninline val Context.defaultSharedPreferences: SharedPreferences\n    get() = PreferenceManager.getDefaultSharedPreferences(this)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline val Fragment.defaultSharedPreferences: SharedPreferences\n    get() = PreferenceManager.getDefaultSharedPreferences(activity)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline val Fragment.act: Activity\n    get() = activity\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline val Fragment.ctx: Context\n    get() = activity\n\n@Deprecated(message = \"Inline\", replaceWith = ReplaceWith(\"this\"))\ninline val Context.ctx: Context\n    get() = this\n\n@Deprecated(message = \"Inline\", replaceWith = ReplaceWith(\"this\"))\ninline val Activity.act: Activity\n    get() = this\n\n/**\n * Returns the content view of this Activity if set, null otherwise.\n */\ninline val Activity.contentView: View?\n    get() = findOptional<ViewGroup>(android.R.id.content)?.getChildAt(0)\n\ninline fun <reified T : View> View.find(@IdRes id: Int): T = findViewById(id)\ninline fun <reified T : View> Activity.find(@IdRes id: Int): T = findViewById(id)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T : View> Fragment.find(@IdRes id: Int): T = view?.findViewById(id) as T\ninline fun <reified T : View> Dialog.find(@IdRes id: Int): T = findViewById(id)\n\ninline fun <reified T : View> View.findOptional(@IdRes id: Int): T? = findViewById(id) as? T\ninline fun <reified T : View> Activity.findOptional(@IdRes id: Int): T? = findViewById(id) as? T\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T : View> Fragment.findOptional(@IdRes id: Int): T? = view?.findViewById(id) as? T\ninline fun <reified T : View> Dialog.findOptional(@IdRes id: Int): T? = findViewById(id) as? T\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <T: Fragment> T.withArguments(vararg params: Pair<String, Any?>): T {\n    arguments = bundleOf(*params)\n    return this\n}\n\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"bundleOf(*params)\", \"androidx.core.os.bundleOf\"))\nfun bundleOf(vararg params: Pair<String, Any?>): Bundle {\n    val b = Bundle()\n    for (p in params) {\n        val (k, v) = p\n        when (v) {\n            null -> b.putSerializable(k, null)\n            is Boolean -> b.putBoolean(k, v)\n            is Byte -> b.putByte(k, v)\n            is Char -> b.putChar(k, v)\n            is Short -> b.putShort(k, v)\n            is Int -> b.putInt(k, v)\n            is Long -> b.putLong(k, v)\n            is Float -> b.putFloat(k, v)\n            is Double -> b.putDouble(k, v)\n            is String -> b.putString(k, v)\n            is CharSequence -> b.putCharSequence(k, v)\n            is Parcelable -> b.putParcelable(k, v)\n            is Serializable -> b.putSerializable(k, v)\n            is BooleanArray -> b.putBooleanArray(k, v)\n            is ByteArray -> b.putByteArray(k, v)\n            is CharArray -> b.putCharArray(k, v)\n            is DoubleArray -> b.putDoubleArray(k, v)\n            is FloatArray -> b.putFloatArray(k, v)\n            is IntArray -> b.putIntArray(k, v)\n            is LongArray -> b.putLongArray(k, v)\n            is Array<*> -> {\n                @Suppress(\"UNCHECKED_CAST\")\n                when {\n                    v.isArrayOf<Parcelable>() -> b.putParcelableArray(k, v as Array<out Parcelable>)\n                    v.isArrayOf<CharSequence>() -> b.putCharSequenceArray(k, v as Array<out CharSequence>)\n                    v.isArrayOf<String>() -> b.putStringArray(k, v as Array<out String>)\n                    else -> throw AnkoException(\"Unsupported bundle component (${v.javaClass})\")\n                }\n            }\n            is ShortArray -> b.putShortArray(k, v)\n            is Bundle -> b.putBundle(k, v)\n            else -> throw AnkoException(\"Unsupported bundle component (${v.javaClass})\")\n        }\n    }\n\n    return b\n}\n\ninline val Context.displayMetrics: android.util.DisplayMetrics\n    get() = resources.displayMetrics\n\ninline val Context.configuration: Configuration\n    get() = resources.configuration\n\ninline val AnkoContext<*>.displayMetrics: android.util.DisplayMetrics\n    get() = ctx.resources.displayMetrics\n\ninline val AnkoContext<*>.configuration: Configuration\n    get() = ctx.resources.configuration\n\ninline val Configuration.portrait: Boolean\n    get() = orientation == Configuration.ORIENTATION_PORTRAIT\n\ninline val Configuration.landscape: Boolean\n    get() = orientation == Configuration.ORIENTATION_LANDSCAPE\n\ninline val Configuration.long: Boolean\n    get() = (screenLayout and Configuration.SCREENLAYOUT_LONG_YES) != 0\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Custom.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.custom\n\nimport android.app.Activity\nimport android.content.Context\nimport android.view.View\nimport android.view.ViewManager\nimport org.jetbrains.anko.internals.AnkoInternals\n\n\ninline fun <T : View> ViewManager.ankoView(factory: (ctx: Context) -> T, theme: Int, init: T.() -> Unit): T {\n    val ctx = AnkoInternals.wrapContextIfNeeded(AnkoInternals.getContext(this), theme)\n    val view = factory(ctx)\n    view.init()\n    AnkoInternals.addView(this, view)\n    return view\n}\n\ninline fun <T : View> Context.ankoView(factory: (ctx: Context) -> T, theme: Int, init: T.() -> Unit): T {\n    val ctx = AnkoInternals.wrapContextIfNeeded(this, theme)\n    val view = factory(ctx)\n    view.init()\n    AnkoInternals.addView(this, view)\n    return view\n}\n\ninline fun <T : View> Activity.ankoView(factory: (ctx: Context) -> T, theme: Int, init: T.() -> Unit): T {\n    val ctx = AnkoInternals.wrapContextIfNeeded(this, theme)\n    val view = factory(ctx)\n    view.init()\n    AnkoInternals.addView(this, view)\n    return view\n}\n\ninline fun <reified T : View> ViewManager.customView(theme: Int = 0, init: T.() -> Unit): T =\n        ankoView({ ctx -> AnkoInternals.initiateView(ctx, T::class.java) }, theme) { init() }\n\ninline fun <reified T : View> Context.customView(theme: Int = 0, init: T.() -> Unit): T =\n        ankoView({ ctx -> AnkoInternals.initiateView(ctx, T::class.java) }, theme) { init() }\n\ninline fun <reified T : View> Activity.customView(theme: Int = 0, init: T.() -> Unit): T =\n        ankoView({ ctx -> AnkoInternals.initiateView(ctx, T::class.java) }, theme) { init() }"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Deprecated.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.custom\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.view.View\nimport org.jetbrains.anko.AnkoAsyncContext\nimport org.jetbrains.anko.BackgroundExecutor\nimport org.jetbrains.anko.applyRecursively\nimport org.jetbrains.anko.collections.forEachReversedByIndex\nimport org.jetbrains.anko.runOnUiThread\nimport java.lang.ref.WeakReference\nimport java.util.concurrent.ExecutorService\nimport java.util.concurrent.Future\n\n@Deprecated(\"Use forEachReversedByIndex(f) instead.\",\n        ReplaceWith(\"forEachReversedByIndex(f)\", \"org.jetbrains.anko.collections.forEachReversedByIndex\"))\ninline fun <T> Array<T>.forEachReversed(f: (T) -> Unit) = forEachReversedByIndex(f)\n\n@Deprecated(\"Use forEachReversedByIndex(f) instead.\",\n        ReplaceWith(\"forEachReversedByIndex(f)\", \"org.jetbrains.anko.collections.forEachReversedByIndex\"))\ninline fun <T> List<T>.forEachReversed(f: (T) -> Unit) = forEachReversedByIndex(f)\n\n@Deprecated(\"Use runOnUiThread(f) instead.\", ReplaceWith(\"runOnUiThread(f)\"))\ninline fun Fragment.onUiThread(crossinline f: () -> Unit) = runOnUiThread(f)\n\n@Deprecated(\"Use runOnUiThread(f) instead.\", ReplaceWith(\"runOnUiThread(f)\"))\nfun Context.onUiThread(f: Context.() -> Unit) = runOnUiThread(f)\n\n@Deprecated(\"Use doAsync(task) instead.\", ReplaceWith(\"doAsync(task)\"))\nfun <T> T.async(task: AnkoAsyncContext<T>.() -> Unit): Future<Unit> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return BackgroundExecutor.submit { context.task() }\n}\n\n@Deprecated(\"Use doAsync(executorService, task) instead.\", ReplaceWith(\"doAsync(executorService, task)\"))\nfun <T> T.async(executorService: ExecutorService, task: AnkoAsyncContext<T>.() -> Unit): Future<Unit> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return executorService.submit<Unit> { context.task() }\n}\n\n@Deprecated(\"Use doAsyncResult(task) instead.\", ReplaceWith(\"doAsyncResult(task)\"))\nfun <T, R> T.asyncResult(task: AnkoAsyncContext<T>.() -> R): Future<R> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return BackgroundExecutor.submit { context.task() }\n}\n\n@Deprecated(\"Use doAsyncResult(executorService, task) instead.\", ReplaceWith(\"doAsyncResult(executorService, task)\"))\nfun <T, R> T.asyncResult(executorService: ExecutorService, task: AnkoAsyncContext<T>.() -> R): Future<R> {\n    val context = AnkoAsyncContext(WeakReference(this))\n    return executorService.submit<R> { context.task() }\n}\n\n\n@Deprecated(\"Use applyRecursively(block) instead.\", ReplaceWith(\"applyRecursively(style)\"))\nfun <T : View> T.style(style: (View) -> Unit): T = applyRecursively(style)"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Dimensions.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.support.annotation.DimenRes\nimport android.util.DisplayMetrics\nimport android.view.View\n\nconst val LDPI: Int = DisplayMetrics.DENSITY_LOW\nconst val MDPI: Int = DisplayMetrics.DENSITY_MEDIUM\nconst val HDPI: Int = DisplayMetrics.DENSITY_HIGH\n\nconst val TVDPI: Int = DisplayMetrics.DENSITY_TV\nconst val XHDPI: Int = DisplayMetrics.DENSITY_XHIGH\nconst val XXHDPI: Int = DisplayMetrics.DENSITY_XXHIGH\nconst val XXXHDPI: Int = DisplayMetrics.DENSITY_XXXHIGH\n\nconst val MAXDPI: Int = 0xfffe\n\n//returns dip(dp) dimension value in pixels\nfun Context.dip(value: Int): Int = (value * resources.displayMetrics.density).toInt()\nfun Context.dip(value: Float): Int = (value * resources.displayMetrics.density).toInt()\n\n//return sp dimension value in pixels\nfun Context.sp(value: Int): Int = (value * resources.displayMetrics.scaledDensity).toInt()\nfun Context.sp(value: Float): Int = (value * resources.displayMetrics.scaledDensity).toInt()\n\n//converts px value into dip or sp\nfun Context.px2dip(px: Int): Float = px.toFloat() / resources.displayMetrics.density\nfun Context.px2sp(px: Int): Float = px.toFloat() / resources.displayMetrics.scaledDensity\n\nfun Context.dimen(@DimenRes resource: Int): Int = resources.getDimensionPixelSize(resource)\n\n\n//the same for nested DSL components\ninline fun AnkoContext<*>.dip(value: Int): Int = ctx.dip(value)\ninline fun AnkoContext<*>.dip(value: Float): Int = ctx.dip(value)\ninline fun AnkoContext<*>.sp(value: Int): Int = ctx.sp(value)\ninline fun AnkoContext<*>.sp(value: Float): Int = ctx.sp(value)\ninline fun AnkoContext<*>.px2dip(px: Int): Float = ctx.px2dip(px)\ninline fun AnkoContext<*>.px2sp(px: Int): Float = ctx.px2sp(px)\ninline fun AnkoContext<*>.dimen(@DimenRes resource: Int): Int = ctx.dimen(resource)\n\n//the same for the views\ninline fun View.dip(value: Int): Int = context.dip(value)\ninline fun View.dip(value: Float): Int = context.dip(value)\ninline fun View.sp(value: Int): Int = context.sp(value)\ninline fun View.sp(value: Float): Int = context.sp(value)\ninline fun View.px2dip(px: Int): Float = context.px2dip(px)\ninline fun View.px2sp(px: Int): Float = context.px2sp(px)\ninline fun View.dimen(@DimenRes resource: Int): Int = context.dimen(resource)\n\n//the same for Fragments\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.dip(value: Int): Int = activity.dip(value)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.dip(value: Float): Int = activity.dip(value)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.sp(value: Int): Int = activity.sp(value)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.sp(value: Float): Int = activity.sp(value)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.px2dip(px: Int): Float = activity.px2dip(px)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.px2sp(px: Int): Float = activity.px2sp(px)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.dimen(@DimenRes resource: Int): Int = activity.dimen(resource)\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Helpers.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport org.jetbrains.anko.internals.AnkoInternals\n\nopen class AnkoException(message: String = \"\") : RuntimeException(message)\n\n/**\n * Return the grayscale color with the zero opacity using the single color value.\n * E.g., 0xC0 will be translated to 0xC0C0C0.\n */\nval Int.gray: Int\n    get() = this or (this shl 8) or (this shl 16)\n\n/**\n * Return the color with 0xFF opacity.\n * E.g., 0xabcdef will be translated to 0xFFabcdef.\n */\nval Int.opaque: Int\n    get() = this or 0xff000000.toInt()\n\n/**\n * Return the color with the given alpha value.\n * Examples:\n *   0xabcdef.withAlpha(0xCF) == 0xCFabcdef\n *   0xFFabcdef.withAlpha(0xCF) == 0xCFabcdef\n *\n * @param alpha the alpha channel value: [0x0..0xFF].\n * @return the color with the given alpha value applied.\n */\nfun Int.withAlpha(alpha: Int): Int {\n    require(alpha in 0..0xFF)\n    return this and 0x00FFFFFF or (alpha shl 24)\n}\n\nenum class ScreenSize {\n    SMALL,\n    NORMAL,\n    LARGE,\n    XLARGE\n}\n\nenum class UiMode {\n    NORMAL,\n    CAR,\n    DESK,\n    TELEVISION,\n    APPLIANCE,\n    WATCH\n}\n\nenum class Orientation {\n    PORTRAIT,\n    LANDSCAPE,\n    SQUARE\n}\n\n/**\n * Execute [f] if the device configuration matches all given constraints.\n * You can use named arguments to provide only the relevant constraints.\n * All null constraints are ignored.\n *\n * @param screenSize the required screen size.\n * @param density the required screen density.\n * @param language the required system language.\n * @param orientation the current screen orientation.\n * @param long true, if the screen layout is long. See [Configuration.SCREENLAYOUT_LONG_YES] for more information.\n * @param fromSdk the minimal SDK version for code to execute.\n * @param sdk the target SDK version. Code will not be executed if the device Android SDK version is different\n *        (lower or higher than the given value).\n * @param uiMode the required interface mode.\n * @param nightMode true, if the device should be in the night mode, false if should not.\n * @param rightToLeft true, if the device locale should be a right-to-left one, false if should not.\n * @param smallestWidth the required smallest width of the screen.\n */\ninline fun <T: Any> Context.configuration(\n        screenSize: ScreenSize? = null,\n        density: ClosedRange<Int>? = null,\n        language: String? = null,\n        orientation: Orientation? = null,\n        long: Boolean? = null,\n        fromSdk: Int? = null,\n        sdk: Int? = null,\n        uiMode: UiMode? = null,\n        nightMode: Boolean? = null,\n        rightToLeft: Boolean? = null,\n        smallestWidth: Int? = null,\n        f: () -> T\n): T? = if (AnkoInternals.testConfiguration(this, screenSize, density, language, orientation, long,\n        fromSdk, sdk, uiMode, nightMode, rightToLeft, smallestWidth)) f() else null\n\n/**\n * Execute [f] if the device configuration matches all given constraints.\n * You can use named arguments to provide only the relevant constraints.\n * All null constraints are ignored.\n *\n * @param screenSize the required screen size.\n * @param density the required screen density.\n * @param language the required system language.\n * @param orientation the current screen orientation.\n * @param long true, if the screen layout is long. See [Configuration.SCREENLAYOUT_LONG_YES] for more information.\n * @param fromSdk the minimal SDK version for code to execute.\n * @param sdk the target SDK version. Code will not be executed if the device Android SDK version is different\n *        (lower or higher than the given value).\n * @param uiMode the required interface mode.\n * @param nightMode true, if the device should be in the night mode, false if should not.\n * @param rightToLeft true, if the device locale should be a right-to-left one, false if should not.\n * @param smallestWidth the required smallest width of the screen.\n */\ninline fun <T: Any> Activity.configuration(\n        screenSize: ScreenSize? = null,\n        density: ClosedRange<Int>? = null,\n        language: String? = null,\n        orientation: Orientation? = null,\n        long: Boolean? = null,\n        fromSdk: Int? = null,\n        sdk: Int? = null,\n        uiMode: UiMode? = null,\n        nightMode: Boolean? = null,\n        rightToLeft: Boolean? = null,\n        smallestWidth: Int? = null,\n        f: () -> T\n): T? = if (AnkoInternals.testConfiguration(this, screenSize, density, language, orientation, long,\n        fromSdk, sdk, uiMode, nightMode, rightToLeft, smallestWidth)) f() else null\n\n/**\n * Execute [f] if the device configuration matches all given constraints.\n * You can use named arguments to provide only the relevant constraints.\n * All null constraints are ignored.\n *\n * @param screenSize the required screen size.\n * @param density the required screen density.\n * @param language the required system language.\n * @param orientation the current screen orientation.\n * @param long true, if the screen layout is long. See [Configuration.SCREENLAYOUT_LONG_YES] for more information.\n * @param fromSdk the minimal SDK version for code to execute.\n * @param sdk the target SDK version. Code will not be executed if the device Android SDK version is different\n *        (lower or higher than the given value).\n * @param uiMode the required interface mode.\n * @param nightMode true, if the device should be in the night mode, false if should not.\n * @param rightToLeft true, if the device locale should be a right-to-left one, false if should not.\n * @param smallestWidth the required smallest width of the screen.\n */\ninline fun <T: Any> AnkoContext<*>.configuration(\n        screenSize: ScreenSize? = null,\n        density: ClosedRange<Int>? = null,\n        language: String? = null,\n        orientation: Orientation? = null,\n        long: Boolean? = null,\n        fromSdk: Int? = null,\n        sdk: Int? = null,\n        uiMode: UiMode? = null,\n        nightMode: Boolean? = null,\n        rightToLeft: Boolean? = null,\n        smallestWidth: Int? = null,\n        f: () -> T\n): T? = if (AnkoInternals.testConfiguration(ctx, screenSize, density, language, orientation, long,\n        fromSdk, sdk, uiMode, nightMode, rightToLeft, smallestWidth)) f() else null\n\n/**\n * Execute [f] if the device configuration matches all given constraints.\n * You can use named arguments to provide only the relevant constraints.\n * All null constraints are ignored.\n *\n * @param screenSize the required screen size.\n * @param density the required screen density.\n * @param language the required system language.\n * @param orientation the current screen orientation.\n * @param long true, if the screen layout is long. See [Configuration.SCREENLAYOUT_LONG_YES] for more information.\n * @param fromSdk the minimal SDK version for code to execute.\n * @param sdk the target SDK version. Code will not be executed if the device Android SDK version is different\n *        (lower or higher than the given value).\n * @param uiMode the required interface mode.\n * @param nightMode true, if the device should be in the night mode, false if should not.\n * @param rightToLeft true, if the device locale should be a right-to-left one, false if should not.\n * @param smallestWidth the required smallest width of the screen.\n */\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <T: Any> Fragment.configuration(\n        screenSize: ScreenSize? = null,\n        density: ClosedRange<Int>? = null,\n        language: String? = null,\n        orientation: Orientation? = null,\n        long: Boolean? = null,\n        fromSdk: Int? = null,\n        sdk: Int? = null,\n        uiMode: UiMode? = null,\n        nightMode: Boolean? = null,\n        rightToLeft: Boolean? = null,\n        smallestWidth: Int? = null,\n        f: () -> T\n): T? {\n    val act = activity\n    return if (act != null) {\n        if (AnkoInternals.testConfiguration(act, screenSize, density, language, orientation, long,\n                fromSdk, sdk, uiMode, nightMode, rightToLeft, smallestWidth)) f() else null\n    }\n    else null\n}\n\n/**\n * Execute [f] only if the current Android SDK version is [version] or older.\n * Do nothing otherwise.\n */\ninline fun doBeforeSdk(version: Int, f: () -> Unit) {\n    if (Build.VERSION.SDK_INT <= version) f()\n}\n\n/**\n * Execute [f] only if the current Android SDK version is [version] or newer.\n * Do nothing otherwise.\n */\ninline fun doFromSdk(version: Int, f: () -> Unit) {\n    if (Build.VERSION.SDK_INT >= version) f()\n}\n\n/**\n * Execute [f] only if the current Android SDK version is [version].\n * Do nothing otherwise.\n */\ninline fun doIfSdk(version: Int, f: () -> Unit) {\n    if (Build.VERSION.SDK_INT == version) f()\n}\n\n/**\n * Result of the [attempt] function.\n * Either [value] or [error] is not null.\n *\n * @property value the return value if code execution was finished without an exception, null otherwise.\n * @property error a caught [Throwable] or null if nothing was caught.\n */\ndata class AttemptResult<out T> @PublishedApi internal constructor(val value: T?, val error: Throwable?) {\n    inline fun <R> then(f: (T) -> R): AttemptResult<R> {\n        if (isError) {\n            @Suppress(\"UNCHECKED_CAST\")\n            return this as AttemptResult<R>\n        }\n\n        return attempt { f(value as T) }\n    }\n\n    inline val isError: Boolean\n        get() = error != null\n\n    inline val hasValue: Boolean\n        get() = error == null\n}\n\n/**\n * Execute [f] and return the result or an exception, if an exception was occurred.\n */\ninline fun <T> attempt(f: () -> T): AttemptResult<T> {\n    var value: T? = null\n    var error: Throwable? = null\n    try {\n        value = f()\n    } catch(t: Throwable) {\n        error = t\n    }\n    return AttemptResult(value, error)\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Intents.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Activity\nimport android.app.Fragment\nimport android.app.Service\nimport android.content.ActivityNotFoundException\nimport android.content.Context\nimport android.content.Intent\nimport android.net.Uri\nimport android.os.Build\nimport org.jetbrains.anko.internals.AnkoInternals\n\ninline fun <reified T: Activity> Context.startActivity(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartActivity(this, T::class.java, params)\n\ninline fun <reified T: Activity> AnkoContext<*>.startActivity(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartActivity(ctx, T::class.java, params)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T: Activity> Fragment.startActivity(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartActivity(activity, T::class.java, params)\n\ninline fun <reified T: Activity> Activity.startActivityForResult(requestCode: Int, vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartActivityForResult(this, T::class.java, requestCode, params)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T: Activity> Fragment.startActivityForResult(requestCode: Int, vararg params: Pair<String, Any?>) =\n        startActivityForResult(AnkoInternals.createIntent(act, T::class.java, params), requestCode)\n\ninline fun <reified T: Service> Context.startService(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartService(this, T::class.java, params)\n\ninline fun <reified T: Service> AnkoContext<*>.startService(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartService(ctx, T::class.java, params)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T: Service> Fragment.startService(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStartService(activity, T::class.java, params)\n\ninline fun <reified T : Service> Context.stopService(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStopService(this, T::class.java, params)\n\ninline fun <reified T : Service> AnkoContext<*>.stopService(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStopService(ctx, T::class.java, params)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T : Service> Fragment.stopService(vararg params: Pair<String, Any?>) =\n        AnkoInternals.internalStopService(activity, T::class.java, params)\n\ninline fun <reified T: Any> Context.intentFor(vararg params: Pair<String, Any?>): Intent =\n        AnkoInternals.createIntent(this, T::class.java, params)\n\ninline fun <reified T: Any> AnkoContext<*>.intentFor(vararg params: Pair<String, Any?>): Intent =\n        AnkoInternals.createIntent(ctx, T::class.java, params)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <reified T: Any> Fragment.intentFor(vararg params: Pair<String, Any?>): Intent =\n        AnkoInternals.createIntent(activity, T::class.java, params)\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_CLEAR_TASK] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.clearTask(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_CLEAR_TOP] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.clearTop(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\n@Deprecated(message = \"Deprecated in Android\", replaceWith = ReplaceWith(\"org.jetbrains.anko.newDocument\"))\ninline fun Intent.clearWhenTaskReset(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_NEW_DOCUMENT] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.newDocument(): Intent = apply {\n    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n        addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT)\n    } else {\n        @Suppress(\"DEPRECATION\")\n        addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET)\n    }\n}\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.excludeFromRecents(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_MULTIPLE_TASK] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.multipleTask(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_NEW_TASK] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.newTask(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_NO_ANIMATION] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.noAnimation(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_NO_HISTORY] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.noHistory(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY) }\n\n/**\n * Add the [Intent.FLAG_ACTIVITY_SINGLE_TOP] flag to the [Intent].\n *\n * @return the same intent with the flag applied.\n */\ninline fun Intent.singleTop(): Intent = apply { addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP) }\n\ninline fun AnkoContext<*>.browse(url: String, newTask: Boolean = false) = ctx.browse(url, newTask)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.browse(url: String, newTask: Boolean = false) = activity.browse(url, newTask)\n\nfun Context.browse(url: String, newTask: Boolean = false): Boolean {\n    try {\n        val intent = Intent(Intent.ACTION_VIEW)\n        intent.data = Uri.parse(url)\n        if (newTask) {\n            intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)\n        }\n        startActivity(intent)\n        return true\n    } catch (e: ActivityNotFoundException) {\n        e.printStackTrace()\n        return false\n    }\n}\n\ninline fun AnkoContext<*>.share(text: String, subject: String = \"\", title: String? = null) = ctx.share(text, subject, title)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.share(text: String, subject: String = \"\", title: String? = null) = activity.share(text, subject, title)\n\nfun Context.share(text: String, subject: String = \"\", title: String? = null): Boolean {\n    return try {\n        val intent = Intent(android.content.Intent.ACTION_SEND)\n        intent.type = \"text/plain\"\n        intent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject)\n        intent.putExtra(android.content.Intent.EXTRA_TEXT, text)\n        startActivity(Intent.createChooser(intent, title))\n        true\n    } catch (e: ActivityNotFoundException) {\n        e.printStackTrace()\n        false\n    }\n}\n\ninline fun AnkoContext<*>.email(email: String, subject: String = \"\", text: String = \"\") = ctx.email(email, subject, text)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.email(email: String, subject: String = \"\", text: String = \"\") = activity.email(email, subject, text)\n\nfun Context.email(email: String, subject: String = \"\", text: String = \"\"): Boolean {\n    val intent = Intent(Intent.ACTION_SENDTO)\n    intent.data = Uri.parse(\"mailto:\")\n    intent.putExtra(Intent.EXTRA_EMAIL, arrayOf(email))\n    if (subject.isNotEmpty())\n        intent.putExtra(Intent.EXTRA_SUBJECT, subject)\n    if (text.isNotEmpty())\n        intent.putExtra(Intent.EXTRA_TEXT, text)\n    if (intent.resolveActivity(packageManager) != null) {\n        startActivity(intent)\n        return true\n    }\n    return false\n\n}\n\ninline fun AnkoContext<*>.makeCall(number: String): Boolean = ctx.makeCall(number)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.makeCall(number: String): Boolean = activity.makeCall(number)\n\nfun Context.makeCall(number: String): Boolean {\n    try {\n        val intent = Intent(Intent.ACTION_CALL, Uri.parse(\"tel:$number\"))\n        startActivity(intent)\n        return true\n    } catch (e: Exception) {\n        e.printStackTrace()\n        return false\n    }\n}\n\ninline fun AnkoContext<*>.sendSMS(number: String, text: String = \"\"): Boolean = ctx.sendSMS(number, text)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.sendSMS(number: String, text: String = \"\"): Boolean = activity.sendSMS(number, text)\n\nfun Context.sendSMS(number: String, text: String = \"\"): Boolean {\n    try {\n        val intent = Intent(Intent.ACTION_VIEW, Uri.parse(\"sms:$number\"))\n        intent.putExtra(\"sms_body\", text)\n        startActivity(intent)\n        return true\n    } catch (e: Exception) {\n        e.printStackTrace()\n        return false\n    }\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Internals.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko.internals\n\nimport android.app.Activity\nimport android.app.Service\nimport android.app.UiModeManager\nimport android.content.ComponentName\nimport android.content.Context\nimport android.content.Intent\nimport android.content.res.Configuration\nimport android.database.Cursor\nimport android.os.Build\nimport android.os.Bundle\nimport android.os.Parcelable\nimport android.util.AttributeSet\nimport android.view.ContextThemeWrapper\nimport android.view.View\nimport android.view.ViewGroup\nimport android.view.ViewManager\nimport org.jetbrains.anko.AnkoContext\nimport org.jetbrains.anko.AnkoContextImpl\nimport org.jetbrains.anko.AnkoException\nimport org.jetbrains.anko.Orientation\nimport org.jetbrains.anko.ScreenSize\nimport org.jetbrains.anko.UI\nimport org.jetbrains.anko.UiMode\nimport java.io.Serializable\nimport java.util.Locale\n\nobject AnkoInternals {\n    const val NO_GETTER: String = \"Property does not have a getter\"\n\n    fun noGetter(): Nothing = throw AnkoException(\"Property does not have a getter\")\n\n    private class AnkoContextThemeWrapper(base: Context?, val theme: Int) : ContextThemeWrapper(base, theme)\n\n    fun <T : View> addView(manager: ViewManager, view: T) = when (manager) {\n        is ViewGroup -> manager.addView(view)\n        is AnkoContext<*> -> manager.addView(view, null)\n        else -> throw AnkoException(\"$manager is the wrong parent\")\n    }\n\n    fun <T : View> addView(ctx: Context, view: T) {\n        ctx.UI { AnkoInternals.addView(this, view) }\n    }\n\n    fun <T : View> addView(activity: Activity, view: T) {\n        createAnkoContext(activity, { AnkoInternals.addView(this, view) }, true)\n    }\n\n    fun wrapContextIfNeeded(ctx: Context, theme: Int): Context {\n        return if (theme != 0 && (ctx !is AnkoContextThemeWrapper || ctx.theme != theme)) {\n            // If the context isn't a ContextThemeWrapper, or it is but does not have\n            // the same theme as we need, wrap it in a new wrapper\n            AnkoContextThemeWrapper(ctx, theme)\n        } else {\n            ctx\n        }\n    }\n\n    fun applyRecursively(v: View, style: (View) -> Unit) {\n        style(v)\n        if (v is ViewGroup) {\n            val maxIndex = v.childCount - 1\n            for (i in 0 .. maxIndex) {\n                v.getChildAt(i)?.let { applyRecursively(it, style) }\n            }\n        }\n    }\n\n    fun getContext(manager: ViewManager): Context = when (manager) {\n        is ViewGroup -> manager.context\n        is AnkoContext<*> -> manager.ctx\n        else -> throw AnkoException(\"$manager is the wrong parent\")\n    }\n\n    inline fun <T> T.createAnkoContext(\n            ctx: Context,\n            init: AnkoContext<T>.() -> Unit,\n            setContentView: Boolean = false\n    ): AnkoContext<T> {\n        val dsl = AnkoContextImpl(ctx, this, setContentView)\n        dsl.init()\n        return dsl\n    }\n\n    // Some constants not present in Android SDK v.15\n    private object InternalConfiguration {\n        val SCREENLAYOUT_LAYOUTDIR_MASK = 0xC0\n        val SCREENLAYOUT_LAYOUTDIR_SHIFT = 6\n        val SCREENLAYOUT_LAYOUTDIR_RTL = 0x02 shl SCREENLAYOUT_LAYOUTDIR_SHIFT\n\n        val UI_MODE_TYPE_APPLIANCE = 0x05\n        val UI_MODE_TYPE_WATCH = 0x06\n    }\n\n    @JvmStatic\n    fun <T> createIntent(ctx: Context, clazz: Class<out T>, params: Array<out Pair<String, Any?>>): Intent {\n        val intent = Intent(ctx, clazz)\n        if (params.isNotEmpty()) fillIntentArguments(intent, params)\n        return intent\n    }\n\n    @JvmStatic\n    fun internalStartActivity(\n            ctx: Context,\n            activity: Class<out Activity>,\n            params: Array<out Pair<String, Any?>>\n    ) {\n        ctx.startActivity(createIntent(ctx, activity, params))\n    }\n\n    @JvmStatic\n    fun internalStartActivityForResult(\n            act: Activity,\n            activity: Class<out Activity>,\n            requestCode: Int,\n            params: Array<out Pair<String, Any?>>\n    ) {\n        act.startActivityForResult(createIntent(act, activity, params), requestCode)\n    }\n\n    @JvmStatic\n    fun internalStartService(\n            ctx: Context,\n            service: Class<out Service>,\n            params: Array<out Pair<String, Any?>>\n    ): ComponentName? = ctx.startService(createIntent(ctx, service, params))\n\n    @JvmStatic\n    fun internalStopService(\n            ctx: Context,\n            service: Class<out Service>,\n            params: Array<out Pair<String, Any?>>\n    ): Boolean = ctx.stopService(createIntent(ctx, service, params))\n\n    @JvmStatic\n    private fun fillIntentArguments(intent: Intent, params: Array<out Pair<String, Any?>>) {\n        params.forEach {\n            val value = it.second\n            when (value) {\n                null -> intent.putExtra(it.first, null as Serializable?)\n                is Int -> intent.putExtra(it.first, value)\n                is Long -> intent.putExtra(it.first, value)\n                is CharSequence -> intent.putExtra(it.first, value)\n                is String -> intent.putExtra(it.first, value)\n                is Float -> intent.putExtra(it.first, value)\n                is Double -> intent.putExtra(it.first, value)\n                is Char -> intent.putExtra(it.first, value)\n                is Short -> intent.putExtra(it.first, value)\n                is Boolean -> intent.putExtra(it.first, value)\n                is Serializable -> intent.putExtra(it.first, value)\n                is Bundle -> intent.putExtra(it.first, value)\n                is Parcelable -> intent.putExtra(it.first, value)\n                is Array<*> -> when {\n                    value.isArrayOf<CharSequence>() -> intent.putExtra(it.first, value)\n                    value.isArrayOf<String>() -> intent.putExtra(it.first, value)\n                    value.isArrayOf<Parcelable>() -> intent.putExtra(it.first, value)\n                    else -> throw AnkoException(\"Intent extra ${it.first} has wrong type ${value.javaClass.name}\")\n                }\n                is IntArray -> intent.putExtra(it.first, value)\n                is LongArray -> intent.putExtra(it.first, value)\n                is FloatArray -> intent.putExtra(it.first, value)\n                is DoubleArray -> intent.putExtra(it.first, value)\n                is CharArray -> intent.putExtra(it.first, value)\n                is ShortArray -> intent.putExtra(it.first, value)\n                is BooleanArray -> intent.putExtra(it.first, value)\n                else -> throw AnkoException(\"Intent extra ${it.first} has wrong type ${value.javaClass.name}\")\n            }\n            return@forEach\n        }\n    }\n\n    @JvmStatic\n    inline fun <T> useCursor(cursor: Cursor, f: (Cursor) -> T): T {\n        return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {\n            // Closeable only added in API 16\n            cursor.use(f)\n        } else {\n            try {\n                f(cursor)\n            } finally {\n                try {\n                    cursor.close()\n                } catch (e: Exception) {\n                    // Do nothing\n                }\n            }\n        }\n    }\n\n    @JvmStatic\n    fun <T : View> initiateView(ctx: Context, viewClass: Class<T>): T {\n        fun getConstructor1() = viewClass.getConstructor(Context::class.java)\n        fun getConstructor2() = viewClass.getConstructor(Context::class.java, AttributeSet::class.java)\n\n        try {\n            return getConstructor1().newInstance(ctx)\n        } catch (e: NoSuchMethodException) {\n            try {\n                return getConstructor2().newInstance(ctx, null)\n            }\n            catch (e: NoSuchMethodException) {\n                throw AnkoException(\"Can't initiate View of class ${viewClass.name}: can't find proper constructor\")\n            }\n        }\n\n    }\n\n    @JvmStatic\n    fun testConfiguration(\n            ctx: Context,\n            screenSize: ScreenSize?,\n            density: ClosedRange<Int>?,\n            language: String?,\n            orientation: Orientation?,\n            long: Boolean?,\n            fromSdk: Int?,\n            sdk: Int?,\n            uiMode: UiMode?,\n            nightMode: Boolean?,\n            rightToLeft: Boolean?,\n            smallestWidth: Int?\n    ): Boolean {\n        val config = ctx.resources?.configuration\n\n        if (screenSize != null) {\n            if (config == null) return false\n            val currentScreenSize = config.screenLayout and Configuration.SCREENLAYOUT_SIZE_MASK\n            when (currentScreenSize) {\n                Configuration.SCREENLAYOUT_SIZE_UNDEFINED -> {}\n                Configuration.SCREENLAYOUT_SIZE_SMALL -> if (screenSize != ScreenSize.SMALL) return false\n                Configuration.SCREENLAYOUT_SIZE_NORMAL -> if (screenSize != ScreenSize.NORMAL) return false\n                Configuration.SCREENLAYOUT_SIZE_LARGE -> if (screenSize != ScreenSize.LARGE) return false\n                Configuration.SCREENLAYOUT_SIZE_XLARGE -> if (screenSize != ScreenSize.XLARGE) return false\n            }\n        }\n\n        if (density != null) {\n            val currentDensityDpi = ctx.resources?.displayMetrics?.densityDpi ?: return false\n            if (currentDensityDpi !in density || currentDensityDpi == density.endInclusive) return false\n        }\n\n        if (language != null) {\n            val locale = Locale.getDefault()\n            val currentLanguage = if (language.indexOf('_') >= 0) locale.toString() else locale.language\n            if (currentLanguage != language) return false\n        }\n\n        if (orientation != null) {\n            if (config == null) return false\n            when (config.orientation) {\n                Configuration.ORIENTATION_LANDSCAPE -> if (orientation != Orientation.LANDSCAPE) return false\n                Configuration.ORIENTATION_PORTRAIT -> if (orientation != Orientation.PORTRAIT) return false\n                Configuration.ORIENTATION_SQUARE -> if (orientation != Orientation.SQUARE) return false\n            }\n        }\n\n        if (long != null) {\n            if (config == null) return false\n            val currentLong = config.screenLayout and Configuration.SCREENLAYOUT_LONG_MASK\n            if (currentLong == Configuration.SCREENLAYOUT_LONG_YES && !long) return false\n            if (currentLong == Configuration.SCREENLAYOUT_LONG_NO && long) return false\n        }\n\n        if (fromSdk != null) {\n            if (Build.VERSION.SDK_INT < fromSdk) return false\n        }\n\n        if (sdk != null) {\n            if (Build.VERSION.SDK_INT != sdk) return false\n        }\n\n        if (uiMode != null) {\n            if (config == null) return false\n            when (config.uiMode and Configuration.UI_MODE_TYPE_MASK) {\n                Configuration.UI_MODE_TYPE_NORMAL -> if (uiMode != UiMode.NORMAL) return false\n                Configuration.UI_MODE_TYPE_DESK -> if (uiMode != UiMode.DESK) return false\n                Configuration.UI_MODE_TYPE_CAR -> if (uiMode != UiMode.CAR) return false\n                Configuration.UI_MODE_TYPE_TELEVISION -> if (uiMode != UiMode.TELEVISION) return false\n                InternalConfiguration.UI_MODE_TYPE_APPLIANCE -> if (uiMode != UiMode.APPLIANCE) return false\n                InternalConfiguration.UI_MODE_TYPE_WATCH -> if (uiMode != UiMode.WATCH) return false\n            }\n        }\n\n        if (nightMode != null) {\n            val uiModeManager = ctx.getSystemService(Context.UI_MODE_SERVICE) as? UiModeManager ?: return false\n\n            val currentMode = uiModeManager.nightMode\n            if (currentMode == UiModeManager.MODE_NIGHT_YES && !nightMode) return false\n            if (currentMode == UiModeManager.MODE_NIGHT_NO && nightMode) return false\n        }\n\n        if (rightToLeft != null) {\n            if (config == null) return false\n            val rtlMode = (config.screenLayout and\n                    InternalConfiguration.SCREENLAYOUT_LAYOUTDIR_MASK) == InternalConfiguration.SCREENLAYOUT_LAYOUTDIR_RTL\n            if (rtlMode != rightToLeft) return false\n        }\n\n        if (smallestWidth != null) {\n            if (config == null) return false\n\n            if (config.smallestScreenWidthDp == Configuration.SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) {\n                if (smallestWidth != Configuration.SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) return false\n            }\n            else if (config.smallestScreenWidthDp < smallestWidth) return false\n        }\n\n        return true\n    }\n\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Logging.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\n@file:JvmName(\"Logging\")\npackage org.jetbrains.anko\n\nimport android.util.Log\n\n/**\n * Interface for the Anko logger.\n * Normally you should pass the logger tag to the [Log] methods, such as [Log.d] or [Log.e].\n * This can be inconvenient because you should store the tag somewhere or hardcode it,\n *   which is considered to be a bad practice.\n *\n * Instead of hardcoding tags, Anko provides an [AnkoLogger] interface. You can just add the interface to\n *   any of your classes, and use any of the provided extension functions, such as\n *   [AnkoLogger.debug] or [AnkoLogger.error].\n *\n * The tag is the simple class name by default, but you can change it to anything you want just\n *   by overriding the [loggerTag] property.\n */\ninterface AnkoLogger {\n    /**\n     * The logger tag used in extension functions for the [AnkoLogger].\n     * Note that the tag length should not be more than 23 symbols.\n     */\n    val loggerTag: String\n        get() = getTag(javaClass)\n}\n\nfun AnkoLogger(clazz: Class<*>): AnkoLogger = object : AnkoLogger {\n    override val loggerTag = getTag(clazz)\n}\n\nfun AnkoLogger(tag: String): AnkoLogger = object : AnkoLogger {\n    init {\n        assert(tag.length <= 23) { \"The maximum tag length is 23, got $tag\" }\n    }\n    override val loggerTag = tag\n}\n\ninline fun <reified T: Any> AnkoLogger(): AnkoLogger = AnkoLogger(T::class.java)\n\n/**\n * Send a log message with the [Log.VERBOSE] severity.\n * Note that the log message will not be written if the current log level is above [Log.VERBOSE].\n * The default log level is [Log.INFO].\n *\n * @param message the message text to log. `null` value will be represent as \"null\", for any other value\n *   the [Any.toString] will be invoked.\n * @param thr an exception to log (optional).\n *\n * @see [Log.v].\n */\nfun AnkoLogger.verbose(message: Any?, thr: Throwable? = null) {\n    log(this, message, thr, Log.VERBOSE,\n            { tag, msg -> Log.v(tag, msg) },\n            { tag, msg, thr -> Log.v(tag, msg, thr) })\n}\n\n/**\n * Send a log message with the [Log.DEBUG] severity.\n * Note that the log message will not be written if the current log level is above [Log.DEBUG].\n * The default log level is [Log.INFO].\n *\n * @param message the message text to log. `null` value will be represent as \"null\", for any other value\n *   the [Any.toString] will be invoked.\n * @param thr an exception to log (optional).\n *\n * @see [Log.d].\n */\nfun AnkoLogger.debug(message: Any?, thr: Throwable? = null) {\n    log(this, message, thr, Log.DEBUG,\n            { tag, msg -> Log.d(tag, msg) },\n            { tag, msg, thr -> Log.d(tag, msg, thr) })\n}\n\n/**\n * Send a log message with the [Log.INFO] severity.\n * Note that the log message will not be written if the current log level is above [Log.INFO]\n *   (it is the default level).\n *\n * @param message the message text to log. `null` value will be represent as \"null\", for any other value\n *   the [Any.toString] will be invoked.\n * @param thr an exception to log (optional).\n *\n * @see [Log.i].\n */\nfun AnkoLogger.info(message: Any?, thr: Throwable? = null) {\n    log(this, message, thr, Log.INFO,\n            { tag, msg -> Log.i(tag, msg) },\n            { tag, msg, thr -> Log.i(tag, msg, thr) })\n}\n\n/**\n * Send a log message with the [Log.WARN] severity.\n * Note that the log message will not be written if the current log level is above [Log.WARN].\n * The default log level is [Log.INFO].\n *\n * @param message the message text to log. `null` value will be represent as \"null\", for any other value\n *   the [Any.toString] will be invoked.\n * @param thr an exception to log (optional).\n *\n * @see [Log.w].\n */\nfun AnkoLogger.warn(message: Any?, thr: Throwable? = null) {\n    log(this, message, thr, Log.WARN,\n            { tag, msg -> Log.w(tag, msg) },\n            { tag, msg, thr -> Log.w(tag, msg, thr) })\n}\n\n/**\n * Send a log message with the [Log.ERROR] severity.\n * Note that the log message will not be written if the current log level is above [Log.ERROR].\n * The default log level is [Log.INFO].\n *\n * @param message the message text to log. `null` value will be represent as \"null\", for any other value\n *   the [Any.toString] will be invoked.\n * @param thr an exception to log (optional).\n *\n * @see [Log.e].\n */\nfun AnkoLogger.error(message: Any?, thr: Throwable? = null) {\n    log(this, message, thr, Log.ERROR,\n            { tag, msg -> Log.e(tag, msg) },\n            { tag, msg, thr -> Log.e(tag, msg, thr) })\n}\n\n/**\n * Send a log message with the \"What a Terrible Failure\" severity.\n * Report an exception that should never happen.\n *\n * @param message the message text to log. `null` value will be represent as \"null\", for any other value\n *   the [Any.toString] will be invoked.\n * @param thr an exception to log (optional).\n *\n * @see [Log.wtf].\n */\nfun AnkoLogger.wtf(message: Any?, thr: Throwable? = null) {\n    if (thr != null) {\n        Log.wtf(loggerTag, message?.toString() ?: \"null\", thr)\n    } else {\n        Log.wtf(loggerTag, message?.toString() ?: \"null\")\n    }\n}\n\n/**\n * Send a log message with the [Log.VERBOSE] severity.\n * Note that the log message will not be written if the current log level is above [Log.VERBOSE].\n * The default log level is [Log.INFO].\n *\n * @param message the function that returns message text to log.\n *   `null` value will be represent as \"null\", for any other value the [Any.toString] will be invoked.\n *\n * @see [Log.v].\n */\ninline fun AnkoLogger.verbose(message: () -> Any?) {\n    val tag = loggerTag\n    if (Log.isLoggable(tag, Log.VERBOSE)) {\n        Log.v(tag, message()?.toString() ?: \"null\")\n    }\n}\n\n/**\n * Send a log message with the [Log.DEBUG] severity.\n * Note that the log message will not be written if the current log level is above [Log.DEBUG].\n * The default log level is [Log.INFO].\n *\n * @param message the function that returns message text to log.\n *   `null` value will be represent as \"null\", for any other value the [Any.toString] will be invoked.\n *\n * @see [Log.d].\n */\ninline fun AnkoLogger.debug(message: () -> Any?) {\n    val tag = loggerTag\n    if (Log.isLoggable(tag, Log.DEBUG)) {\n        Log.d(tag, message()?.toString() ?: \"null\")\n    }\n}\n\n/**\n * Send a log message with the [Log.INFO] severity.\n * Note that the log message will not be written if the current log level is above [Log.INFO].\n * The default log level is [Log.INFO].\n *\n * @param message the function that returns message text to log.\n *   `null` value will be represent as \"null\", for any other value the [Any.toString] will be invoked.\n *\n * @see [Log.i].\n */\ninline fun AnkoLogger.info(message: () -> Any?) {\n    val tag = loggerTag\n    if (Log.isLoggable(tag, Log.INFO)) {\n        Log.i(tag, message()?.toString() ?: \"null\")\n    }\n}\n\n/**\n * Send a log message with the [Log.WARN] severity.\n * Note that the log message will not be written if the current log level is above [Log.WARN].\n * The default log level is [Log.INFO].\n *\n * @param message the function that returns message text to log.\n *   `null` value will be represent as \"null\", for any other value the [Any.toString] will be invoked.\n *\n * @see [Log.w].\n */\ninline fun AnkoLogger.warn(message: () -> Any?) {\n    val tag = loggerTag\n    if (Log.isLoggable(tag, Log.WARN)) {\n        Log.w(tag, message()?.toString() ?: \"null\")\n    }\n}\n\n/**\n * Send a log message with the [Log.ERROR] severity.\n * Note that the log message will not be written if the current log level is above [Log.ERROR].\n * The default log level is [Log.INFO].\n *\n * @param message the function that returns message text to log.\n *   `null` value will be represent as \"null\", for any other value the [Any.toString] will be invoked.\n *\n * @see [Log.e].\n */\ninline fun AnkoLogger.error(message: () -> Any?) {\n    val tag = loggerTag\n    if (Log.isLoggable(tag, Log.ERROR)) {\n        Log.e(tag, message()?.toString() ?: \"null\")\n    }\n}\n\n/**\n * Return the stack trace [String] of a throwable.\n */\ninline fun Throwable.getStackTraceString(): String = Log.getStackTraceString(this)\n\nprivate inline fun log(\n        logger: AnkoLogger,\n        message: Any?,\n        thr: Throwable?,\n        level: Int,\n        f: (String, String) -> Unit,\n        fThrowable: (String, String, Throwable) -> Unit) {\n    val tag = logger.loggerTag\n    if (Log.isLoggable(tag, level)) {\n        if (thr != null) {\n            fThrowable(tag, message?.toString() ?: \"null\", thr)\n        } else {\n            f(tag, message?.toString() ?: \"null\")\n        }\n    }\n}\n\nprivate fun getTag(clazz: Class<*>): String {\n    val tag = clazz.simpleName\n    return if (tag.length <= 23) {\n        tag\n    } else {\n        tag.substring(0, 23)\n    }\n}"
  },
  {
    "path": "anko/library/static/commons/src/main/java/RelativeLayoutLayoutParamsHelpers.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.os.Build\nimport android.support.annotation.IdRes\nimport android.support.annotation.RequiresApi\nimport android.view.View\nimport android.widget.RelativeLayout.*\n\n/**\n * Place the current View above [view].\n * It is an alias for [above].\n */\nfun LayoutParams.topOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ABOVE, id)\n}\n\n/**\n * Place the current View above [view].\n */\nfun LayoutParams.above(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ABOVE, id)\n}\n\n/**\n * Place the current View below [view].\n * It is an alias for [below].\n */\nfun LayoutParams.bottomOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(BELOW, id)\n}\n\n/**\n * Place the current View below [view].\n */\nfun LayoutParams.below(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(BELOW, id)\n}\n\n/**\n * Place the current View to the left of [view].\n */\ninline fun LayoutParams.leftOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(LEFT_OF, id)\n}\n\n/**\n * Place the current View to the start of [view].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.startOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(START_OF, id)\n}\n\n/**\n * Place the current View to the right of [view].\n */\ninline fun LayoutParams.rightOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(RIGHT_OF, id)\n}\n\n/**\n * Place the current View to the end of [view].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.endOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(END_OF, id)\n}\n\n/**\n * Set the current View left attribute the same as for [view].\n */\ninline fun LayoutParams.sameLeft(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_LEFT, id)\n}\n\n/**\n * Set the current View start attribute the same as for [view].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.sameStart(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_START, id)\n}\n\n/**\n * Set the current View top attribute the same as for [view].\n */\ninline fun LayoutParams.sameTop(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_TOP, id)\n}\n\n/**\n * Set the current View right attribute the same as for [view].\n */\ninline fun LayoutParams.sameRight(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_RIGHT, id)\n}\n\n/**\n * Set the current View end attribute the same as for [view].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.sameEnd(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_END, id)\n}\n\n/**\n * Set the current View bottom attribute the same as for [view].\n */\ninline fun LayoutParams.sameBottom(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_BOTTOM, id)\n}\n\n/**\n * Place the current View above the View with a given [id].\n * It is an alias for [above].\n */\ninline fun LayoutParams.topOf(@IdRes id: Int) = addRule(ABOVE, id)\n\n/**\n * Place the current View above the View with a given [id].\n */\ninline fun LayoutParams.above(@IdRes id: Int) = addRule(ABOVE, id)\n\n/**\n * Place the current View below the View with a given [id].\n */\ninline fun LayoutParams.below(@IdRes id: Int) = addRule(BELOW, id)\n\n/**\n * Place the current View below the View with a given [id].\n * It is an alias for [below].\n */\ninline fun LayoutParams.bottomOf(@IdRes id: Int) = addRule(BELOW, id)\n\n/**\n * Place the current View to the left of the View with a given [id].\n */\ninline fun LayoutParams.leftOf(@IdRes id: Int) = addRule(LEFT_OF, id)\n\n/**\n * Place the current View to the start of the View with a given [id].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.startOf(@IdRes id: Int): Unit = addRule(START_OF, id)\n\n/**\n * Place the current View to the left of the View with a given [id].\n */\ninline fun LayoutParams.rightOf(@IdRes id: Int) = addRule(RIGHT_OF, id)\n\n/**\n * Place the current View to the end of the View with a given [id].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.endOf(@IdRes id: Int): Unit = addRule(END_OF, id)\n\n/**\n * Set the current View left attribute the same as for View with a given [id].\n */\ninline fun LayoutParams.sameLeft(@IdRes id: Int) = addRule(ALIGN_LEFT, id)\n\n/**\n * Set the current View start attribute the same as for View with a given [id].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.sameStart(@IdRes id: Int): Unit = addRule(ALIGN_START, id)\n\n/**\n * Set the current View top attribute the same as for View with a given [id].\n */\ninline fun LayoutParams.sameTop(@IdRes id: Int) = addRule(ALIGN_TOP, id)\n\n/**\n * Set the current View right attribute the same as for View with a given [id].\n */\ninline fun LayoutParams.sameRight(@IdRes id: Int) = addRule(ALIGN_RIGHT, id)\n\n/**\n * Set the current View end attribute the same as for View with a given [id].\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.sameEnd(@IdRes id: Int): Unit = addRule(ALIGN_END, id)\n\n/**\n * Set the current View bottom attribute the same as for View with a given [id].\n */\ninline fun LayoutParams.sameBottom(@IdRes id: Int) = addRule(ALIGN_BOTTOM, id)\n\n/**\n * Align the current View's start edge with another child's start edge.\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.alignStart(@IdRes id: Int): Unit = addRule(ALIGN_START, id)\n\n/**\n * Align the current View's end edge with another child's end edge.\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.alignEnd(@IdRes id: Int): Unit = addRule(ALIGN_END, id)\n\n/**\n * Align the current View's top edge with its parent's top edge.\n */\ninline fun LayoutParams.alignParentTop() = addRule(ALIGN_PARENT_TOP)\n\n/**\n * Align the current View's right edge with its parent's right edge.\n */\ninline fun LayoutParams.alignParentRight() = addRule(ALIGN_PARENT_RIGHT)\n\n/**\n * Align the current View's bottom edge with its parent's bottom edge.\n */\ninline fun LayoutParams.alignParentBottom() = addRule(ALIGN_PARENT_BOTTOM)\n\n/**\n * Align the current View's left edge with its parent's left edge.\n */\ninline fun LayoutParams.alignParentLeft() = addRule(ALIGN_PARENT_LEFT)\n\n/**\n * Center the child horizontally in its parent.\n */\ninline fun LayoutParams.centerHorizontally() = addRule(CENTER_HORIZONTAL)\n\n/**\n * Center the child vertically in its parent.\n */\ninline fun LayoutParams.centerVertically() = addRule(CENTER_VERTICAL)\n\n/**\n * Center the child horizontally and vertically in its parent.\n */\ninline fun LayoutParams.centerInParent() = addRule(CENTER_IN_PARENT)\n\n/**\n * Align the current View's start edge with its parent's start edge.\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.alignParentStart(): Unit = addRule(ALIGN_PARENT_START)\n\n/**\n * Align the current View's end edge with its parent's end edge.\n */\n@RequiresApi(Build.VERSION_CODES.JELLY_BEAN_MR1)\ninline fun LayoutParams.alignParentEnd(): Unit = addRule(ALIGN_PARENT_END)\n\n/**\n * Positions the baseline of this view on the baseline of the given anchor [view].\n */\ninline fun LayoutParams.baselineOf(view: View) {\n    val id = view.id\n    if (id == View.NO_ID) throw AnkoException(\"Id is not set for $view\")\n    addRule(ALIGN_BASELINE, id)\n}\n\n/**\n * Positions the baseline of this view on the baseline of the anchor View with a given [id].\n */\ninline fun LayoutParams.baselineOf(@IdRes id: Int) = addRule(ALIGN_BASELINE, id)\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/SharedPreferences.kt",
    "content": "\n/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko\n\nimport android.content.SharedPreferences\n\n/**\n * Opens the [SharedPreferences.Editor], applies the [modifer] to it and then applies the changes asynchronously\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"edit(modifier)\", \"androidx.core.content.edit\"))\ninline fun SharedPreferences.apply(modifier: SharedPreferences.Editor.() -> Unit) {\n    val editor = this.edit()\n    editor.modifier()\n    editor.apply()\n}\n\n/**\n * Opens the [SharedPreferences.Editor], applies the [modifer] to it and then applies the changes synchronously\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"edit(true, modifier)\", \"androidx.core.content.edit\"))\ninline fun SharedPreferences.commit(modifier: SharedPreferences.Editor.() -> Unit) {\n    val editor = this.edit()\n    editor.modifier()\n    editor.commit()\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Theme.kt",
    "content": "@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.content.res.Resources\nimport android.support.annotation.AttrRes\nimport android.support.annotation.ColorInt\nimport android.support.annotation.Dimension\nimport android.util.TypedValue\nimport android.view.View\n\nfun Resources.Theme.attr(@AttrRes attribute: Int): TypedValue {\n    val typedValue = TypedValue()\n    if (!resolveAttribute(attribute, typedValue, true)) {\n        throw IllegalArgumentException(\"Failed to resolve attribute: $attribute\")\n    }\n\n    return typedValue\n}\n\n@ColorInt\nfun Resources.Theme.color(@AttrRes attribute: Int): Int {\n    val attr = attr(attribute)\n    if (attr.type < TypedValue.TYPE_FIRST_COLOR_INT || attr.type > TypedValue.TYPE_LAST_COLOR_INT) {\n        throw IllegalArgumentException(\"Attribute value type is not color: $attribute\")\n    }\n\n    return attr.data\n}\n\nfun Context.attr(@AttrRes attribute: Int): TypedValue = theme.attr(attribute)\n\n@Dimension(unit = Dimension.PX)\nfun Context.dimenAttr(@AttrRes attribute: Int): Int =\n        TypedValue.complexToDimensionPixelSize(attr(attribute).data, resources.displayMetrics)\n\n@ColorInt\nfun Context.colorAttr(@AttrRes attribute: Int): Int = theme.color(attribute)\n\n\n@Dimension(unit = Dimension.PX)\ninline fun AnkoContext<*>.dimenAttr(@AttrRes attribute: Int): Int = ctx.dimenAttr(attribute)\n\n@ColorInt\ninline fun AnkoContext<*>.colorAttr(@AttrRes attribute: Int): Int = ctx.colorAttr(attribute)\n\ninline fun AnkoContext<*>.attr(@AttrRes attribute: Int): TypedValue = ctx.attr(attribute)\n\n\n@Dimension(unit = Dimension.PX)\ninline fun View.dimenAttr(@AttrRes attribute: Int): Int = context.dimenAttr(attribute)\n\n@ColorInt\ninline fun View.colorAttr(@AttrRes attribute: Int): Int = context.colorAttr(attribute)\n\ninline fun View.attr(@AttrRes attribute: Int): TypedValue = context.attr(attribute)\n\n\n@Dimension(unit = Dimension.PX)\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.dimenAttr(@AttrRes attribute: Int): Int = activity.dimenAttr(attribute)\n\n@ColorInt\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.colorAttr(@AttrRes attribute: Int): Int = activity.colorAttr(attribute)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.attr(@AttrRes attribute: Int): TypedValue = activity.attr(attribute)\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/Ui.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko\n\nimport android.view.View\nimport org.jetbrains.anko.internals.AnkoInternals\n\n@DslMarker\n@Target(AnnotationTarget.TYPE)\nannotation class AnkoViewDslMarker\n\n/**\n * Apply [f] to this [View] and to all of its children recursively.\n * \n * @return the receiver.\n */\ninline fun <T : View> T.applyRecursively(noinline f: (View) -> Unit): T {\n    AnkoInternals.applyRecursively(this, f)\n    return this\n}"
  },
  {
    "path": "anko/library/static/commons/src/main/java/buildSpanned.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko\n\nimport android.graphics.Typeface\nimport android.text.SpannableStringBuilder\nimport android.text.Spanned\nimport android.text.style.BackgroundColorSpan\nimport android.text.style.ClickableSpan\nimport android.text.style.ForegroundColorSpan\nimport android.text.style.StrikethroughSpan\nimport android.text.style.StyleSpan\nimport android.text.style.URLSpan\nimport android.text.style.UnderlineSpan\nimport android.view.View\n\ninline fun buildSpanned(f: SpannableStringBuilder.() -> Unit): Spanned =\n        SpannableStringBuilder().apply(f)\n\ninline val SpannableStringBuilder.Bold: StyleSpan\n    get() = StyleSpan(Typeface.BOLD)\n\ninline val SpannableStringBuilder.Italic: StyleSpan\n    get() = StyleSpan(Typeface.ITALIC)\n\ninline val SpannableStringBuilder.Underline: UnderlineSpan\n    get() = UnderlineSpan()\n\ninline val SpannableStringBuilder.Strikethrough: StrikethroughSpan\n    get() = StrikethroughSpan()\n\ninline fun SpannableStringBuilder.foregroundColor(color: Int): ForegroundColorSpan =\n        ForegroundColorSpan(color)\n\ninline fun SpannableStringBuilder.backgroundColor(color: Int): BackgroundColorSpan =\n        BackgroundColorSpan(color)\n\ninline fun SpannableStringBuilder.clickable(crossinline onClick: (View) -> Unit): ClickableSpan {\n    return object : ClickableSpan() {\n        override fun onClick(widget: View) {\n            onClick(widget)\n        }\n    }\n}\n\ninline fun SpannableStringBuilder.link(url: String): URLSpan {\n    return URLSpan(url)\n}\n\nfun SpannableStringBuilder.append(text: CharSequence, vararg spans: Any) {\n    val textLength = text.length\n    append(text)\n    spans.forEach { span ->\n        setSpan(span, this.length - textLength, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE)\n    }\n}\n\nfun SpannableStringBuilder.append(text: CharSequence, span: Any) {\n    val textLength = text.length\n    append(text)\n    setSpan(span, this.length - textLength, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE)\n}\n\ninline fun SpannableStringBuilder.append(span: Any, f: SpannableStringBuilder.() -> Unit) = apply {\n    val start = length\n    f()\n    setSpan(span, start, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE)\n}\n\ninline fun SpannableStringBuilder.appendln(text: CharSequence, vararg spans: Any) {\n    append(text, *spans)\n    appendln()\n}\n\ninline fun SpannableStringBuilder.appendln(text: CharSequence, span: Any) {\n    append(text, span)\n    appendln()\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/collections/Arrays.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko.collections\n\nimport android.util.SparseArray\nimport android.util.SparseBooleanArray\nimport android.util.SparseIntArray\nimport java.util.ConcurrentModificationException\n\n/**\n * Iterate the receiver [Array] using an index.\n *\n * @f an action to invoke on each array element.\n */\n@Deprecated(message = \"Use the native Kotlin version\", replaceWith = ReplaceWith(\"forEach(f)\"))\ninline fun <T> Array<T>.forEachByIndex(f: (T) -> Unit) {\n    val lastIndex = size - 1\n    for (i in 0..lastIndex) {\n        f(get(i))\n    }\n}\n\n/**\n * Iterate the receiver [Array] using an index.\n *\n * @f an action to invoke on each array element (index, element).\n */\n@Deprecated(message = \"Use the native Kotlin version\", replaceWith = ReplaceWith(\"forEachIndexed(f)\"))\ninline fun <T> Array<T>.forEachWithIndex(f: (Int, T) -> Unit) {\n    val lastIndex = size - 1\n    for (i in 0..lastIndex) {\n        f(i, get(i))\n    }\n}\n\n/**\n * Iterate the receiver [Array] backwards using an index.\n *\n * @f an action to invoke on each array element.\n */\ninline fun <T> Array<T>.forEachReversedByIndex(f: (T) -> Unit) {\n    var i = size - 1\n    while (i >= 0) {\n        f(get(i))\n        i--\n    }\n}\n\n/**\n * Iterate the receiver [Array] backwards using an index.\n *\n * @f an action to invoke on each array element (index, element).\n */\ninline fun <T> Array<T>.forEachReversedWithIndex(f: (Int, T) -> Unit) {\n    var i = size - 1\n    while (i >= 0) {\n        f(i, get(i))\n        i--\n    }\n}\n\n/**\n * Create a [Sequence] instance that wraps the original [SparseArray] returning its elements when being iterated.\n */\ninline fun <T> SparseArray<T>.asSequence(): Sequence<T> = SparseArraySequence(this)\n\n/**\n * Create a [Sequence] instance that wraps the original [SparseBooleanArray] returning its elements when being iterated.\n */\ninline fun <T> SparseBooleanArray.asSequence(): Sequence<Boolean> = SparseBooleanArraySequence(this)\n\n/**\n * Create a [Sequence] instance that wraps the original [SparseIntArray] returning its elements when being iterated.\n */\ninline fun <T> SparseIntArray.asSequence(): Sequence<Int> = SparseIntArraySequence(this)\n\n@PublishedApi\ninternal class SparseArraySequence<T>(private val a: SparseArray<T>) : Sequence<T> {\n    override fun iterator(): Iterator<T> = SparseArrayIterator()\n\n    private inner class SparseArrayIterator : Iterator<T> {\n        private var index = 0\n        private val size = a.size()\n\n        override fun hasNext() = size > index\n\n        override fun next(): T {\n            if (a.size() != size) throw ConcurrentModificationException()\n            return a.valueAt(index++)\n        }\n    }\n}\n\n@PublishedApi\ninternal class SparseBooleanArraySequence(private val a: SparseBooleanArray) : Sequence<Boolean> {\n    override fun iterator(): Iterator<Boolean> = SparseIntArrayIterator()\n\n    private inner class SparseIntArrayIterator : Iterator<Boolean> {\n        private var index = 0\n        private val size = a.size()\n\n        override fun hasNext() = size > index\n\n        override fun next(): Boolean {\n            if (a.size() != size) throw ConcurrentModificationException()\n            return a.get(index++)\n        }\n    }\n}\n\n@PublishedApi\ninternal class SparseIntArraySequence(private val a: SparseIntArray) : Sequence<Int> {\n    override fun iterator(): Iterator<Int> = SparseIntArrayIterator()\n\n    private inner class SparseIntArrayIterator : Iterator<Int> {\n        private var index = 0\n        private val size = a.size()\n\n        override fun hasNext() = size > index\n\n        override fun next(): Int {\n            if (a.size() != size) throw ConcurrentModificationException()\n            return a.get(index++)\n        }\n    }\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/collections/Collections.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko.collections\n\n/**\n * Iterate the receiver [List] using an index.\n *\n * @f an action to invoke on each list element.\n */\ninline fun <T> List<T>.forEachByIndex(f: (T) -> Unit) {\n    val lastIndex = size - 1\n    for (i in 0..lastIndex) {\n        f(get(i))\n    }\n}\n\n/**\n * Iterate the receiver [List] using an index.\n *\n * @f an action to invoke on each list element (index, element).\n */\ninline fun <T> List<T>.forEachWithIndex(f: (Int, T) -> Unit) {\n    val lastIndex = size - 1\n    for (i in 0..lastIndex) {\n        f(i, get(i))\n    }\n}\n\n/**\n * Iterate the receiver [List] backwards using an index.\n *\n * @f an action to invoke on each list element.\n */\ninline fun <T> List<T>.forEachReversedByIndex(f: (T) -> Unit) {\n    var i = size - 1\n    while (i >= 0) {\n        f(get(i))\n        i--\n    }\n}\n\n/**\n * Iterate the receiver [List] backwards using an index.\n *\n * @f an action to invoke on each list element (index, element).\n */\ninline fun <T> List<T>.forEachReversedWithIndex(f: (Int, T) -> Unit) {\n    var i = size - 1\n    while (i >= 0) {\n        f(i, get(i))\n        i--\n    }\n}\n\n/**\n * Convert the Android pair to a Kotlin one.\n *\n * @see [toAndroidPair].\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"toKotlinPair()\", \"androidx.core.util.toKotlinPair\"))\ninline fun <F, S> android.util.Pair<F, S>.toKotlinPair(): Pair<F, S> = first to second\n\n/**\n * Convert the Kotlin pair to an Android one.\n *\n * @see [toKotlinPair].\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"toAndroidPair()\", \"androidx.core.util.toAndroidPair\"))\ninline fun <F, S> Pair<F, S>.toAndroidPair(): android.util.Pair<F, S> = android.util.Pair(first, second)\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/collections/SparseArrays.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko.collections\n\nimport android.util.SparseArray\nimport android.util.SparseBooleanArray\nimport android.util.SparseIntArray\nimport java.util.ConcurrentModificationException\n\n/**\n *  Iterate the receiver [SparseArray]\n *  @action an action to invoke on each key value pair\n *  @throws [ConcurrentModificationException] if modified while iterating\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"forEach(action)\", \"androidx.core.util.forEach\"))\ninline fun <E> SparseArray<E>.forEach(action: (Int, E) -> Unit) {\n    val size = this.size()\n    for (i in 0..size - 1) {\n        if (size != this.size()) throw ConcurrentModificationException()\n        action(this.keyAt(i), this.valueAt(i))\n    }\n}\n\n/**\n *  Iterate the receiver [SparseBooleanArray]\n *  @action an action to invoke on each key value pair\n *  @throws [ConcurrentModificationException] if modified while iterating\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"forEach(action)\", \"androidx.core.util.forEach\"))\ninline fun SparseBooleanArray.forEach(action: (Int, Boolean) -> Unit) {\n    val size = this.size()\n    for (i in 0..size - 1) {\n        if (size != this.size()) throw ConcurrentModificationException()\n        action(this.keyAt(i), this.valueAt(i))\n    }\n}\n\n/**\n *  Iterate the receiver [SparseIntArray]\n *  @action an action to invoke on each key value pair\n *  @throws [ConcurrentModificationException] if modified while iterating\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"forEach(action)\", \"androidx.core.util.forEach\"))\ninline fun SparseIntArray.forEach(action: (Int, Int) -> Unit) {\n    val size = this.size()\n    for (i in 0..size - 1) {\n        if (size != this.size()) throw ConcurrentModificationException()\n        action(this.keyAt(i), this.valueAt(i))\n    }\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/AlertBuilder.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.annotation.SuppressLint\nimport android.content.Context\nimport android.content.DialogInterface\nimport android.graphics.drawable.Drawable\nimport android.support.annotation.DrawableRes\nimport android.support.annotation.StringRes\nimport android.view.KeyEvent\nimport android.view.View\nimport android.view.ViewManager\nimport org.jetbrains.anko.internals.AnkoInternals.NO_GETTER\nimport kotlin.DeprecationLevel.ERROR\n\n@SuppressLint(\"SupportAnnotationUsage\")\ninterface AlertBuilder<out D : DialogInterface> {\n    val ctx: Context\n\n    var title: CharSequence\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    var titleResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    var message: CharSequence\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    var messageResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    var icon: Drawable\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    @setparam:DrawableRes\n    var iconResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get\n    \n    var customTitle: View\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    var customView: View\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    var isCancelable: Boolean\n        @Deprecated(NO_GETTER, level = ERROR) get\n\n    fun onCancelled(handler: (dialog: DialogInterface) -> Unit)\n\n    fun onKeyPressed(handler: (dialog: DialogInterface, keyCode: Int, e: KeyEvent) -> Boolean)\n\n    fun positiveButton(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit)\n    fun positiveButton(@StringRes buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit)\n\n    fun negativeButton(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit)\n    fun negativeButton(@StringRes buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit)\n\n    fun neutralPressed(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit)\n    fun neutralPressed(@StringRes buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit)\n\n    fun items(items: List<CharSequence>, onItemSelected: (dialog: DialogInterface, index: Int) -> Unit)\n    fun <T> items(items: List<T>, onItemSelected: (dialog: DialogInterface, item: T, index: Int) -> Unit)\n\n    fun build(): D\n    fun show(): D\n}\n\nfun AlertBuilder<*>.customTitle(dsl: ViewManager.() -> Unit) {\n    customTitle = ctx.UI(dsl).view\n}\n\nfun AlertBuilder<*>.customView(dsl: ViewManager.() -> Unit) {\n    customView = ctx.UI(dsl).view\n}\n\ninline fun AlertBuilder<*>.okButton(noinline handler: (dialog: DialogInterface) -> Unit) =\n    positiveButton(android.R.string.ok, handler)\n\ninline fun AlertBuilder<*>.cancelButton(noinline handler: (dialog: DialogInterface) -> Unit) =\n    negativeButton(android.R.string.cancel, handler)\n\ninline fun AlertBuilder<*>.yesButton(noinline handler: (dialog: DialogInterface) -> Unit) =\n    positiveButton(android.R.string.yes, handler)\n\ninline fun AlertBuilder<*>.noButton(noinline handler: (dialog: DialogInterface) -> Unit) =\n    negativeButton(android.R.string.no, handler)"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/AlertDialogBuilder.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.R\nimport android.app.AlertDialog\nimport android.content.Context\nimport android.content.DialogInterface\nimport android.database.Cursor\nimport android.graphics.drawable.Drawable\nimport android.view.KeyEvent\nimport android.view.View\nimport android.view.ViewManager\nimport android.widget.ListAdapter\n\n@Deprecated(\"Use AlertBuilder class instead.\")\nclass AlertDialogBuilder(val ctx: Context) {\n    private var builder: AlertDialog.Builder? = AlertDialog.Builder(ctx)\n\n    /**\n     * Returns the [AlertDialog] instance if created.\n     * Returns null until the [show] function is called.\n     */\n    var dialog: AlertDialog? = null\n        private set\n\n    constructor(ankoContext: AnkoContext<*>) : this(ankoContext.ctx)\n\n    fun dismiss() {\n        dialog?.dismiss()\n    }\n\n    private fun checkBuilder() {\n        if (builder == null) {\n            throw IllegalStateException(\"show() was already called for this AlertDialogBuilder\")\n        }\n    }\n\n    /**\n     * Create the [AlertDialog] and display it on screen.\n     *\n     */\n    fun show(): AlertDialogBuilder {\n        checkBuilder()\n        dialog = builder!!.create()\n        builder = null\n        dialog!!.show()\n        return this\n    }\n\n    /**\n     * Set the [title] displayed in the dialog.\n     */\n    fun title(title: CharSequence) {\n        checkBuilder()\n        builder!!.setTitle(title)\n    }\n\n    /**\n     * Set the title using the given [title] resource id.\n     */\n    fun title(title: Int) {\n        checkBuilder()\n        builder!!.setTitle(title)\n    }\n\n    /**\n     * Set the [message] to display.\n     */\n    fun message(message: CharSequence) {\n        checkBuilder()\n        builder!!.setMessage(message)\n    }\n\n    /**\n     * Set the message to display using the given [message] resource id.\n     */\n    fun message(message: Int) {\n        checkBuilder()\n        builder!!.setMessage(message)\n    }\n\n    /**\n     * Set the resource id of the [Drawable] to be used in the title.\n     */\n    fun icon(icon: Int) {\n        checkBuilder()\n        builder!!.setIcon(icon)\n    }\n\n    /**\n     * Set the [icon] Drawable to be used in the title.\n     */\n    fun icon(icon: Drawable) {\n        checkBuilder()\n        builder!!.setIcon(icon)\n    }\n\n    /**\n     * Set the title using the custom [view].\n     */\n    fun customTitle(view: View) {\n        checkBuilder()\n        builder!!.setCustomTitle(view)\n    }\n\n    /**\n     * Set the title using the custom DSL view.\n     */\n    fun customTitle(dsl: ViewManager.() -> Unit) {\n        checkBuilder()\n        val view = ctx.UI(dsl).view\n        builder!!.setCustomTitle(view)\n    }\n\n    /**\n     * Set a custom [view] to be the contents of the Dialog.\n     */\n    fun customView(view: View) {\n        checkBuilder()\n        builder!!.setView(view)\n    }\n\n    /**\n     * Set a custom DSL view to be the contents of the Dialog.\n     */\n    fun customView(dsl: ViewManager.() -> Unit) {\n        checkBuilder()\n        val view = ctx.UI(dsl).view\n        builder!!.setView(view)\n    }\n\n    /**\n     * Set if the dialog is cancellable.\n     *\n     * @param cancellable if true, the created dialog will be cancellable.\n     */\n    fun cancellable(cancellable: Boolean = true) {\n        checkBuilder()\n        builder!!.setCancelable(cancellable)\n    }\n\n    /**\n     * Sets the [callback] that will be called if the dialog is canceled.\n     */\n    fun onCancel(callback: () -> Unit) {\n        checkBuilder()\n        builder!!.setOnCancelListener { callback() }\n    }\n\n    /**\n     * Sets the [callback] that will be called if a key is dispatched to the dialog.\n     */\n    fun onKey(callback: (keyCode: Int, e: KeyEvent) -> Boolean) {\n        checkBuilder()\n        builder!!.setOnKeyListener({ dialog, keyCode, event -> callback(keyCode, event) })\n    }\n\n    /**\n     * Set a listener to be invoked when the neutral button of the dialog is pressed.\n     * \n     * @param neutralText the text resource to display in the neutral button.\n     * @param callback the callback that will be called if the neutral button is pressed.\n     */\n    fun neutralButton(neutralText: Int = R.string.ok, callback: DialogInterface.() -> Unit = { dismiss() }) {\n        neutralButton(ctx.getString(neutralText), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the neutral button of the dialog is pressed.\n     *\n     * @param neutralText the text to display in the neutral button.\n     * @param callback the callback that will be called if the neutral button is pressed.\n     */\n    fun neutralButton(neutralText: CharSequence, callback: DialogInterface.() -> Unit = { dismiss() }) {\n        checkBuilder()\n        builder!!.setNeutralButton(neutralText, { dialog, which -> dialog.callback() })\n    }\n\n    /**\n     * Set a listener to be invoked when the positive button of the dialog is pressed.\n     *\n     * @param positiveText the text to display in the positive button.\n     * @param callback the callback that will be called if the positive button is pressed.\n     */\n    fun positiveButton(positiveText: Int, callback: DialogInterface.() -> Unit) {\n        positiveButton(ctx.getString(positiveText), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the positive button of the dialog is pressed.\n     *\n     * @param callback the callback that will be called if the positive button is pressed.\n     */\n    fun okButton(callback: DialogInterface.() -> Unit) {\n        positiveButton(ctx.getString(R.string.ok), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the positive button of the dialog is pressed.\n     *\n     * @param callback the callback that will be called if the positive button is pressed.\n     */\n    fun yesButton(callback: DialogInterface.() -> Unit) {\n        positiveButton(ctx.getString(R.string.yes), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the positive button of the dialog is pressed.\n     *\n     * @param positiveText the text to display in the positive button.\n     * @param callback the callback that will be called if the positive button is pressed.\n     */\n    fun positiveButton(positiveText: CharSequence, callback: DialogInterface.() -> Unit) {\n        checkBuilder()\n        builder!!.setPositiveButton(positiveText, { dialog, which -> dialog.callback() })\n    }\n\n    /**\n     * Set a listener to be invoked when the negative button of the dialog is pressed.\n     *\n     * @param negativeText the text to display in the negative button.\n     * @param callback the callback that will be called if the negative button is pressed.\n     */\n    fun negativeButton(negativeText: Int, callback: DialogInterface.() -> Unit = { dismiss() }) {\n        negativeButton(ctx.getString(negativeText), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the negative button of the dialog is pressed.\n     *\n     * @param callback the callback that will be called if the negative button is pressed.\n     */\n    fun cancelButton(callback: DialogInterface.() -> Unit = { dismiss() }) {\n        negativeButton(ctx.getString(R.string.cancel), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the negative button of the dialog is pressed.\n     *\n     * @param callback the callback that will be called if the negative button is pressed.\n     */\n    fun noButton(callback: DialogInterface.() -> Unit = { dismiss() }) {\n        negativeButton(ctx.getString(R.string.no), callback)\n    }\n\n    /**\n     * Set a listener to be invoked when the negative button of the dialog is pressed.\n     *\n     * @param negativeText the text to display in the negative button.\n     * @param callback the callback that will be called if the negative button is pressed.\n     */\n    fun negativeButton(negativeText: CharSequence, callback: DialogInterface.() -> Unit = { dismiss() }) {\n        checkBuilder()\n        builder!!.setNegativeButton(negativeText, { dialog, which -> dialog.callback() })\n    }\n\n    fun items(itemsId: Int, callback: (which: Int) -> Unit) {\n        items(ctx.resources!!.getTextArray(itemsId), callback)\n    }\n\n    fun items(items: List<CharSequence>, callback: (which: Int) -> Unit) {\n        items(items.toTypedArray(), callback)\n    }\n\n    fun items(items: Array<CharSequence>, callback: (which: Int) -> Unit) {\n        checkBuilder()\n        builder!!.setItems(items, { dialog, which -> callback(which) })\n    }\n\n    fun adapter(adapter: ListAdapter, callback: (which: Int) -> Unit) {\n        checkBuilder()\n        builder!!.setAdapter(adapter, { dialog, which -> callback(which) })\n    }\n\n    fun adapter(cursor: Cursor, labelColumn: String, callback: (which: Int) -> Unit) {\n        checkBuilder()\n        builder!!.setCursor(cursor, { dialog, which -> callback(which) }, labelColumn)\n    }\n\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/AndroidAlertBuilder.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko\n\nimport android.app.AlertDialog\nimport android.content.Context\nimport android.content.DialogInterface\nimport android.graphics.drawable.Drawable\nimport android.view.KeyEvent\nimport android.view.View\nimport org.jetbrains.anko.internals.AnkoInternals\nimport org.jetbrains.anko.internals.AnkoInternals.NO_GETTER\nimport kotlin.DeprecationLevel.ERROR\n\nval Android: AlertBuilderFactory<AlertDialog> = ::AndroidAlertBuilder\n\ninternal class AndroidAlertBuilder(override val ctx: Context) : AlertBuilder<AlertDialog> {\n    private val builder = AlertDialog.Builder(ctx)\n\n    override var title: CharSequence\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setTitle(value) }\n\n    override var titleResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setTitle(value) }\n\n    override var message: CharSequence\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setMessage(value) }\n\n    override var messageResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setMessage(value) }\n\n    override var icon: Drawable\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setIcon(value) }\n\n    override var iconResource: Int\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setIcon(value) }\n\n    override var customTitle: View\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setCustomTitle(value) }\n\n    override var customView: View\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setView(value) }\n\n    override var isCancelable: Boolean\n        @Deprecated(NO_GETTER, level = ERROR) get() = AnkoInternals.noGetter()\n        set(value) { builder.setCancelable(value) }\n\n    override fun onCancelled(handler: (DialogInterface) -> Unit) {\n        builder.setOnCancelListener(handler)\n    }\n\n    override fun onKeyPressed(handler: (dialog: DialogInterface, keyCode: Int, e: KeyEvent) -> Boolean) {\n        builder.setOnKeyListener(handler)\n    }\n\n    override fun positiveButton(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setPositiveButton(buttonText) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun positiveButton(buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setPositiveButton(buttonTextResource) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun negativeButton(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNegativeButton(buttonText) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun negativeButton(buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNegativeButton(buttonTextResource) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun neutralPressed(buttonText: String, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNeutralButton(buttonText) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun neutralPressed(buttonTextResource: Int, onClicked: (dialog: DialogInterface) -> Unit) {\n        builder.setNeutralButton(buttonTextResource) { dialog, _ -> onClicked(dialog) }\n    }\n\n    override fun items(items: List<CharSequence>, onItemSelected: (dialog: DialogInterface, index: Int) -> Unit) {\n        builder.setItems(Array(items.size) { i -> items[i].toString() }) { dialog, which ->\n            onItemSelected(dialog, which)\n        }\n    }\n\n    override fun <T> items(items: List<T>, onItemSelected: (dialog: DialogInterface, item: T, index: Int) -> Unit) {\n        builder.setItems(Array(items.size) { i -> items[i].toString() }) { dialog, which ->\n            onItemSelected(dialog, items[which], which)\n        }\n    }\n\n    override fun build(): AlertDialog = builder.create()\n\n    override fun show(): AlertDialog = builder.show()\n}"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/AndroidDialogs.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.AlertDialog\nimport android.app.Fragment\nimport android.app.ProgressDialog\nimport android.content.Context\nimport android.content.DialogInterface\n\ninline fun AnkoContext<*>.alert(\n        message: CharSequence,\n        title: CharSequence? = null,\n        noinline init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n) = ctx.alert(message, title, init)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.alert(\n        message: CharSequence,\n        title: CharSequence? = null,\n        noinline init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n) = activity.alert(message, title, init)\n\nfun Context.alert(\n        message: CharSequence,\n        title: CharSequence? = null,\n        init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n): AlertBuilder<AlertDialog> {\n    return AndroidAlertBuilder(this).apply {\n        if (title != null) {\n            this.title = title\n        }\n        this.message = message\n        if (init != null) init()\n    }\n}\n\ninline fun AnkoContext<*>.alert(\n        message: Int,\n        title: Int? = null,\n        noinline init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n) = ctx.alert(message, title, init)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.alert(\n        message: Int,\n        title: Int? = null,\n        noinline init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n) = activity.alert(message, title, init)\n\nfun Context.alert(\n        messageResource: Int,\n        titleResource: Int? = null,\n        init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n): AlertBuilder<DialogInterface> {\n    return AndroidAlertBuilder(this).apply {\n        if (titleResource != null) {\n            this.titleResource = titleResource\n        }\n        this.messageResource = messageResource\n        if (init != null) init()\n    }\n}\n\n\ninline fun AnkoContext<*>.alert(noinline init: AlertBuilder<DialogInterface>.() -> Unit) = ctx.alert(init)\ninline fun Fragment.alert(noinline init: AlertBuilder<DialogInterface>.() -> Unit) = activity.alert(init)\n\nfun Context.alert(init: AlertBuilder<DialogInterface>.() -> Unit): AlertBuilder<DialogInterface> =\n        AndroidAlertBuilder(this).apply { init() }\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun AnkoContext<*>.progressDialog(\n        message: Int? = null,\n        title: Int? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = ctx.progressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.progressDialog(\n        message: Int? = null,\n        title: Int? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = activity.progressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\nfun Context.progressDialog(\n        message: Int? = null,\n        title: Int? = null,\n        init: (ProgressDialog.() -> Unit)? = null\n) = progressDialog(false, message?.let { getString(it) }, title?.let { getString(it) }, init)\n\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun AnkoContext<*>.indeterminateProgressDialog(\n        message: Int? = null,\n        title: Int? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = ctx.indeterminateProgressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.indeterminateProgressDialog(\n        message: Int? = null,\n        title: Int? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = activity.indeterminateProgressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\nfun Context.indeterminateProgressDialog(\n        message: Int? = null,\n        title: Int? = null,\n        init: (ProgressDialog.() -> Unit)? = null\n) = progressDialog(true, message?.let { getString(it) }, title?.let { getString(it) }, init)\n\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun AnkoContext<*>.progressDialog(\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = ctx.progressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.progressDialog(\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = activity.progressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\nfun Context.progressDialog(\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        init: (ProgressDialog.() -> Unit)? = null\n) = progressDialog(false, message, title, init)\n\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun AnkoContext<*>.indeterminateProgressDialog(\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = ctx.indeterminateProgressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.indeterminateProgressDialog(\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = activity.indeterminateProgressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\nfun Context.indeterminateProgressDialog(\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        init: (ProgressDialog.() -> Unit)? = null\n) = progressDialog(true, message, title, init)\n\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\nprivate fun Context.progressDialog(\n        indeterminate: Boolean,\n        message: CharSequence? = null,\n        title: CharSequence? = null,\n        init: (ProgressDialog.() -> Unit)? = null\n) = ProgressDialog(this).apply {\n    isIndeterminate = indeterminate\n    if (!indeterminate) setProgressStyle(ProgressDialog.STYLE_HORIZONTAL)\n    if (message != null) setMessage(message)\n    if (title != null) setTitle(title)\n    if (init != null) init()\n    show()\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/AndroidSelectors.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\n\npackage org.jetbrains.anko\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.content.DialogInterface\n\ninline fun AnkoContext<*>.selector(\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        noinline onClick: (DialogInterface, Int) -> Unit\n) = ctx.selector(title, items, onClick)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.selector(\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        noinline onClick: (DialogInterface, Int) -> Unit\n) = activity.selector(title, items, onClick)\n\nfun Context.selector(\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        onClick: (DialogInterface, Int) -> Unit\n) {\n    with(AndroidAlertBuilder(this)) {\n        if (title != null) {\n            this.title = title\n        }\n        items(items, onClick)\n        show()\n    }\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/Dialogs.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.content.DialogInterface\n\ntypealias AlertBuilderFactory<D> = (Context) -> AlertBuilder<D>\n\ninline fun <D : DialogInterface> AnkoContext<*>.alert(\n        noinline factory: AlertBuilderFactory<D>,\n        message: String,\n        title: String? = null,\n        noinline init: (AlertBuilder<D>.() -> Unit)? = null\n) = ctx.alert(factory, message, title, init)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <D : DialogInterface> Fragment.alert(\n        noinline factory: AlertBuilderFactory<D>,\n        message: String,\n        title: String? = null,\n        noinline init: (AlertBuilder<D>.() -> Unit)? = null\n) = activity.alert(factory, message, title, init)\n\nfun <D : DialogInterface> Context.alert(\n        factory: AlertBuilderFactory<D>,\n        message: String,\n        title: String? = null,\n        init: (AlertBuilder<D>.() -> Unit)? = null\n): AlertBuilder<D> {\n    return factory(this).apply {\n        if (title != null) {\n            this.title = title\n        }\n        this.message = message\n        if (init != null) init()\n    }\n}\n\ninline fun <D : DialogInterface> AnkoContext<*>.alert(\n        noinline factory: AlertBuilderFactory<D>,\n        message: Int,\n        title: Int? = null,\n        noinline init: (AlertBuilder<D>.() -> Unit)? = null\n) = ctx.alert(factory, message, title, init)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <D : DialogInterface> Fragment.alert(\n        noinline factory: AlertBuilderFactory<D>,\n        message: Int,\n        title: Int? = null,\n        noinline init: (AlertBuilder<D>.() -> Unit)? = null\n) = activity.alert(factory, message, title, init)\n\nfun <D : DialogInterface> Context.alert(\n        factory: AlertBuilderFactory<D>,\n        messageResource: Int,\n        titleResource: Int? = null,\n        init: (AlertBuilder<D>.() -> Unit)? = null\n): AlertBuilder<D> {\n    return factory(this).apply {\n        if (titleResource != null) {\n            this.titleResource = titleResource\n        }\n        this.messageResource = messageResource\n        if (init != null) init()\n    }\n}\n\ninline fun <D : DialogInterface> AnkoContext<*>.alert(\n        noinline factory: AlertBuilderFactory<D>,\n        noinline init: AlertBuilder<D>.() -> Unit\n) = ctx.alert(factory, init)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <D : DialogInterface> Fragment.alert(\n        noinline factory: AlertBuilderFactory<D>,\n        noinline init: AlertBuilder<D>.() -> Unit\n) = activity.alert(factory, init)\n\nfun <D : DialogInterface> Context.alert(\n        factory: AlertBuilderFactory<D>,\n        init: AlertBuilder<D>.() -> Unit\n): AlertBuilder<D> = factory(this).apply { init() }\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/Selectors.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.content.DialogInterface\n\ninline fun <D : DialogInterface> AnkoContext<*>.selector(\n        noinline factory: AlertBuilderFactory<D>,\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        noinline onClick: (DialogInterface, CharSequence, Int) -> Unit\n) = ctx.selector(factory, title, items, onClick)\n\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun <D : DialogInterface> Fragment.selector(\n        noinline factory: AlertBuilderFactory<D>,\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        noinline onClick: (DialogInterface, CharSequence, Int) -> Unit\n) = activity.selector(factory, title, items, onClick)\n\nfun <D : DialogInterface> Context.selector(\n        factory: AlertBuilderFactory<D>,\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        onClick: (DialogInterface, CharSequence, Int) -> Unit\n) {\n    with(factory(this)) {\n        if (title != null) {\n            this.title = title\n        }\n        items(items, onClick)\n        show()\n    }\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/dialogs/Toasts.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Fragment\nimport android.content.Context\nimport android.widget.Toast\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\ninline fun AnkoContext<*>.toast(message: Int) = ctx.toast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.toast(message: Int) = activity.toast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\ninline fun Context.toast(message: Int): Toast = Toast\n        .makeText(this, message, Toast.LENGTH_SHORT)\n        .apply {\n            show()\n        }\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\ninline fun AnkoContext<*>.toast(message: CharSequence) = ctx.toast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.toast(message: CharSequence) = activity.toast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\ninline fun Context.toast(message: CharSequence): Toast = Toast\n        .makeText(this, message, Toast.LENGTH_SHORT)\n        .apply {\n            show()\n        }\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\ninline fun AnkoContext<*>.longToast(message: Int) = ctx.longToast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.longToast(message: Int) = activity.longToast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\ninline fun Context.longToast(message: Int): Toast = Toast\n        .makeText(this, message, Toast.LENGTH_LONG)\n        .apply {\n            show()\n        }\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\ninline fun AnkoContext<*>.longToast(message: CharSequence) = ctx.longToast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\n@Deprecated(message = \"Use support library fragments instead. Framework fragments were deprecated in API 28.\")\ninline fun Fragment.longToast(message: CharSequence) = activity.longToast(message)\n\n/**\n * Display the simple Toast message with the [Toast.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\ninline fun Context.longToast(message: CharSequence): Toast = Toast\n        .makeText(this, message, Toast.LENGTH_LONG)\n        .apply {\n            show()\n        }\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/menuItemsSequences.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.view.Menu\nimport android.view.MenuItem\nimport java.util.ConcurrentModificationException\nimport java.util.NoSuchElementException\n\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"children\", \"androidx.core.view.children\"))\nfun Menu.itemsSequence(): Sequence<MenuItem> = MenuItemsSequence(this)\n\nprivate class MenuItemsSequence(private val menu: Menu) : Sequence<MenuItem> {\n    override fun iterator(): Iterator<MenuItem> = MenuItemIterator(menu)\n\n    private class MenuItemIterator(private val menu: Menu) : Iterator<MenuItem> {\n        private var index = 0\n        private val count = menu.size()\n\n        override fun next(): MenuItem {\n            if (!hasNext()) {\n                throw NoSuchElementException()\n            }\n\n            return menu.getItem(index++)\n        }\n\n        override fun hasNext(): Boolean {\n            if (count != menu.size()) {\n                throw ConcurrentModificationException()\n            }\n\n            return index < count\n        }\n    }\n}\n"
  },
  {
    "path": "anko/library/static/commons/src/main/java/viewChildrenSequences.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.view.View\nimport android.view.ViewGroup\nimport java.util.ConcurrentModificationException\nimport java.util.NoSuchElementException\n\n/**\n * Execute [action] for each child of the received [ViewGroup].\n *\n * @param action the action to execute.\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"forEach(action)\", \"androidx.core.view.forEach\"))\ninline fun ViewGroup.forEachChild(action: (View) -> Unit) {\n    for (i in 0..childCount - 1) {\n        action(getChildAt(i))\n    }\n}\n\n/**\n * Execute [action] for each child of the received [ViewGroup].\n *\n * @param action the action to execute. The first index is 0.\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"forEachIndexed(action)\", \"androidx.core.view.forEachIndexed\"))\ninline fun ViewGroup.forEachChildWithIndex(action: (Int, View) -> Unit) {\n    for (i in 0..childCount - 1) {\n        action(i, getChildAt(i))\n    }\n}\n\n/**\n * Return the first child [View] matching the given [predicate].\n *\n * @param predicate the predicate to check against.\n * @return the child [View] that matches [predicate].\n *   [NoSuchElementException] will be thrown if no such child was found.\n */\ninline fun ViewGroup.firstChild(predicate: (View) -> Boolean): View {\n    return firstChildOrNull(predicate)\n            ?: throw NoSuchElementException(\"No element matching predicate was found.\")\n}\n\n/**\n * Return the first child [View] matching the given [predicate].\n *\n * @param predicate the predicate to check against.\n * @return the child [View] that matches [predicate], or null if no such child was found.\n */\ninline fun ViewGroup.firstChildOrNull(predicate: (View) -> Boolean): View? {\n    for (i in 0..childCount - 1) {\n        val child = getChildAt(i)\n        if (predicate(child)) {\n            return child\n        }\n    }\n    return null\n}\n\n/**\n * Return the sequence of children of the received [View].\n * Note that the sequence is not thread-safe.\n *\n * @return the [Sequence] of children.\n */\n@Deprecated(message = \"Use the Android KTX version\", replaceWith = ReplaceWith(\"children\", \"androidx.core.view.children\"))\nfun View.childrenSequence(): Sequence<View> = ViewChildrenSequence(this)\n\n/**\n * Return the [Sequence] of all children of the received [View], recursively.\n * Note that the sequence is not thread-safe.\n *\n * @return the [Sequence] of children.\n */\nfun View.childrenRecursiveSequence(): Sequence<View> = ViewChildrenRecursiveSequence(this)\n\nprivate class ViewChildrenSequence(private val view: View) : Sequence<View> {\n    override fun iterator(): Iterator<View> {\n        if (view !is ViewGroup) return emptyList<View>().iterator()\n        return ViewIterator(view)\n    }\n\n    private class ViewIterator(private val view: ViewGroup) : Iterator<View> {\n        private var index = 0\n        private val count = view.childCount\n\n        override fun next(): View {\n            if (!hasNext()) throw NoSuchElementException()\n            return view.getChildAt(index++)\n        }\n\n        override fun hasNext(): Boolean {\n            checkCount()\n            return index < count\n        }\n\n        private fun checkCount() {\n            if (count != view.childCount) throw ConcurrentModificationException()\n        }\n    }\n}\n\nprivate class ViewChildrenRecursiveSequence(private val view: View) : Sequence<View> {\n    override fun iterator(): Iterator<View> {\n        if (view !is ViewGroup) return emptyList<View>().iterator()\n        return RecursiveViewIterator(view)\n    }\n\n    private class RecursiveViewIterator(view: View) : Iterator<View> {\n        private val sequences = arrayListOf(view.childrenSequence())\n        private var current = sequences.removeLast().iterator()\n\n        override fun next(): View {\n            if (!hasNext()) throw NoSuchElementException()\n            val view = current.next()\n            if (view is ViewGroup && view.childCount > 0) {\n                sequences.add(view.childrenSequence())\n            }\n            return view\n        }\n\n        override fun hasNext(): Boolean {\n            if (!current.hasNext() && sequences.isNotEmpty()) {\n                current = sequences.removeLast().iterator()\n            }\n            return current.hasNext()\n        }\n\n        @Suppress(\"NOTHING_TO_INLINE\")\n        private inline fun <T : Any> MutableList<T>.removeLast(): T {\n            if (isEmpty()) throw NoSuchElementException()\n            return removeAt(size - 1)\n        }\n    }\n}\n\n"
  },
  {
    "path": "anko/library/static/constraint-layout/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:support-annotations:$SUPPORT_ARTIFACT_VERSION\"\n    api \"com.android.support.constraint:constraint-layout:$CONSTRAINT_LAYOUT_ARTIFACT_VERSION\"\n    api project(':static:commons-base')\n}\n"
  },
  {
    "path": "anko/library/static/constraint-layout/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.constraint.layout\" />\n"
  },
  {
    "path": "anko/library/static/constraint-layout/src/main/java/ConstraintLayout.kt",
    "content": "/*\n * Copyright 2017 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n@file:Suppress(\"unused\")\n\npackage org.jetbrains.anko.constraint.layout\n\nimport android.support.annotation.IdRes\nimport android.support.constraint.ConstraintLayout\nimport android.support.constraint.ConstraintSet\nimport android.view.View\nimport org.jetbrains.anko.constraint.layout.ConstraintSetBuilder.Connection.BasicConnection\nimport org.jetbrains.anko.constraint.layout.ConstraintSetBuilder.Side\nimport org.jetbrains.anko.internals.AnkoInternals\nimport org.jetbrains.anko.internals.AnkoInternals.noGetter\n\nval ConstraintLayout.matchConstraint\n    get() = ConstraintLayout.LayoutParams.MATCH_CONSTRAINT\n\nfun ConstraintLayout.applyConstraintSet(init: ConstraintSetBuilder.() -> Unit): ConstraintSet =\n        constraintSet(init).also { it.applyTo(this) }\n\nfun ConstraintLayout.constraintSet(init: ConstraintSetBuilder.() -> Unit): ConstraintSet =\n        ConstraintSetBuilder().also { it.clone(this) }.apply(init)\n\nclass ViewConstraintBuilder(\n        private @IdRes val viewId: Int,\n        private val constraintSetBuilder: ConstraintSetBuilder) {\n\n    infix fun Pair<Side, Side>.of(@IdRes targetViewId: Int): BasicConnection =\n            constraintSetBuilder.run { (first of viewId) to (second of targetViewId) }\n\n    infix fun Pair<Side, Side>.of(targetView: View): BasicConnection = this of targetView.id\n\n    fun clear() {\n        constraintSetBuilder.clear(viewId)\n    }\n\n    fun clear(sideId: Int) {\n        constraintSetBuilder.clear(viewId, sideId)\n    }\n\n    fun setMargin(sideId: Int, value: Int) {\n        constraintSetBuilder.setMargin(viewId, sideId, value)\n    }\n\n    fun setGoneMargin(sideId: Int, value: Int) {\n        constraintSetBuilder.setGoneMargin(viewId, sideId, value)\n    }\n\n    var horizontalBias: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setHorizontalBias(viewId, value)\n        }\n\n    var verticalBias: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setVerticalBias(viewId, value)\n        }\n\n    var dimensionRatio: String\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setDimensionRatio(viewId, value)\n        }\n\n    var visibility: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setVisibility(viewId, value)\n        }\n\n    var alpha: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setAlpha(viewId, value)\n        }\n\n    var applyElevation: Boolean\n        get() = constraintSetBuilder.getApplyElevation(viewId)\n        set(value) {\n            constraintSetBuilder.setApplyElevation(viewId, value)\n        }\n\n    var elevation: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setElevation(viewId, value)\n        }\n\n    var rotationX: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setRotationX(viewId, value)\n        }\n\n    var rotationY: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setRotationY(viewId, value)\n        }\n\n    var scaleX: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setScaleX(viewId, value)\n        }\n\n    var scaleY: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setScaleY(viewId, value)\n        }\n\n    var transformPivotX: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setTransformPivotX(viewId, value)\n        }\n\n    var transformPivotY: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setTransformPivotY(viewId, value)\n        }\n\n    var translationX: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setTranslationX(viewId, value)\n        }\n\n    var translationY: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setTranslationY(viewId, value)\n        }\n\n    var translationZ: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setTranslationZ(viewId, value)\n        }\n\n    var height: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainHeight(viewId, value)\n        }\n\n    var width: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainWidth(viewId, value)\n        }\n\n    var maxHeight: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainMaxHeight(viewId, value)\n        }\n\n    var maxWidth: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainMaxWidth(viewId, value)\n        }\n\n    var minHeight: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainMinHeight(viewId, value)\n        }\n\n    var minWidth: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainMinWidth(viewId, value)\n        }\n\n    var defaultHeight: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainDefaultHeight(viewId, value)\n        }\n\n    var defaultWidth: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.constrainDefaultWidth(viewId, value)\n        }\n\n    var horizontalWeight: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setHorizontalWeight(viewId, value)\n        }\n\n    var verticalWeight: Float\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setVerticalWeight(viewId, value)\n        }\n\n    var horizontalChainStyle: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setHorizontalChainStyle(viewId, value)\n        }\n\n    var verticalChainStyle: Int\n        @Deprecated(AnkoInternals.NO_GETTER, level = DeprecationLevel.ERROR) get() = noGetter()\n        set(value) {\n            constraintSetBuilder.setVerticalChainStyle(viewId, value)\n        }\n}\n\nclass ConstraintSetBuilder : ConstraintSet() {\n    operator fun Int.invoke(init: ViewConstraintBuilder.() -> Unit) {\n        ViewConstraintBuilder(this, this@ConstraintSetBuilder).apply(init)\n    }\n\n    operator fun View.invoke(init: ViewConstraintBuilder.() -> Unit) = id.invoke(init)\n\n    infix fun Side.of(@IdRes viewId: Int) = when (this) {\n        Side.LEFT -> ViewSide.Left(viewId)\n        Side.RIGHT -> ViewSide.Right(viewId)\n        Side.TOP -> ViewSide.Top(viewId)\n        Side.BOTTOM -> ViewSide.Bottom(viewId)\n        Side.BASELINE -> ViewSide.Baseline(viewId)\n        Side.START -> ViewSide.Start(viewId)\n        Side.END -> ViewSide.End(viewId)\n    }\n\n    infix fun Side.of(view: View) = this of view.id\n\n    infix fun Pair<ViewSide, Side>.of(@IdRes viewId: Int) = first to (second of viewId)\n\n    infix fun Pair<ViewSide, Side>.of(view: View) = first to (second of view.id)\n\n    infix fun ViewSide.to(targetSide: ViewSide) = BasicConnection(this, targetSide)\n\n    infix fun BasicConnection.margin(margin: Int) = Connection.MarginConnection(from, to, margin)\n\n    fun connect(vararg connections: Connection) {\n        for (connection in connections) {\n            when (connection) {\n                is Connection.MarginConnection -> connect(\n                        connection.from.viewId,\n                        connection.from.sideId,\n                        connection.to.viewId,\n                        connection.to.sideId,\n                        connection.margin\n                )\n                is BasicConnection -> connect(\n                        connection.from.viewId,\n                        connection.from.sideId,\n                        connection.to.viewId,\n                        connection.to.sideId\n                )\n            }\n        }\n    }\n\n    enum class Side {\n        LEFT,\n        RIGHT,\n        TOP,\n        BOTTOM,\n        BASELINE,\n        START,\n        END,\n    }\n\n    sealed class ViewSide(@IdRes val viewId: Int) {\n        class Left(@IdRes viewId: Int) : ViewSide(viewId)\n        class Right(@IdRes viewId: Int) : ViewSide(viewId)\n        class Top(@IdRes viewId: Int) : ViewSide(viewId)\n        class Bottom(@IdRes viewId: Int) : ViewSide(viewId)\n        class Baseline(@IdRes viewId: Int) : ViewSide(viewId)\n        class Start(@IdRes viewId: Int) : ViewSide(viewId)\n        class End(@IdRes viewId: Int) : ViewSide(viewId)\n\n        val sideId: Int\n            get() = when(this) {\n                is ViewSide.Left -> ConstraintSet.LEFT\n                is ViewSide.Right -> ConstraintSet.RIGHT\n                is ViewSide.Top -> ConstraintSet.TOP\n                is ViewSide.Bottom -> ConstraintSet.BOTTOM\n                is ViewSide.Baseline -> ConstraintSet.BASELINE\n                is ViewSide.Start -> ConstraintSet.START\n                is ViewSide.End -> ConstraintSet.END\n            }\n    }\n\n    sealed class Connection(val from: ViewSide, val to: ViewSide) {\n        class BasicConnection(from: ViewSide, to: ViewSide) : Connection(from, to)\n        class MarginConnection(from: ViewSide, to: ViewSide, val margin: Int) : Connection(from, to)\n    }\n}\n"
  },
  {
    "path": "anko/library/static/design/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:design:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':static:commons-base')\n}\n"
  },
  {
    "path": "anko/library/static/design/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.design\" />\n"
  },
  {
    "path": "anko/library/static/design/src/main/java/Snackbar.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:JvmName(\"DesignSnackbarKt\")\n@file:Suppress(\"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko.design\n\nimport android.support.annotation.StringRes\nimport android.support.design.widget.Snackbar\nimport android.view.View\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(\"Use 'View.snackbar(Int)' instead.\", ReplaceWith(\"view.snackbar(message)\"))\ninline fun snackbar(view: View, message: Int) = Snackbar\n        .make(view, message, Snackbar.LENGTH_SHORT)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(\"Use 'View.longSnackbar(Int)' instead.\", ReplaceWith(\"view.longSnackbar(message)\"))\ninline fun longSnackbar(view: View, message: Int) = Snackbar\n        .make(view, message, Snackbar.LENGTH_LONG)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(\"Use 'View.indefiniteSnackbar(Int)' instead.\", ReplaceWith(\"view.indefiniteSnackbar(message)\"))\ninline fun indefiniteSnackbar(view: View, message: Int) = Snackbar\n        .make(view, message, Snackbar.LENGTH_INDEFINITE)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\n@Deprecated(\"Use 'View.snackbar(CharSequence)' instead.\", ReplaceWith(\"view.snackbar(message)\"))\ninline fun snackbar(view: View, message: CharSequence) = Snackbar\n        .make(view, message, Snackbar.LENGTH_SHORT)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\n@Deprecated(\"Use 'View.longSnackbar(CharSequence)' instead.\", ReplaceWith(\"view.longSnackbar(message)\"))\ninline fun longSnackbar(view: View, message: CharSequence) = Snackbar\n        .make(view, message, Snackbar.LENGTH_LONG)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text.\n */\n@Deprecated(\"Use 'View.indefiniteSnackbar(CharSequence)' instead.\", ReplaceWith(\"view.indefiniteSnackbar(message)\"))\ninline fun indefiniteSnackbar(view: View, message: CharSequence) = Snackbar\n        .make(view, message, Snackbar.LENGTH_INDEFINITE)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(\"Use 'View.snackbar(Int, Int, (View) -> Unit)' instead.\", ReplaceWith(\"view.snackbar(message, actionText, action)\"))\ninline fun snackbar(view: View, message: Int, actionText: Int, noinline action: (View) -> Unit) = Snackbar\n        .make(view, message, Snackbar.LENGTH_SHORT)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(\"Use 'View.longSnackbar(Int, Int, (View) -> Unit)' instead.\", ReplaceWith(\"view.longSnackbar(message, actionText, action)\"))\ninline fun longSnackbar(view: View, message: Int, actionText: Int, noinline action: (View) -> Unit) = Snackbar\n        .make(view, message, Snackbar.LENGTH_LONG)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text resource.\n */\n@Deprecated(\"Use 'View.indefiniteSnackbar(Int, Int, (View) -> Unit)' instead.\", ReplaceWith(\"view.indefiniteSnackbar(message, actionText, action)\"))\ninline fun indefiniteSnackbar(view: View, message: Int, actionText: Int, noinline action: (View) -> Unit) = Snackbar\n        .make(view, message, Snackbar.LENGTH_INDEFINITE)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\n@Deprecated(\"Use 'View.snackbar(CharSequence, CharSequence, (View) -> Unit)' instead.\", ReplaceWith(\"view.snackbar(message, actionText, action)\"))\ninline fun snackbar(view: View, message: CharSequence, actionText: CharSequence, noinline action: (View) -> Unit) = Snackbar\n        .make(view, message, Snackbar.LENGTH_SHORT)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\n@Deprecated(\"Use 'View.longSnackbar(CharSequence, CharSequence, (View) -> Unit)' instead.\", ReplaceWith(\"view.longSnackbar(message, actionText, action)\"))\ninline fun longSnackbar(view: View, message: CharSequence, actionText: CharSequence, noinline action: (View) -> Unit) = Snackbar\n        .make(view, message, Snackbar.LENGTH_LONG)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text.\n */\n@Deprecated(\"Use 'View.indefiniteSnackbar(CharSequence, CharSequence, (View) -> Unit)' instead.\", ReplaceWith(\"view.indefiniteSnackbar(message, actionText, action)\"))\ninline fun indefiniteSnackbar(view: View, message: CharSequence, actionText: CharSequence, noinline action: (View) -> Unit) = Snackbar\n        .make(view, message, Snackbar.LENGTH_INDEFINITE)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\n@JvmName(\"snackbar2\")\ninline fun View.snackbar(@StringRes message: Int) = Snackbar\n        .make(this, message, Snackbar.LENGTH_SHORT)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\n@JvmName(\"longSnackbar2\")\ninline fun View.longSnackbar(@StringRes message: Int) = Snackbar\n        .make(this, message, Snackbar.LENGTH_LONG)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text resource.\n */\n@JvmName(\"indefiniteSnackbar2\")\ninline fun View.indefiniteSnackbar(@StringRes message: Int) = Snackbar\n        .make(this, message, Snackbar.LENGTH_INDEFINITE)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\n@JvmName(\"snackbar2\")\ninline fun View.snackbar(message: CharSequence) = Snackbar\n        .make(this, message, Snackbar.LENGTH_SHORT)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\n@JvmName(\"longSnackbar2\")\ninline fun View.longSnackbar(message: CharSequence) = Snackbar\n        .make(this, message, Snackbar.LENGTH_LONG)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text.\n */\n@JvmName(\"indefiniteSnackbar2\")\ninline fun View.indefiniteSnackbar(message: CharSequence) = Snackbar\n        .make(this, message, Snackbar.LENGTH_INDEFINITE)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text resource.\n */\n@JvmName(\"snackbar2\")\ninline fun View.snackbar(message: Int, @StringRes actionText: Int, noinline action: (View) -> Unit) = Snackbar\n        .make(this, message, Snackbar.LENGTH_SHORT)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text resource.\n */\n@JvmName(\"longSnackbar2\")\ninline fun View.longSnackbar(@StringRes message: Int, @StringRes actionText: Int, noinline action: (View) -> Unit) = Snackbar\n        .make(this, message, Snackbar.LENGTH_LONG)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text resource.\n */\n@JvmName(\"indefiniteSnackbar2\")\ninline fun View.indefiniteSnackbar(@StringRes message: Int, @StringRes actionText: Int, noinline action: (View) -> Unit) = Snackbar\n        .make(this, message, Snackbar.LENGTH_INDEFINITE)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display the Snackbar with the [Snackbar.LENGTH_SHORT] duration.\n *\n * @param message the message text.\n */\n@JvmName(\"snackbar2\")\ninline fun View.snackbar(message: CharSequence, actionText: CharSequence, noinline action: (View) -> Unit) = Snackbar\n        .make(this, message, Snackbar.LENGTH_SHORT)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_LONG] duration.\n *\n * @param message the message text.\n */\n@JvmName(\"longSnackbar2\")\ninline fun View.longSnackbar(message: CharSequence, actionText: CharSequence, noinline action: (View) -> Unit) = Snackbar\n        .make(this, message, Snackbar.LENGTH_LONG)\n        .setAction(actionText, action)\n        .apply { show() }\n\n/**\n * Display Snackbar with the [Snackbar.LENGTH_INDEFINITE] duration.\n *\n * @param message the message text.\n */\n@JvmName(\"indefiniteSnackbar2\")\ninline fun View.indefiniteSnackbar(message: CharSequence, actionText: CharSequence, noinline action: (View) -> Unit) = Snackbar\n        .make(this, message, Snackbar.LENGTH_INDEFINITE)\n        .setAction(actionText, action)\n        .apply { show() }\n"
  },
  {
    "path": "anko/library/static/platform/build.gradle",
    "content": "apply from: '../../library.gradle'\n\nconfigurations {\n    stubs // to avoid stubs dependency in pom\n    implementation.extendsFrom stubs\n}\n\ndependencies {\n    api project(':static:commons-base')\n    stubs project(':stubs') // needed to resolve dependency cycle\n}\n"
  },
  {
    "path": "anko/library/static/platform/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.platform\" />\n"
  },
  {
    "path": "anko/library/static/platform/src/main/java/CustomLayoutProperties.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.view.ViewGroup\nimport org.jetbrains.anko.internals.AnkoInternals.NO_GETTER\nimport org.jetbrains.anko.internals.AnkoInternals.noGetter\nimport kotlin.DeprecationLevel.ERROR\n\nval matchParent: Int = android.view.ViewGroup.LayoutParams.MATCH_PARENT\nval wrapContent: Int = android.view.ViewGroup.LayoutParams.WRAP_CONTENT\n\nvar ViewGroup.MarginLayoutParams.verticalMargin: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(v) {\n        topMargin = v\n        bottomMargin = v\n    }\n\nvar ViewGroup.MarginLayoutParams.horizontalMargin: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(v) { leftMargin = v; rightMargin = v }\n\nvar ViewGroup.MarginLayoutParams.margin: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(v) {\n        leftMargin = v\n        rightMargin = v\n        topMargin = v\n        bottomMargin = v\n    }"
  },
  {
    "path": "anko/library/static/platform/src/main/java/CustomServices.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.content.Context\n\ninline val Context.vibrator: android.os.Vibrator\n    get() = getSystemService(Context.VIBRATOR_SERVICE) as android.os.Vibrator\n\ninline val Context.layoutInflater: android.view.LayoutInflater\n    get() = getSystemService(Context.LAYOUT_INFLATER_SERVICE) as android.view.LayoutInflater"
  },
  {
    "path": "anko/library/static/platform/src/main/java/CustomViewProperties.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.os.Build\nimport android.graphics.drawable.Drawable\nimport android.util.TypedValue\nimport android.view.View\nimport android.widget.ImageView\nimport android.widget.TextView\nimport org.jetbrains.anko.internals.AnkoInternals.NO_GETTER\nimport org.jetbrains.anko.internals.AnkoInternals.noGetter\nimport kotlin.DeprecationLevel.ERROR\n\nvar View.backgroundDrawable: Drawable?\n    inline get() = background\n    set(value) = setBackgroundDrawable(value)\n\nvar View.backgroundColorResource: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(colorId) = setBackgroundColor(context.resources.getColor(colorId))\n\nvar View.leftPadding: Int\n    inline get() = paddingLeft\n    set(value) = setPadding(value, paddingTop, paddingRight, paddingBottom)\n\nvar View.topPadding: Int\n    inline get() = paddingTop\n    set(value) = setPadding(paddingLeft, value, paddingRight, paddingBottom)\n\nvar View.rightPadding: Int\n    inline get() = paddingRight\n    set(value) = setPadding(paddingLeft, paddingTop, value, paddingBottom)\n\nvar View.bottomPadding: Int\n    inline get() = paddingBottom\n    set(value) = setPadding(paddingLeft, paddingTop, paddingRight, value)\n\n@Deprecated(\"Use horizontalPadding instead\", ReplaceWith(\"horizontalPadding\"))\nvar View.paddingHorizontal: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(value) = setPadding(value, paddingTop, value, paddingBottom)\n\nvar View.horizontalPadding: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(value) = setPadding(value, paddingTop, value, paddingBottom)\n\n@Deprecated(\"Use verticalPadding instead\", ReplaceWith(\"verticalPadding\"))\nvar View.paddingVertical: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(value) = setPadding(paddingLeft, value, paddingRight, value)\n\nvar View.verticalPadding: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(value) = setPadding(paddingLeft, value, paddingRight, value)\n\nvar View.padding: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    inline set(value) = setPadding(value, value, value, value)\n\nvar TextView.allCaps: Boolean\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    inline set(value) = setAllCaps(value)\n\nvar TextView.ems: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    inline set(value) = setEms(value)\n\ninline var TextView.isSelectable: Boolean\n    get() = isTextSelectable\n    set(value) = setTextIsSelectable(value)\n\nvar TextView.textAppearance: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(value) = if (Build.VERSION.SDK_INT >= 23) setTextAppearance(value) else setTextAppearance(context, value)\n\nvar TextView.textSizeDimen: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(value) = setTextSize(TypedValue.COMPLEX_UNIT_PX, context.resources.getDimension(value))\n\nvar TextView.textColorResource: Int\n    @Deprecated(NO_GETTER, level = ERROR) get() = noGetter()\n    set(colorId) = setTextColor(context.resources.getColor(colorId))\n\nvar ImageView.image: Drawable?\n    inline get() = drawable\n    inline set(value) = setImageDrawable(value)\n"
  },
  {
    "path": "anko/library/static/platform/src/main/java/CustomViews.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko\n\nimport android.app.Activity\nimport android.content.Context\nimport android.view.View\nimport android.view.ViewGroup\nimport android.view.ViewManager\nimport android.widget.EditText\nimport android.widget.LinearLayout\nimport android.widget.ProgressBar\nimport org.jetbrains.anko.custom.ankoView\n\n@PublishedApi\ninternal object `$$Anko$Factories$CustomViews` {\n    val VERTICAL_LAYOUT_FACTORY = { ctx: Context ->\n        val view = _LinearLayout(ctx)\n        view.orientation = LinearLayout.VERTICAL\n        view\n    }\n\n    val EDIT_TEXT = { ctx: Context -> EditText(ctx) }\n\n    val HORIZONTAL_PROGRESS_BAR_FACTORY = { ctx: Context ->\n        ProgressBar(ctx, null, android.R.attr.progressBarStyleHorizontal)\n    }\n}\n\ninline fun ViewManager.verticalLayout(theme: Int = 0): LinearLayout = verticalLayout(theme) {}\ninline fun ViewManager.verticalLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): LinearLayout {\n    return ankoView(`$$Anko$Factories$CustomViews`.VERTICAL_LAYOUT_FACTORY, theme, init)\n}\n\ninline fun Context.verticalLayout(theme: Int = 0): LinearLayout = verticalLayout(theme) {}\ninline fun Context.verticalLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): LinearLayout {\n    return ankoView(`$$Anko$Factories$CustomViews`.VERTICAL_LAYOUT_FACTORY, theme, init)\n}\n\ninline fun Activity.verticalLayout(theme: Int = 0): LinearLayout = verticalLayout(theme) {}\ninline fun Activity.verticalLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit): LinearLayout {\n    return ankoView(`$$Anko$Factories$CustomViews`.VERTICAL_LAYOUT_FACTORY, theme, init)\n}\n\ninline fun ViewManager.editText(constraints: InputConstraints, theme: Int = 0): EditText = editText(constraints, theme) {}\ninline fun ViewManager.editText(constraints: InputConstraints, theme: Int = 0, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    val v = ankoView(`$$Anko$Factories$CustomViews`.EDIT_TEXT, theme, init)\n    v.inputType = constraints.value\n    return v\n}\n\ninline fun Context.editText(constraints: InputConstraints, theme: Int = 0): EditText = editText(constraints, theme) {}\ninline fun Context.editText(constraints: InputConstraints, theme: Int = 0, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    val v = ankoView(`$$Anko$Factories$CustomViews`.EDIT_TEXT, theme, init)\n    v.inputType = constraints.value\n    return v\n}\n\ninline fun Activity.editText(constraints: InputConstraints, theme: Int = 0): EditText = editText(constraints, theme) {}\ninline fun Activity.editText(constraints: InputConstraints, theme: Int = 0, init: (@AnkoViewDslMarker EditText).() -> Unit): EditText {\n    val v = ankoView(`$$Anko$Factories$CustomViews`.EDIT_TEXT, theme, init)\n    v.inputType = constraints.value\n    return v\n}\n\ninline fun ViewManager.horizontalProgressBar(theme: Int = 0): ProgressBar = horizontalProgressBar(theme) {}\ninline fun ViewManager.horizontalProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker ProgressBar).() -> Unit): ProgressBar {\n    return ankoView(`$$Anko$Factories$CustomViews`.HORIZONTAL_PROGRESS_BAR_FACTORY, theme, init)\n}\n\ninline fun Context.horizontalProgressBar(theme: Int = 0): ProgressBar = horizontalProgressBar(theme) {}\ninline fun Context.horizontalProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker ProgressBar).() -> Unit): ProgressBar {\n    return ankoView(`$$Anko$Factories$CustomViews`.HORIZONTAL_PROGRESS_BAR_FACTORY, theme, init)\n}\n\ninline fun Activity.horizontalProgressBar(theme: Int = 0): ProgressBar = horizontalProgressBar(theme) {}\ninline fun Activity.horizontalProgressBar(theme: Int = 0, init: (@AnkoViewDslMarker ProgressBar).() -> Unit): ProgressBar {\n    return ankoView(`$$Anko$Factories$CustomViews`.HORIZONTAL_PROGRESS_BAR_FACTORY, theme, init)\n}\n\ninline fun <T: View> ViewManager.include(layoutId: Int): T = include(layoutId, {})\ninline fun <T: View> ViewManager.include(layoutId: Int, init: (@AnkoViewDslMarker T).() -> Unit): T {\n    @Suppress(\"UNCHECKED_CAST\")\n    return ankoView({ ctx -> ctx.layoutInflater.inflate(layoutId, null) as T }, 0) { init() }\n}\n\ninline fun <T: View> ViewGroup.include(layoutId: Int): T = include(layoutId, {})\ninline fun <T: View> ViewGroup.include(layoutId: Int, init: (@AnkoViewDslMarker T).() -> Unit): T {\n    @Suppress(\"UNCHECKED_CAST\")\n    return ankoView({ ctx -> ctx.layoutInflater.inflate(layoutId, this, false) as T }, 0) { init() }\n}\n\ninline fun <T: View> Context.include(layoutId: Int): T = include(layoutId, {})\ninline fun <T: View> Context.include(layoutId: Int, init: (@AnkoViewDslMarker T).() -> Unit): T {\n    @Suppress(\"UNCHECKED_CAST\")\n    return ankoView({ ctx -> ctx.layoutInflater.inflate(layoutId, null) as T }, 0) { init() }\n}\n\ninline fun <T: View> Activity.include(layoutId: Int): T = include(layoutId, {})\ninline fun <T: View> Activity.include(layoutId: Int, init: (@AnkoViewDslMarker T).() -> Unit): T {\n    @Suppress(\"UNCHECKED_CAST\")\n    return ankoView({ ctx -> ctx.layoutInflater.inflate(layoutId, null) as T }, 0) { init() }\n}"
  },
  {
    "path": "anko/library/static/platform/src/main/java/InputConstraints.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko\n\nimport android.text.InputType\n\nenum class InputConstraints(val value: Int) {\n    PASSWORD(InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_PASSWORD)\n}"
  },
  {
    "path": "anko/library/static/platform/src/main/java/Menus.kt",
    "content": "package org.jetbrains.anko\n\nimport android.view.Menu\nimport android.view.MenuItem\nimport android.view.SubMenu\n\n\n/**\n * Create a plain menu item\n */\ninline fun Menu.item(title: CharSequence, /*@DrawableRes*/ icon: Int = 0, checkable: Boolean = false): MenuItem =\n        add(title).apply {\n            setIcon(icon)\n            isCheckable = checkable\n        }\n\n/**\n * Create a menu item and configure it\n */\ninline fun Menu.item(title: CharSequence, /*@DrawableRes*/ icon: Int = 0, checkable: Boolean = false, configure: MenuItem.() -> Unit): MenuItem =\n        add(title).apply {\n            setIcon(icon)\n            isCheckable = checkable\n            configure()\n        }\n\n/**\n * Create a menu item with title from resources\n */\ninline fun Menu.item(/*@StringRes*/ titleRes: Int, /*@DrawableRes*/ icon: Int = 0, checkable: Boolean = false): MenuItem =\n        add(titleRes).apply {\n            setIcon(icon)\n            isCheckable = checkable\n        }\n\n/**\n * Create a menu item with title from resources and configure it\n */\ninline fun Menu.item(/*@StringRes*/ titleRes: Int, /*@DrawableRes*/ icon: Int = 0, checkable: Boolean = false, configure: MenuItem.() -> Unit): MenuItem =\n        add(titleRes).apply {\n            setIcon(icon)\n            isCheckable = checkable\n            configure()\n        }\n\n\n/**\n * Create a submenu\n */\ninline fun Menu.subMenu(title: CharSequence): SubMenu =\n        addSubMenu(title)\n\n/**\n * Create a submenu and configure it\n */\ninline fun Menu.subMenu(title: CharSequence, configure: SubMenu.() -> Unit): SubMenu =\n        addSubMenu(title).apply { configure() }\n\n/**\n * Create a submenu with title from resources\n */\ninline fun Menu.subMenu(/*@StringRes*/ titleRes: Int): SubMenu =\n        addSubMenu(titleRes)\n\n/**\n * Create a submenu with title from resources and configure it\n */\ninline fun Menu.subMenu(/*@StringRes*/ titleRes: Int, configure: SubMenu.() -> Unit): SubMenu =\n        addSubMenu(titleRes).apply { configure() }\n\n\n/**\n * Create a checkable menu item for use in NavigationView\n */\ninline fun Menu.navigationItem(title: CharSequence, /*@DrawableRes*/ icon: Int = 0): Unit {\n    add(title).apply {\n        setIcon(icon)\n        isCheckable = true\n    }\n}\n\n/**\n * Create a navigation item with OnClickListener\n */\ninline fun Menu.navigationItem(title: CharSequence, /*@DrawableRes*/ icon: Int = 0, crossinline onClick: () -> Unit) {\n    add(title).apply {\n        setIcon(icon)\n        isCheckable = true\n        setOnMenuItemClickListener {\n            onClick()\n            false\n        }\n    }\n}\n\n/**\n * Create a navigation item with title from resources\n */\ninline fun Menu.navigationItem(/*@StringRes*/ titleRes: Int, /*@DrawableRes*/ icon: Int = 0) {\n    add(titleRes).apply {\n        setIcon(icon)\n        isCheckable = true\n    }\n}\n\n/**\n * Create a navigation item with title from resources and onClick listener\n */\ninline fun Menu.navigationItem(/*@StringRes*/ titleRes: Int, /*@DrawableRes*/ icon: Int = 0, crossinline onClick: () -> Unit) {\n    add(titleRes).apply {\n        setIcon(icon)\n        isCheckable = true\n        setOnMenuItemClickListener {\n            onClick()\n            false\n        }\n    }\n}\n\n\n/**\n * Set OnClickListener on a menu item\n */\ninline fun MenuItem.onClick(consume: Boolean = true, crossinline action: () -> Unit): Unit {\n    setOnMenuItemClickListener { action(); consume }\n}"
  },
  {
    "path": "anko/library/static/sqlite/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api project(':static:commons-base')\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.sqlite\" />\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/ClassParser.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.db\n\nimport org.jetbrains.anko.AnkoException\nimport org.jetbrains.anko.db.JavaSqliteUtils.PRIMITIVES_TO_WRAPPERS\nimport java.lang.reflect.Modifier\n\n@Target(AnnotationTarget.CONSTRUCTOR)\nannotation class ClassParserConstructor\n\n@Suppress(\"NOTHING_TO_INLINE\")\ninline fun <reified T: Any> classParser(): RowParser<T> = classParser(T::class.java)\n\n@PublishedApi\ninternal fun <T> classParser(clazz: Class<T>): RowParser<T> {\n    val applicableConstructors = clazz.declaredConstructors.filter { ctr ->\n        if (ctr.isVarArgs || !Modifier.isPublic(ctr.modifiers)) return@filter false\n        val types = ctr.parameterTypes\n        return@filter types != null && types.isNotEmpty() && types.all(::hasApplicableType)\n    }\n\n    if (applicableConstructors.isEmpty()) {\n        throw AnkoException(\"Can't initialize object parser for ${clazz.canonicalName}, no acceptable constructors found\")\n    }\n\n    val preferredConstructor = if (applicableConstructors.size > 1) {\n        applicableConstructors\n                .filter { it.isAnnotationPresent(ClassParserConstructor::class.java) }\n                .singleOrNull()\n                ?: throw AnkoException(\"Several constructors are annotated with ClassParserConstructor\")\n    } else {\n        applicableConstructors[0]\n    }\n\n    return object : RowParser<T> {\n        private val parameterTypes = preferredConstructor.parameterTypes\n\n        override fun parseRow(columns: Array<Any?>): T {\n            if (parameterTypes.size != columns.size) {\n                val columnsRendered = columns.joinToString(prefix = \"[\", postfix = \"]\")\n                val parameterTypesRendered = parameterTypes.joinToString(prefix = \"[\", postfix = \"]\") { it.canonicalName }\n                throw AnkoException(\"Class parser for ${preferredConstructor.name} \" +\n                        \"failed to parse the row: $columnsRendered (constructor parameter types: $parameterTypesRendered)\")\n            }\n\n            for (index in 0..(parameterTypes.size - 1)) {\n                val type = parameterTypes[index]\n                val columnValue = columns[index]\n                if (!type.isInstance(columnValue)) {\n                    // 'columns' array is created in Anko so it's safe to modify it directly\n                    columns[index] = castValue(columnValue, type)\n                }\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return (JavaSqliteUtils.newInstance(preferredConstructor, columns)) as T\n        }\n    }\n}\n\nprivate fun hasApplicableType(type: Class<*>): Boolean {\n    if (type.isPrimitive) {\n        return true\n    }\n\n    return when (type) {\n        java.lang.String::class.java, java.lang.CharSequence::class.java,\n        java.lang.Long::class.java, java.lang.Integer::class.java,\n        java.lang.Byte::class.java, java.lang.Character::class.java,\n        java.lang.Boolean::class.java, java.lang.Float::class.java,\n        java.lang.Double::class.java, java.lang.Short::class.java -> true\n        else -> false\n    }\n}\n\nprivate fun castValue(value: Any?, type: Class<*>): Any? {\n    if (value == null && type.isPrimitive) {\n        throw AnkoException(\"null can't be converted to the value of primitive type ${type.canonicalName}\")\n    }\n\n    if (value == null || type == Any::class.java) {\n        return value\n    }\n\n    if (type.isPrimitive && PRIMITIVES_TO_WRAPPERS[type] == value::class.java) {\n        return value\n    }\n\n    if (value is Double && (type == java.lang.Float.TYPE || type == java.lang.Float::class.java)) {\n        return value.toFloat()\n    }\n\n    if (value is Float && (type == java.lang.Double.TYPE || type == java.lang.Double::class.java)) {\n        return value.toDouble()\n    }\n\n    if (value is Char && CharSequence::class.java.isAssignableFrom(type)) {\n        return value.toString()\n    }\n\n    if (value is Long) {\n        if (type == java.lang.Integer.TYPE || type == java.lang.Integer::class.java) {\n            return value.toInt()\n        } else if (type == java.lang.Short.TYPE || type == java.lang.Short::class.java) {\n            return value.toShort()\n        } else if (type == java.lang.Byte.TYPE || type == java.lang.Byte::class.java) {\n            return value.toByte()\n        } else if (type == java.lang.Boolean.TYPE || type == java.lang.Boolean::class.java) {\n            return value != 0L\n        } else if (type == java.lang.Character.TYPE || type == java.lang.Character::class.java) {\n            return value.toChar()\n        }\n    }\n\n    if (value is Int) {\n        if (type == java.lang.Long.TYPE || type == java.lang.Long::class.java) {\n            return value.toLong()\n        } else if (type == java.lang.Short.TYPE || type == java.lang.Short::class.java) {\n            return value.toShort()\n        } else if (type == java.lang.Byte.TYPE || type == java.lang.Byte::class.java) {\n            return value.toByte()\n        } else if (type == java.lang.Boolean.TYPE || type == java.lang.Boolean::class.java) {\n            return value != 0\n        } else if (type == java.lang.Character.TYPE || type == java.lang.Character::class.java) {\n            return value.toChar()\n        }\n    }\n\n    if (value is String && value.length == 1\n            && (type == java.lang.Character.TYPE || type == java.lang.Character::class.java)) {\n        return value[0]\n    }\n\n    throw AnkoException(\"Value $value of type ${value::class.java} can't be cast to ${type.canonicalName}\")\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/Database.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.db\n\nimport android.content.ContentValues\nimport android.content.Context\nimport android.database.sqlite.SQLiteDatabase\nimport android.database.sqlite.SQLiteOpenHelper\nimport java.util.concurrent.atomic.AtomicInteger\nimport java.util.regex.Pattern\n\nenum class SqlOrderDirection { ASC, DESC }\n\nclass TransactionAbortException : RuntimeException()\n\nfun SQLiteDatabase.insert(tableName: String, vararg values: Pair<String, Any?>): Long {\n    return insert(tableName, null, values.toContentValues())\n}\n\nfun SQLiteDatabase.insertOrThrow(tableName: String, vararg values: Pair<String, Any?>): Long {\n    return insertOrThrow(tableName, null, values.toContentValues())\n}\n\nfun SQLiteDatabase.replace(tableName: String, vararg values: Pair<String, Any?>): Long {\n    return replace(tableName, null, values.toContentValues())\n}\n\nfun SQLiteDatabase.replaceOrThrow(tableName: String, vararg values: Pair<String, Any?>): Long {\n    return replaceOrThrow(tableName, null, values.toContentValues())\n}\n\nfun SQLiteDatabase.transaction(code: SQLiteDatabase.() -> Unit) {\n    try {\n        beginTransaction()\n        code()\n        setTransactionSuccessful()\n    } catch (e: TransactionAbortException) {\n        // Do nothing, just stop the transaction\n    } finally {\n        endTransaction()\n    }\n}\n\nfun SQLiteDatabase.select(tableName: String): SelectQueryBuilder {\n    return AndroidSdkDatabaseSelectQueryBuilder(this, tableName)\n}\n\nfun SQLiteDatabase.select(tableName: String, vararg columns: String): SelectQueryBuilder {\n    val builder = AndroidSdkDatabaseSelectQueryBuilder(this, tableName)\n    builder.columns(*columns)\n    return builder\n}\n\nfun SQLiteDatabase.update(tableName: String, vararg values: Pair<String, Any?>): UpdateQueryBuilder {\n    return AndroidSdkDatabaseUpdateQueryBuilder(this, tableName, values)\n}\n\nfun SQLiteDatabase.delete(tableName: String, whereClause: String = \"\", vararg args: Pair<String, Any>): Int {\n    return delete(tableName, applyArguments(whereClause, *args), null)\n}\n\nfun SQLiteDatabase.createTable(tableName: String, ifNotExists: Boolean = false, vararg columns: Pair<String, SqlType>) {\n    val escapedTableName = tableName.replace(\"`\", \"``\")\n    val ifNotExistsText = if (ifNotExists) \"IF NOT EXISTS\" else \"\"\n    execSQL(\n        columns.map { col ->\n            \"${col.first} ${col.second.render()}\"\n        }.joinToString(\", \", prefix = \"CREATE TABLE $ifNotExistsText `$escapedTableName`(\", postfix = \");\")\n    )\n}\n\nfun SQLiteDatabase.dropTable(tableName: String, ifExists: Boolean = false) {\n    val escapedTableName = tableName.replace(\"`\", \"``\")\n    val ifExistsText = if (ifExists) \"IF EXISTS\" else \"\"\n    execSQL(\"DROP TABLE $ifExistsText `$escapedTableName`;\")\n}\n\nfun SQLiteDatabase.createIndex(indexName: String, tableName: String, unique: Boolean = false, ifNotExists: Boolean = false, vararg columns: String) {\n\tval escapedIndexName = indexName.replace(\"`\", \"``\")\n\tval escapedTableName = tableName.replace(\"`\", \"``\")\n\tval ifNotExistsText = if (ifNotExists) \"IF NOT EXISTS\" else \"\"\n\tval uniqueText = if (unique) \"UNIQUE\" else \"\"\n\texecSQL(\n\t\tcolumns.joinToString(\n\t\t\tseparator = \",\",\n\t\t\tprefix = \"CREATE $uniqueText INDEX $ifNotExistsText `$escapedIndexName` ON `$escapedTableName`(\",\n\t\t\tpostfix = \");\"\n\t\t)\n\t)\n}\n\nfun SQLiteDatabase.dropIndex(indexName: String, ifExists: Boolean = false) {\n\tval escapedIndexName = indexName.replace(\"`\", \"``\")\n\tval ifExistsText = if (ifExists) \"IF EXISTS\" else \"\"\n\texecSQL(\"DROP INDEX $ifExistsText `$escapedIndexName`;\")\n}\n\nprivate val ARG_PATTERN: Pattern = Pattern.compile(\"([^\\\\\\\\])\\\\{([^{}]+)\\\\}\")\n\ninternal fun applyArguments(whereClause: String, vararg args: Pair<String, Any>): String {\n    val argsMap = args.fold(hashMapOf<String, Any>()) { map, arg ->\n        map.put(arg.first, arg.second)\n        map\n    }\n    return applyArguments(whereClause, argsMap)\n}\n\ninternal fun applyArguments(whereClause: String, args: Map<String, Any>): String {\n    val matcher = ARG_PATTERN.matcher(whereClause)\n    val buffer = StringBuffer(whereClause.length)\n    while (matcher.find()) {\n        val key = matcher.group(2)\n        val value = args[key] ?: throw IllegalStateException(\"Can't find a value for key $key\")\n\n        val valueString = if (value is Int || value is Long || value is Byte || value is Short) {\n            value.toString()\n        } else if (value is Boolean) {\n            if (value) \"1\" else \"0\"\n        } else if (value is Float || value is Double) {\n            value.toString()\n        } else {\n            '\\'' + value.toString().replace(\"'\", \"''\") + '\\''\n        }\n        matcher.appendReplacement(buffer, matcher.group(1) + valueString)\n    }\n    matcher.appendTail(buffer)\n    return buffer.toString()\n}\n\ninternal fun Array<out Pair<String, Any?>>.toContentValues(): ContentValues {\n    val values = ContentValues()\n    for ((key, value) in this) {\n        when(value) {\n            null -> values.putNull(key)\n            is Boolean -> values.put(key, value)\n            is Byte -> values.put(key, value)\n            is ByteArray -> values.put(key, value)\n            is Double -> values.put(key, value)\n            is Float -> values.put(key, value)\n            is Int -> values.put(key, value)\n            is Long -> values.put(key, value)\n            is Short -> values.put(key, value)\n            is String -> values.put(key, value)\n            else -> throw IllegalArgumentException(\"Non-supported value type: ${value.javaClass.name}\")\n        }\n    }\n    return values\n}\n\nabstract class ManagedSQLiteOpenHelper(\n    ctx: Context,\n    name: String?,\n    factory: SQLiteDatabase.CursorFactory? = null,\n    version: Int = 1\n): SQLiteOpenHelper(ctx, name, factory, version) {\n\n    private val counter = AtomicInteger()\n    private var db: SQLiteDatabase? = null\n\n    fun <T> use(f: SQLiteDatabase.() -> T): T {\n        try {\n            return openDatabase().f()\n        } finally {\n            closeDatabase()\n        }\n    }\n\n    @Synchronized\n    private fun openDatabase(): SQLiteDatabase {\n        if (counter.incrementAndGet() == 1) {\n            db = writableDatabase\n        }\n        return db!!\n    }\n\n    @Synchronized\n    private fun closeDatabase() {\n        if (counter.decrementAndGet() == 0) {\n            db?.close()\n        }\n    }\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/SelectQueryBuilder.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\", \"NOTHING_TO_INLINE\")\npackage org.jetbrains.anko.db\n\nimport android.database.Cursor\nimport android.database.sqlite.SQLiteDatabase\nimport org.jetbrains.anko.AnkoException\nimport org.jetbrains.anko.internals.AnkoInternals\n\nabstract class SelectQueryBuilder(val tableName: String) {\n    private val columns = arrayListOf<String>()\n    private val groupBy = arrayListOf<String>()\n    private val orderBy = arrayListOf<String>()\n\n    private var distinct: Boolean = false\n\n    private var havingApplied = false\n    private var having: String? = null\n    private var limit: String? = null\n\n    private var selectionApplied = false\n    private var useNativeSelection = false\n    private var selection: String? = null\n    private var nativeSelectionArgs: Array<out String>? = null\n\n    fun <T> exec(f: Cursor.() -> T): T {\n        val cursor = doExec()\n        return AnkoInternals.useCursor(cursor) {\n            cursor.f()\n        }\n    }\n\n    inline fun <T: Any> parseSingle(parser: RowParser<T>): T = AnkoInternals.useCursor(doExec()) {\n        it.parseSingle(parser)\n    }\n\n    inline fun <T: Any> parseOpt(parser: RowParser<T>): T? = AnkoInternals.useCursor(doExec()) {\n        it.parseOpt(parser)\n    }\n\n    inline fun <T: Any> parseList(parser: RowParser<T>): List<T> = AnkoInternals.useCursor(doExec()) {\n        it.parseList(parser)\n    }\n\n    inline fun <T: Any> parseSingle(parser: MapRowParser<T>): T = AnkoInternals.useCursor(doExec()) {\n        it.parseSingle(parser)\n    }\n\n    inline fun <T: Any> parseOpt(parser: MapRowParser<T>): T? = AnkoInternals.useCursor(doExec()) {\n        it.parseOpt(parser)\n    }\n\n    inline fun <T: Any> parseList(parser: MapRowParser<T>): List<T> = AnkoInternals.useCursor(doExec()) {\n        it.parseList(parser)\n    }\n\n    @PublishedApi\n    internal fun doExec(): Cursor {\n        val finalSelection = if (selectionApplied) selection else null\n        val finalSelectionArgs = if (selectionApplied && useNativeSelection) nativeSelectionArgs else null\n        return execQuery(distinct, tableName, columns.toTypedArray(),\n                finalSelection, finalSelectionArgs,\n                groupBy.joinToString(\", \"), having, orderBy.joinToString(\", \"), limit)\n    }\n\n    protected abstract fun execQuery(\n            distinct: Boolean,\n            tableName: String,\n            columns: Array<String>,\n            selection: String?,\n            selectionArgs: Array<out String>?,\n            groupBy: String,\n            having: String?,\n            orderBy: String,\n            limit: String?\n    ): Cursor\n\n    fun distinct(): SelectQueryBuilder {\n        this.distinct = true\n        return this\n    }\n\n    fun column(name: String): SelectQueryBuilder {\n        columns.add(name)\n        return this\n    }\n\n    fun groupBy(value: String): SelectQueryBuilder {\n        groupBy.add(value)\n        return this\n    }\n\n    fun orderBy(value: String, direction: SqlOrderDirection = SqlOrderDirection.ASC): SelectQueryBuilder {\n        if (direction == SqlOrderDirection.DESC) {\n            orderBy.add(\"$value DESC\")\n        } else {\n            orderBy.add(value)\n        }\n        return this\n    }\n\n    fun limit(count: Int): SelectQueryBuilder {\n        limit = count.toString()\n        return this\n    }\n\n    fun limit(offset: Int, count: Int): SelectQueryBuilder {\n        limit = \"$offset, $count\"\n        return this\n    }\n\n    fun columns(vararg names: String): SelectQueryBuilder {\n        columns.addAll(names)\n        return this\n    }\n\n    fun having(having: String): SelectQueryBuilder {\n        if (havingApplied) {\n            throw AnkoException(\"Query having was already applied.\")\n        }\n\n        havingApplied = true\n        this.having = having\n        return this\n    }\n\n    fun having(having: String, vararg args: Pair<String, Any>): SelectQueryBuilder {\n        if (selectionApplied) {\n            throw AnkoException(\"Query having was already applied.\")\n        }\n\n        havingApplied = true\n        this.having = applyArguments(having, *args)\n        return this\n    }\n\n    @Deprecated(\"Use whereArgs(select, args) instead.\", ReplaceWith(\"whereArgs(select, args)\"))\n    fun where(select: String, vararg args: Pair<String, Any>): SelectQueryBuilder {\n        return whereArgs(select, *args)\n    }\n\n    fun whereArgs(select: String, vararg args: Pair<String, Any>): SelectQueryBuilder {\n        if (selectionApplied) {\n            throw AnkoException(\"Query selection was already applied.\")\n        }\n\n        selectionApplied = true\n        useNativeSelection = false\n        selection = applyArguments(select, *args)\n        return this\n    }\n\n    @Deprecated(\"Use whereArgs(select) instead.\", ReplaceWith(\"whereArgs(select)\"))\n    fun where(select: String): SelectQueryBuilder {\n        return whereArgs(select)\n    }\n\n    fun whereArgs(select: String): SelectQueryBuilder {\n        if (selectionApplied) {\n            throw AnkoException(\"Query selection was already applied.\")\n        }\n\n        selectionApplied = true\n        useNativeSelection = false\n        selection = select\n        return this\n    }\n\n    fun whereSimple(select: String, vararg args: String): SelectQueryBuilder {\n        if (selectionApplied) {\n            throw AnkoException(\"Query selection was already applied.\")\n        }\n\n        selectionApplied = true\n        useNativeSelection = true\n        selection = select\n        nativeSelectionArgs = args\n        return this\n    }\n\n    @Deprecated(\"Use whereSimple() instead\", replaceWith = ReplaceWith(\"whereSimple(select, *args)\"))\n    fun whereSupport(select: String, vararg args: String): SelectQueryBuilder {\n        return whereSimple(select, *args)\n    }\n}\n\nclass AndroidSdkDatabaseSelectQueryBuilder(\n        private val db: SQLiteDatabase,\n        tableName: String\n) : SelectQueryBuilder(tableName) {\n\n    override fun execQuery(\n            distinct: Boolean,\n            tableName: String,\n            columns: Array<String>,\n            selection: String?,\n            selectionArgs: Array<out String>?,\n            groupBy: String,\n            having: String?,\n            orderBy: String,\n            limit: String?\n    ): Cursor {\n        return db.query(distinct, tableName, columns, selection, selectionArgs, groupBy, having, orderBy, limit)\n    }\n\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/SqlParsers.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.db\n\nimport android.database.Cursor\nimport android.database.sqlite.SQLiteException\nimport org.jetbrains.anko.internals.AnkoInternals\nimport java.util.ArrayList\n\ninterface RowParser<out T> {\n    fun parseRow(columns: Array<Any?>): T\n}\n\ninterface MapRowParser<out T> {\n    fun parseRow(columns: Map<String, Any?>): T\n}\n\nprivate class SingleColumnParser<out T> : RowParser<T> {\n    override fun parseRow(columns: Array<Any?>): T {\n        if (columns.size != 1)\n            throw SQLiteException(\"Invalid row: row for SingleColumnParser must contain exactly one column\")\n        @Suppress(\"UNCHECKED_CAST\")\n        return columns[0] as T\n    }\n}\n\nprivate class ScalarColumnParser<in R, out T>(val modifier: ((R) -> T)? = null) : RowParser<T> {\n    override fun parseRow(columns: Array<Any?>): T {\n        if (columns.size != 1)\n            throw SQLiteException(\"Invalid row: row for SingleColumnParser must contain exactly one column\")\n        @Suppress(\"UNCHECKED_CAST\", \"UNNECESSARY_NOT_NULL_ASSERTION\")\n        return if (modifier != null)\n            modifier!!(columns[0] as R)\n        else\n            columns[0] as T\n    }\n}\n\nval ShortParser: RowParser<Short> = ScalarColumnParser(modifier = Long::toShort)\nval IntParser: RowParser<Int> = ScalarColumnParser(modifier = Long::toInt)\nval LongParser: RowParser<Long> = SingleColumnParser()\nval FloatParser: RowParser<Float> = ScalarColumnParser(modifier = Double::toFloat)\nval DoubleParser: RowParser<Double> = SingleColumnParser()\nval StringParser: RowParser<String> = SingleColumnParser()\nval BlobParser: RowParser<ByteArray> = SingleColumnParser()\n\nfun <T: Any> Cursor.parseSingle(parser: RowParser<T>): T = AnkoInternals.useCursor(this) {\n    if (count != 1)\n        throw SQLiteException(\"parseSingle accepts only cursors with a single entry\")\n    moveToFirst()\n    return parser.parseRow(readColumnsArray(this))\n}\n\nfun <T: Any> Cursor.parseOpt(parser: RowParser<T>): T? = AnkoInternals.useCursor(this) {\n    if (count > 1)\n        throw SQLiteException(\"parseSingle accepts only cursors with a single entry or empty cursors\")\n    if (count == 0)\n        return null\n    moveToFirst()\n    return parser.parseRow(readColumnsArray(this))\n}\n\nfun <T: Any> Cursor.parseList(parser: RowParser<T>): List<T> = AnkoInternals.useCursor(this) {\n    val list = ArrayList<T>(count)\n    moveToFirst()\n    while (!isAfterLast) {\n        list.add(parser.parseRow(readColumnsArray(this)))\n        moveToNext()\n    }\n    return list\n}\n\nfun <T: Any> Cursor.parseSingle(parser: MapRowParser<T>): T = AnkoInternals.useCursor(this) {\n    if (count != 1)\n        throw SQLiteException(\"parseSingle accepts only cursors with getCount() == 1\")\n    moveToFirst()\n    return parser.parseRow(readColumnsMap(this))\n}\n\nfun <T: Any> Cursor.parseOpt(parser: MapRowParser<T>): T? = AnkoInternals.useCursor(this) {\n    if (count > 1)\n        throw SQLiteException(\"parseSingle accepts only cursors with getCount() == 1 or empty cursors\")\n    if (count == 0)\n        return null\n    moveToFirst()\n    return parser.parseRow(readColumnsMap(this))\n}\n\nfun <T: Any> Cursor.parseList(parser: MapRowParser<T>): List<T> = AnkoInternals.useCursor(this) {\n    val list = ArrayList<T>(count)\n    moveToFirst()\n    while (!isAfterLast) {\n        list.add(parser.parseRow(readColumnsMap(this)))\n        moveToNext()\n    }\n    return list\n}\n\n@Deprecated(\"Use asSequence() instead\", ReplaceWith(\"asSequence()\"))\nfun Cursor.sequence(): Sequence<Array<Any?>> {\n    return CursorSequence(this)\n}\n\n@Deprecated(\"Use asMapSequence() instead\", ReplaceWith(\"asMapSequence()\"))\nfun Cursor.mapSequence(): Sequence<Map<String, Any?>> {\n    return CursorMapSequence(this)\n}\n\nfun Cursor.asSequence(): Sequence<Array<Any?>> {\n    return CursorSequence(this)\n}\n\nfun Cursor.asMapSequence(): Sequence<Map<String, Any?>> {\n    return CursorMapSequence(this)\n}\n\nprivate fun Cursor.getColumnValue(index: Int): Any? {\n    if (isNull(index)) return null\n\n    return when (getType(index)) {\n        Cursor.FIELD_TYPE_INTEGER -> getLong(index)\n        Cursor.FIELD_TYPE_FLOAT -> getDouble(index)\n        Cursor.FIELD_TYPE_STRING -> getString(index)\n        Cursor.FIELD_TYPE_BLOB -> getBlob(index)\n        else -> null\n    }\n}\n\nprivate fun readColumnsArray(cursor: Cursor): Array<Any?> {\n    val count = cursor.columnCount\n    val arr = arrayOfNulls<Any?>(count)\n    for (i in 0..(count - 1)) {\n        arr[i] = cursor.getColumnValue(i)\n    }\n    return arr\n}\n\nprivate fun readColumnsMap(cursor: Cursor): Map<String, Any?> {\n    val count = cursor.columnCount\n    val map = hashMapOf<String, Any?>()\n    for (i in 0..(count - 1)) {\n        map.put(cursor.getColumnName(i), cursor.getColumnValue(i))\n    }\n    return map\n}\n\nprivate class CursorMapSequence(val cursor: Cursor) : Sequence<Map<String, Any?>> {\n    override fun iterator() = CursorMapIterator(cursor)\n}\n\nprivate class CursorSequence(val cursor: Cursor) : Sequence<Array<Any?>> {\n    override fun iterator() = CursorIterator(cursor)\n}\n\nprivate class CursorIterator(val cursor: Cursor) : Iterator<Array<Any?>> {\n    override fun hasNext() = cursor.position < cursor.count - 1\n\n    override fun next(): Array<Any?> {\n        cursor.moveToNext()\n        return readColumnsArray(cursor)\n    }\n}\n\nprivate class CursorMapIterator(val cursor: Cursor) : Iterator<Map<String, Any?>> {\n    override fun hasNext() = cursor.position < cursor.count - 1\n\n    override fun next(): Map<String, Any?> {\n        cursor.moveToNext()\n        return readColumnsMap(cursor)\n    }\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/UpdateQueryBuilder.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.db\n\nimport android.content.ContentValues\nimport android.database.sqlite.SQLiteDatabase\nimport org.jetbrains.anko.AnkoException\n\nabstract class UpdateQueryBuilder(\n        val tableName: String,\n        val values: Array<out Pair<String, Any?>>\n) {\n\n    private var selectionApplied = false\n    private var useNativeSelection = false\n    private var selection: String? = null\n    private var nativeSelectionArgs: Array<out String>? = null\n\n    @Deprecated(\"Use whereArgs() instead.\", ReplaceWith(\"whereArgs(select, *args)\"))\n    fun where(select: String, vararg args: Pair<String, Any>) = whereArgs(select, *args)\n\n    fun whereArgs(select: String, vararg args: Pair<String, Any>): UpdateQueryBuilder {\n        if (selectionApplied) {\n            throw AnkoException(\"Query selection was already applied.\")\n        }\n\n        selectionApplied = true\n        useNativeSelection = false\n        val argsMap = args.fold(hashMapOf<String, Any>()) { map, arg ->\n            map.put(arg.first, arg.second)\n            map\n        }\n        selection = applyArguments(select, argsMap)\n        return this\n    }\n\n    @Deprecated(\"Use whereArgs() instead.\", ReplaceWith(\"whereArgs(select)\"))\n    fun where(select: String) = whereArgs(select)\n\n    fun whereArgs(select: String): UpdateQueryBuilder {\n        if (selectionApplied)\n            throw AnkoException(\"Query selection was already applied.\")\n\n        selectionApplied = true\n        useNativeSelection = false\n        selection = select\n        return this\n    }\n\n    fun whereSimple(select: String, vararg args: String): UpdateQueryBuilder {\n        if (selectionApplied)\n            throw AnkoException(\"Query selection was already applied.\")\n\n        selectionApplied = true\n        useNativeSelection = true\n        selection = select\n        nativeSelectionArgs = args\n        return this\n    }\n\n    @Deprecated(\"Use whereSimple() instead\", replaceWith = ReplaceWith(\"whereSimple(select, *args)\"))\n    fun whereSupport(select: String, vararg args: String): UpdateQueryBuilder {\n        return whereSimple(select, *args)\n    }\n\n    fun exec(): Int {\n        val finalSelection = if (selectionApplied) selection else null\n        val finalSelectionArgs = if (selectionApplied && useNativeSelection) nativeSelectionArgs else null\n        return execUpdate(tableName, values.toContentValues(), finalSelection, finalSelectionArgs)\n    }\n\n    abstract fun execUpdate(\n            table: String,\n            values: ContentValues,\n            whereClause: String?,\n            whereArgs: Array<out String>?\n    ): Int\n\n}\n\nclass AndroidSdkDatabaseUpdateQueryBuilder(\n        private val db: SQLiteDatabase,\n        table: String,\n        values: Array<out Pair<String, Any?>>\n) : UpdateQueryBuilder(table, values) {\n\n    override fun execUpdate(\n            table: String,\n            values: ContentValues,\n            whereClause: String?,\n            whereArgs: Array<out String>?\n    ) = db.update(table, values, whereClause, whereArgs)\n\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/org/jetbrains/anko/db/JavaSqliteUtils.java",
    "content": "package org.jetbrains.anko.db;\n\nimport java.lang.reflect.Constructor;\nimport java.util.HashMap;\nimport java.util.Map;\n\nclass JavaSqliteUtils {\n    private JavaSqliteUtils() {}\n\n    @SuppressWarnings(\"unchecked\")\n    private static <T> Class<T> wrap(Class<T> c) {\n        return c.isPrimitive() ? (Class<T>) PRIMITIVES_TO_WRAPPERS.get(c) : c;\n    }\n\n    static final Map<Class<?>, Class<?>> PRIMITIVES_TO_WRAPPERS;\n    \n    static {\n        PRIMITIVES_TO_WRAPPERS = new HashMap<Class<?>, Class<?>>();\n        PRIMITIVES_TO_WRAPPERS.put(boolean.class, Boolean.class);\n        PRIMITIVES_TO_WRAPPERS.put(byte.class, Byte.class);\n        PRIMITIVES_TO_WRAPPERS.put(char.class, Character.class);\n        PRIMITIVES_TO_WRAPPERS.put(double.class, Double.class);\n        PRIMITIVES_TO_WRAPPERS.put(float.class, Float.class);\n        PRIMITIVES_TO_WRAPPERS.put(int.class, Integer.class);\n        PRIMITIVES_TO_WRAPPERS.put(long.class, Long.class);\n        PRIMITIVES_TO_WRAPPERS.put(short.class, Short.class);\n        PRIMITIVES_TO_WRAPPERS.put(void.class, Void.class);\n    }\n\n    static <T> T newInstance(Constructor<T> constructor, Object[] arguments) throws Exception {\n        return constructor.newInstance(arguments);\n    }\n}\n"
  },
  {
    "path": "anko/library/static/sqlite/src/main/java/sqlTypes.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.db\n\ninterface SqlType {\n    val name: String\n\n    fun render(): String\n    operator fun plus(m: SqlTypeModifier): SqlType\n\n    companion object {\n        fun create(name: String): SqlType = SqlTypeImpl(name)\n    }\n}\n\ninterface SqlTypeModifier {\n    val modifier: String\n\n    companion object {\n        fun create(modifier: String): SqlTypeModifier = SqlTypeModifierImpl(modifier)\n    }\n}\n\nval NULL: SqlType = SqlTypeImpl(\"NULL\")\nval INTEGER: SqlType = SqlTypeImpl(\"INTEGER\")\nval REAL: SqlType = SqlTypeImpl(\"REAL\")\nval TEXT: SqlType = SqlTypeImpl(\"TEXT\")\nval BLOB: SqlType = SqlTypeImpl(\"BLOB\")\n\nenum class ConstraintActions {\n    SET_NULL,\n    SET_DEFAULT,\n    SET_RESTRICT,\n    CASCADE,\n    NO_ACTION;\n\n    override fun toString(): String {\n        return super.toString().replace(\"_\", \" \")\n    }\n}\n\nfun ON_UPDATE(constraintActions: ConstraintActions): SqlTypeModifier {\n    return SqlTypeModifierImpl(\"ON UPDATE $constraintActions\")\n}\n\nfun ON_DELETE(constraintActions: ConstraintActions): SqlTypeModifier {\n    return SqlTypeModifierImpl(\"ON DELETE $constraintActions\")\n}\n\nfun FOREIGN_KEY(columnName: String, referenceTable: String, referenceColumn: String, vararg actions: SqlTypeModifier): Pair<String, SqlType> {\n    return \"\" to SqlTypeImpl(\"FOREIGN KEY($columnName) REFERENCES $referenceTable($referenceColumn)${actions.map { it.modifier }.joinToString(\"\") { \" $it\" }}\")\n}\n\nval PRIMARY_KEY: SqlTypeModifier = SqlTypeModifierImpl(\"PRIMARY KEY\")\nval NOT_NULL: SqlTypeModifier = SqlTypeModifierImpl(\"NOT NULL\")\nval AUTOINCREMENT: SqlTypeModifier = SqlTypeModifierImpl(\"AUTOINCREMENT\")\nval UNIQUE: SqlTypeModifier = SqlTypeModifierImpl(\"UNIQUE\")\n\nfun UNIQUE(conflictClause: ConflictClause): SqlTypeModifier {\n    return SqlTypeModifierImpl(\"UNIQUE ON CONFLICT $conflictClause\")\n}\n\nenum class ConflictClause {\n    ROLLBACK,\n    ABORT,\n    FAIL,\n    IGNORE,\n    REPLACE\n}\n\nfun DEFAULT(value: String): SqlTypeModifier = SqlTypeModifierImpl(\"DEFAULT $value\")\n\nprivate open class SqlTypeImpl(override val name: String, val modifiers: String? = null) : SqlType {\n    override fun render() = if (modifiers == null) name else \"$name $modifiers\"\n\n    override fun plus(m: SqlTypeModifier): SqlType {\n        return SqlTypeImpl(name, if (modifiers == null) m.modifier else \"$modifiers ${m.modifier}\")\n    }\n}\n\nprivate open class SqlTypeModifierImpl(override val modifier: String) : SqlTypeModifier\n"
  },
  {
    "path": "anko/library/static/supportV4/build.gradle",
    "content": "apply from: '../../library.gradle'\n\ndependencies {\n    api \"com.android.support:support-v4:$SUPPORT_ARTIFACT_VERSION\"\n    api project(':static:commons-base')\n}\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest package=\"org.jetbrains.anko.supportV4\" />\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/java/Support.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.support.v4\n\nimport android.support.v4.app.Fragment\nimport android.view.View\nimport org.jetbrains.anko.AnkoContext\nimport org.jetbrains.anko.Orientation\nimport org.jetbrains.anko.ScreenSize\nimport org.jetbrains.anko.UiMode\nimport org.jetbrains.anko.bundleOf\nimport org.jetbrains.anko.internals.AnkoInternals\nimport org.jetbrains.anko.internals.AnkoInternals.createAnkoContext\n\ninline fun <reified T : View> Fragment.find(id: Int): T = view?.findViewById(id) as T\ninline fun <reified T : View> Fragment.findOptional(id: Int): T? = view?.findViewById(id) as? T\n\nfun Fragment.UI(init: AnkoContext<Fragment>.() -> Unit) = createAnkoContext(requireActivity(), init)\n\ninline fun <T: Any> Fragment.configuration(\n        screenSize: ScreenSize? = null,\n        density: ClosedRange<Int>? = null,\n        language: String? = null,\n        orientation: Orientation? = null,\n        long: Boolean? = null,\n        fromSdk: Int? = null,\n        sdk: Int? = null,\n        uiMode: UiMode? = null,\n        nightMode: Boolean? = null,\n        rightToLeft: Boolean? = null,\n        smallestWidth: Int? = null,\n        init: () -> T\n): T? {\n    val act = activity\n    return if (act != null) {\n        if (AnkoInternals.testConfiguration(act, screenSize, density, language, orientation, long,\n                fromSdk, sdk, uiMode, nightMode, rightToLeft, smallestWidth)) init() else null\n    }\n    else null\n}\n\nfun <T: Fragment> T.withArguments(vararg params: Pair<String, Any?>): T {\n    arguments = bundleOf(*params)\n    return this\n}\n\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/java/SupportAsync.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.support.v4\n\nimport android.support.v4.app.Fragment\nimport org.jetbrains.anko.AnkoAsyncContext\n\nfun <T: Fragment> AnkoAsyncContext<T>.supportFragmentUiThread(f: (T) -> Unit): Boolean {\n    val fragment = weakRef.get() ?: return true\n    if (fragment.isDetached) return true\n    val activity = fragment.activity ?: return true\n    activity.runOnUiThread { f(fragment) }\n    return true\n}\n\n@Deprecated(\"Use onUiThread() instead\", ReplaceWith(\"onUiThread(f)\"))\ninline fun Fragment.uiThread(crossinline f: () -> Unit) {\n    requireActivity().runOnUiThread { f() }\n}\n\n@Deprecated(message = \"Use runOnUiThread() instead\", replaceWith = ReplaceWith(\"runOnUiThread(f)\"))\ninline fun Fragment.onUiThread(crossinline f: () -> Unit) {\n    requireActivity().runOnUiThread { f() }\n}\n\ninline fun Fragment.runOnUiThread(crossinline f: () -> Unit) {\n    requireActivity().runOnUiThread { f() }\n}\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/java/SupportContextUtils.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.support.v4\n\nimport android.content.Context\nimport android.content.SharedPreferences\nimport android.preference.PreferenceManager\nimport android.support.v4.app.Fragment\nimport android.support.v4.app.FragmentActivity\n\ninline val Fragment.defaultSharedPreferences: SharedPreferences\n    get() = PreferenceManager.getDefaultSharedPreferences(activity)\n\n@Deprecated(message = \"Use either activity or requireActivity\", replaceWith = ReplaceWith(\"activity\"))\ninline val Fragment.act: FragmentActivity\n    get() = requireActivity()\n\n@Deprecated(message = \"Use either context or requireContext\", replaceWith = ReplaceWith(\"context\"))\ninline val Fragment.ctx: Context\n    get() = requireActivity()\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/java/SupportDialogs.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko.support.v4\n\nimport android.app.ProgressDialog\nimport android.content.DialogInterface\nimport android.support.v4.app.Fragment\nimport org.jetbrains.anko.AlertBuilder\nimport org.jetbrains.anko.alert\nimport org.jetbrains.anko.indeterminateProgressDialog\nimport org.jetbrains.anko.longToast\nimport org.jetbrains.anko.progressDialog\nimport org.jetbrains.anko.selector\nimport org.jetbrains.anko.toast\n\ninline fun Fragment.toast(textResource: Int) = requireActivity().toast(textResource)\n\ninline fun Fragment.toast(text: CharSequence) = requireActivity().toast(text)\n\ninline fun Fragment.longToast(textResource: Int) = requireActivity().longToast(textResource)\n\ninline fun Fragment.longToast(text: CharSequence) = requireActivity().longToast(text)\n\ninline fun Fragment.selector(\n        title: CharSequence? = null,\n        items: List<CharSequence>,\n        noinline onClick: (DialogInterface, Int) -> Unit\n): Unit = requireActivity().selector(title, items, onClick)\n\ninline fun Fragment.alert(\n        message: String,\n        title: String? = null,\n        noinline init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n) = requireActivity().alert(message, title, init)\n\ninline fun Fragment.alert(\n        message: Int,\n        title: Int? = null,\n        noinline init: (AlertBuilder<DialogInterface>.() -> Unit)? = null\n) = requireActivity().alert(message, title, init)\n\ninline fun Fragment.alert(noinline init: AlertBuilder<DialogInterface>.() -> Unit) = requireActivity().alert(init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.progressDialog(\n        message: String? = null,\n        title: String? = null,\n        noinline init: (ProgressDialog.() -> Unit)? = null\n) = requireActivity().progressDialog(message, title, init)\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.indeterminateProgressDialog(message: String? = null, title: String? = null, noinline init: (ProgressDialog.() -> Unit)? = null): ProgressDialog {\n    return requireActivity().indeterminateProgressDialog(message, title, init)\n}\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.progressDialog(message: Int? = null, title: Int? = null, noinline init: (ProgressDialog.() -> Unit)? = null): ProgressDialog {\n    return requireActivity().progressDialog(message?.let { requireActivity().getString(it) }, title?.let { requireActivity().getString(it) }, init)\n}\n\n@Deprecated(message = \"Android progress dialogs are deprecated\")\ninline fun Fragment.indeterminateProgressDialog(message: Int? = null, title: Int? = null, noinline init: (ProgressDialog.() -> Unit)? = null): ProgressDialog {\n    return requireActivity().indeterminateProgressDialog(message?.let { requireActivity().getString(it) }, title?.let { requireActivity().getString(it) }, init)\n}\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/java/SupportDimensions.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"NOTHING_TO_INLINE\", \"unused\")\npackage org.jetbrains.anko.support.v4\n\nimport android.support.v4.app.Fragment\nimport org.jetbrains.anko.dimen\nimport org.jetbrains.anko.dip\nimport org.jetbrains.anko.px2dip\nimport org.jetbrains.anko.px2sp\nimport org.jetbrains.anko.sp\n\ninline fun Fragment.dip(value: Int): Int = requireActivity().dip(value)\n\ninline fun Fragment.dip(value: Float): Int = requireActivity().dip(value)\n\ninline fun Fragment.sp(value: Int): Int = requireActivity().sp(value)\n\ninline fun Fragment.sp(value: Float): Int = requireActivity().sp(value)\n\ninline fun Fragment.px2dip(px: Int): Float = requireActivity().px2dip(px)\n\ninline fun Fragment.px2sp(px: Int): Float = requireActivity().px2sp(px)\n\ninline fun Fragment.dimen(resource: Int): Int = requireActivity().dimen(resource)\n"
  },
  {
    "path": "anko/library/static/supportV4/src/main/java/SupportIntents.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@file:Suppress(\"unused\")\npackage org.jetbrains.anko.support.v4\n\nimport android.app.Activity\nimport android.app.Service\nimport android.content.Intent\nimport android.support.v4.app.Fragment\nimport org.jetbrains.anko.browse\nimport org.jetbrains.anko.email\nimport org.jetbrains.anko.internals.AnkoInternals\nimport org.jetbrains.anko.makeCall\nimport org.jetbrains.anko.sendSMS\nimport org.jetbrains.anko.share\n\nfun Fragment.browse(url: String, newTask: Boolean = false): Boolean = requireActivity().browse(url, newTask)\n\nfun Fragment.share(text: String, subject: String = \"\"): Boolean = requireActivity().share(text, subject)\n\nfun Fragment.email(email: String, subject: String = \"\", text: String = \"\"): Boolean =\n        requireActivity().email(email, subject, text)\n\nfun Fragment.makeCall(number: String): Boolean = requireActivity().makeCall(number)\n\nfun Fragment.sendSMS(number: String, text: String = \"\"): Boolean = requireActivity().sendSMS(number, text)\n\ninline fun <reified T: Activity> Fragment.startActivity(vararg params: Pair<String, Any?>) {\n    AnkoInternals.internalStartActivity(requireActivity(), T::class.java, params)\n}\n\ninline fun <reified T: Activity> Fragment.startActivityForResult(requestCode: Int, vararg params: Pair<String, Any?>) {\n    startActivityForResult(AnkoInternals.createIntent(requireActivity(), T::class.java, params), requestCode)\n}\n\ninline fun <reified T: Service> Fragment.startService(vararg params: Pair<String, Any?>) {\n    AnkoInternals.internalStartService(requireActivity(), T::class.java, params)\n}\n\ninline fun <reified T : Service> Fragment.stopService(vararg params: Pair<String, Any?>) {\n    AnkoInternals.internalStopService(requireActivity(), T::class.java, params)\n}\n\ninline fun <reified T: Any> Fragment.intentFor(vararg params: Pair<String, Any?>): Intent =\n        AnkoInternals.createIntent(requireActivity(), T::class.java, params)\n"
  },
  {
    "path": "anko/library/stubs/build.gradle",
    "content": "apply plugin: 'com.android.library'\napply plugin: 'kotlin-android'\n\nandroid {\n    compileSdkVersion COMPILE_SDK_VERSION\n    defaultConfig {\n        minSdkVersion MIN_SDK_VERSION\n        targetSdkVersion TARGET_SDK_VERSION\n        versionCode ANKO_VERSION_CODE\n        versionName ANKO_VERSION\n    }\n    compileOptions {\n        sourceCompatibility JavaVersion.VERSION_1_6\n        targetCompatibility JavaVersion.VERSION_1_6\n    }\n}\n\ndependencies {\n    api \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n}"
  },
  {
    "path": "anko/library/stubs/src/main/AndroidManifest.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" package=\"org.jetbrains.anko.stubs\">\n    <uses-sdk android:minSdkVersion=\"15\" android:targetSdkVersion=\"23\"/>\n    <application/>\n</manifest>"
  },
  {
    "path": "anko/library/stubs/src/main/java/Stubs.kt",
    "content": "/*\n * Copyright 2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.jetbrains.anko\n\nimport android.content.Context\nimport android.widget.LinearLayout\n\nclass _LinearLayout(ctx: Context) : LinearLayout(ctx)"
  },
  {
    "path": "anko/library/testUtils/build.gradle",
    "content": "apply plugin: 'kotlin'\n\nsourceSets {\n    main {\n        java.srcDirs = ['src']\n        kotlin.srcDirs = ['src']\n    }\n    test {\n        java.srcDirs = ['test']\n        kotlin.srcDirs = ['test']\n    }\n}\n\ndependencies {\n    compile \"org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version\"\n    compile 'junit:junit:4.12'\n}\n\nkotlin {\n    experimental {\n        coroutines \"enable\"\n    }\n}"
  },
  {
    "path": "anko/library/testUtils/src/com/intellij/rt/execution/junit/FileComparisonFailure.java",
    "content": "//\n// Source code recreated from a .class file by IntelliJ IDEA\n// (powered by Fernflower decompiler)\n//\n\npackage com.intellij.rt.execution.junit;\n\nimport junit.framework.ComparisonFailure;\n\npublic class FileComparisonFailure extends ComparisonFailure implements KnownException {\n    private final String myExpected;\n    private final String myActual;\n    private final String myFilePath;\n    private final String myActualFilePath;\n\n    public FileComparisonFailure(String message, String expected, String actual, String filePath) {\n        this(message, expected, actual, filePath, (String)null);\n    }\n\n    public FileComparisonFailure(String message, String expected, String actual, String expectedFilePath, String actualFilePath) {\n        super(message, expected, actual);\n        this.myExpected = expected;\n        this.myActual = actual;\n        this.myFilePath = expectedFilePath;\n        this.myActualFilePath = actualFilePath;\n    }\n\n    public String getFilePath() {\n        return this.myFilePath;\n    }\n\n    public String getActualFilePath() {\n        return this.myActualFilePath;\n    }\n\n    public String getExpected() {\n        return this.myExpected;\n    }\n\n    public String getActual() {\n        return this.myActual;\n    }\n}\n"
  },
  {
    "path": "anko/library/testUtils/src/com/intellij/rt/execution/junit/KnownException.kt",
    "content": "//\n// Source code recreated from a .class file by IntelliJ IDEA\n// (powered by Fernflower decompiler)\n//\n\npackage com.intellij.rt.execution.junit\n\ninterface KnownException\n"
  },
  {
    "path": "anko/library/testUtils/src/org/jetbrains/anko/test/testUtils.kt",
    "content": "package org.jetbrains.anko.test\n\nimport com.intellij.rt.execution.junit.FileComparisonFailure\nimport junit.framework.TestCase\nimport java.io.File\n\nprivate fun String.trimTrailingWhitespacesAndAddNewlineAtEOF(): String =\n        this.split('\\n').map(String::trimEnd).joinToString(separator = \"\\n\").let {\n            result -> if (result.endsWith(\"\\n\")) result else result + \"\\n\"\n        }\n\nfun assertEqualsToFile(description: String, expected: File, actual: String) {\n    if (!expected.exists()) {\n        expected.writeText(actual)\n        TestCase.fail(\"File didn't exist. New file was created (${expected.canonicalPath}).\")\n    }\n\n    val expectedText =\n            convertLineSeparators(expected.readText().trim()).trimTrailingWhitespacesAndAddNewlineAtEOF()\n    val actualText =\n            convertLineSeparators(actual.trim()).trimTrailingWhitespacesAndAddNewlineAtEOF()\n    if (expectedText != actualText) {\n        throw FileComparisonFailure(description, expectedText, actualText, expected.absolutePath)\n    }\n}\n\nprivate val IS_WINDOWS = System.getProperty(\"os.name\").startsWith(\"Windows\")\n\nprivate fun convertLineSeparators(text: String): String {\n    val n = text.replace(\"\\r\", \"\")\n    if (!IS_WINDOWS) return n\n    return n.replace(\"\\n\", System.getProperty(\"line.separator\") ?: \"\\r\\n\")\n}"
  },
  {
    "path": "anko/props/annotations/android/support/v7/widget/annotations.xml",
    "content": "<root>\n  <item name='android.support.v7.widget.AppCompatSpinner'>\n    <annotation name='org.jetbrains.anko.GenerateView'/>\n  </item>\n  <item name='android.support.v7.widget.CardView'>\n    <annotation name='org.jetbrains.anko.GenerateLayout'/>\n  </item>\n</root>"
  },
  {
    "path": "anko/props/annotations/android/view/annotations.xml",
    "content": "<root>\n    <item name='android.view.View'>\n        <annotation name='java.lang.annotation.Deprecated'/>\n    </item>\n    <item name='android.view.View.OnAttachStateChangeListener void onViewAttachedToWindow(android.view.View) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnAttachStateChangeListener void onViewDetachedFromWindow(android.view.View) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnDragListener boolean onDrag(android.view.View, android.view.DragEvent) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnDragListener boolean onDrag(android.view.View, android.view.DragEvent) 1'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnFocusChangeListener void onFocusChange(android.view.View, boolean) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnGenericMotionListener boolean onGenericMotion(android.view.View, android.view.MotionEvent) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnGenericMotionListener boolean onGenericMotion(android.view.View, android.view.MotionEvent) 1'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnHoverListener boolean onHover(android.view.View, android.view.MotionEvent) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnHoverListener boolean onHover(android.view.View, android.view.MotionEvent) 1'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnKeyListener boolean onKey(android.view.View, int, android.view.KeyEvent) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnKeyListener boolean onKey(android.view.View, int, android.view.KeyEvent) 3'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnTouchListener boolean onTouch(android.view.View, android.view.MotionEvent) 0'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n    <item name='android.view.View.OnTouchListener boolean onTouch(android.view.View, android.view.MotionEvent) 1'>\n        <annotation name='org.jetbrains.annotations.NotNull'/>\n    </item>\n</root>"
  },
  {
    "path": "anko/props/annotations/android/widget/annotations.xml",
    "content": "<root>\n  <item name='android.widget.TextView java.lang.CharSequence getText()'>\n    <annotation name='org.jetbrains.annotations.NotNull'/>\n  </item>\n  <item name='android.widget.ImageSwitcher'>\n    <annotation name='org.jetbrains.anko.GenerateLayout'/>\n  </item>\n</root>"
  },
  {
    "path": "anko/props/configuration.json",
    "content": "{\n  \"templates\": {\n    \"support\": \"dependencies/android-sdk/extras/android/m2repository/com/android/support\",\n    \"platforms\": \"dependencies/android-sdk/platforms\",\n    \"supportVer\": \"25.1.1\"\n  },\n\n  \"artifacts\": [\n    {\n      \"name\" : \"commons\",\n      \"type\": \"commons\",\n      \"platform\": [ \"%platforms%/android-28/android.jar\" ],\n      \"target\": []\n    },\n    {\n      \"name\": \"sqlite\",\n      \"type\": \"sqlite\",\n      \"platform\": [ \"%platforms%/android-28/android.jar\" ],\n      \"target\": []\n    },\n    {\n      \"name\": \"sdk15\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-15/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk15-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-15/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk15-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-15/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk19\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-19/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk19-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-19/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk19-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-19/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk21\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-21/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk21-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-21/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk21-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-21/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk23\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-23/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk23-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-23/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk23-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-23/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk25\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-25/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk25-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-25/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk25-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-25/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk27\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk27-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk27-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk28\",\n      \"type\": \"platform\",\n      \"platform\": [ \"%platforms%/android-28/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk28-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-28/android.jar\" ]\n    },\n    {\n      \"name\": \"sdk28-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-28/android.jar\" ]\n    },\n    {\n      \"name\": \"support-v4\",\n      \"type\": \"supportV4\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [\n        \"%support%/support-v4/%supportVer%/support-v4-%supportVer%.aar\",\n        \"%support%/support-compat/%supportVer%/support-compat-%supportVer%.aar\",\n        \"%support%/support-media-compat/%supportVer%/support-media-compat-%supportVer%.aar\",\n        \"%support%/support-core-ui/%supportVer%/support-core-ui-%supportVer%.aar\",\n        \"%support%/support-core-utils/%supportVer%/support-core-utils-%supportVer%.aar\",\n        \"%support%/support-fragment/%supportVer%/support-fragment-%supportVer%.aar\"\n      ]\n    },\n    {\n      \"name\": \"appcompat-v7\",\n      \"type\": \"toolkit\",\n      \"platform\": [\n        \"%platforms%/android-27/android.jar\",\n        \"%support%/support-v4/%supportVer%/support-v4-%supportVer%.aar\",\n        \"%support%/support-compat/%supportVer%/support-compat-%supportVer%.aar\",\n        \"%support%/support-media-compat/%supportVer%/support-media-compat-%supportVer%.aar\",\n        \"%support%/support-core-ui/%supportVer%/support-core-ui-%supportVer%.aar\",\n        \"%support%/support-core-utils/%supportVer%/support-core-utils-%supportVer%.aar\",\n        \"%support%/support-fragment/%supportVer%/support-fragment-%supportVer%.aar\"\n      ],\n      \"target\": [ \"%support%/appcompat-v7/%supportVer%/appcompat-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"appcompat-v7-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [\n        \"%platforms%/android-27/android.jar\",\n        \"%support%/support-v4/%supportVer%/support-v4-%supportVer%.aar\",\n        \"%support%/support-compat/%supportVer%/support-compat-%supportVer%.aar\",\n        \"%support%/support-media-compat/%supportVer%/support-media-compat-%supportVer%.aar\",\n        \"%support%/support-core-ui/%supportVer%/support-core-ui-%supportVer%.aar\",\n        \"%support%/support-core-utils/%supportVer%/support-core-utils-%supportVer%.aar\",\n        \"%support%/support-fragment/%supportVer%/support-fragment-%supportVer%.aar\"\n      ],\n      \"target\": [ \"%support%/appcompat-v7/%supportVer%/appcompat-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"appcompat-v7-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [\n        \"%platforms%/android-27/android.jar\",\n        \"%support%/support-v4/%supportVer%/support-v4-%supportVer%.aar\",\n        \"%support%/support-compat/%supportVer%/support-compat-%supportVer%.aar\",\n        \"%support%/support-media-compat/%supportVer%/support-media-compat-%supportVer%.aar\",\n        \"%support%/support-core-ui/%supportVer%/support-core-ui-%supportVer%.aar\",\n        \"%support%/support-core-utils/%supportVer%/support-core-utils-%supportVer%.aar\",\n        \"%support%/support-fragment/%supportVer%/support-fragment-%supportVer%.aar\"\n      ],\n      \"target\": [ \"%support%/appcompat-v7/%supportVer%/appcompat-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"cardview-v7\",\n      \"type\": \"toolkit\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/cardview-v7/%supportVer%/cardview-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"design\",\n      \"type\": \"toolkit\",\n      \"platform\": [\n        \"%platforms%/android-27/android.jar\",\n        \"%support%/appcompat-v7/%supportVer%/appcompat-v7-%supportVer%.aar\"\n      ],\n      \"target\": [ \"%support%/design/%supportVer%/design-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"design-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/design/%supportVer%/design-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"design-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/design/%supportVer%/design-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"gridlayout-v7\",\n      \"type\": \"toolkit\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/gridlayout-v7/%supportVer%/gridlayout-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"percent\",\n      \"type\": \"toolkit\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/percent/%supportVer%/percent-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"constraint-layout\",\n      \"type\": \"toolkit\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"dependencies/constraint-layout.aar\" ]\n    },\n    {\n      \"name\": \"recyclerview-v7\",\n      \"type\": \"toolkit\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/recyclerview-v7/%supportVer%/recyclerview-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"recyclerview-v7-listeners\",\n      \"type\": \"simpleListeners\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/recyclerview-v7/%supportVer%/recyclerview-v7-%supportVer%.aar\" ]\n    },\n    {\n      \"name\": \"recyclerview-v7-coroutines\",\n      \"type\": \"coroutineListeners\",\n      \"platform\": [ \"%platforms%/android-27/android.jar\" ],\n      \"target\": [ \"%support%/recyclerview-v7/%supportVer%/recyclerview-v7-%supportVer%.aar\" ]\n    }\n  ],\n\n  \"tunes\": {\n    \"excludedClasses\": [\n      \"android.support.v4.app.NoSaveStateFrameLayout\",\n      \"android.app.FragmentBreadCrumbs\",\n      \"android.widget.MediaController\",\n      \"android.provider.ContactsContract.BaseSyncColumns\",\n      \"android.inputmethodservice.KeyboardView\",\n      \"android.support.v4.widget.CircleImageView\",\n      \"android.support.v7.internal.widget.*\",\n      \"android.support.v7.internal.view.menu.*\",\n      \"android.support.v7.widget.ListViewCompat\",\n      \"android.renderscript.RSSurfaceView\",\n      \"android.renderscript.RenderScriptGL\",\n      \"android.renderscript.RSTextureView\",\n      \"android.support.v7.widget.DropDownListView\",\n      \"android.text.ClipboardManager\",\n      \"android.support.design.internal.*\",\n      \"android.support.design.widget.CheckableImageButton\",\n      \"android.support.constraint.Constraints\"\n    ]\n  }\n}\n"
  },
  {
    "path": "anko/props/excluded_methods.txt",
    "content": "android.view.View#getPaddingTop\nandroid.view.View#getPaddingLeft\nandroid.view.View#getPaddingRight\nandroid.view.View#getPaddingBottom\nandroid.view.View#getTouchables\nandroid.view.View#isImportantForAccessibility\nandroid.gesture.GestureOverlayView#getCurrentStroke\nandroid.inputmethodservice.KeyboardView#setShifted\nandroid.widget.AutoCompleteTextView#setAdapter\nandroid.widget.ImageView#getDrawable\nandroid.widget.TextView#isTextSelectable\nandroid.widget.EditText#getText\nandroid.view.View#getBackground\nandroid.webkit.WebView#getVisibleTitleHeight\nandroid.webkit.WebView#getZoomControls\nandroid.support.v4.view.ViewPager#setOnPageChangeListener"
  },
  {
    "path": "anko/props/excluded_properties.txt",
    "content": "android.support.v4.view.PagerTabStrip#*\nandroid.app.MediaRouteButton#*\nandroid.appwidget.AppWidgetHostView#*\nandroid.gesture.GestureOverlayView#*\nandroid.inputmethodservice.ExtractEditText#*\nandroid.inputmethodservice.KeyboardView#*\nandroid.opengl.GLSurfaceView#*\nandroid.widget.AdapterViewAnimator#*\nandroid.view.View#getAccessibilityLiveRegion\nandroid.view.View#getAccessibilityNodeProvider\nandroid.view.View#getApplicationWindowToken\nandroid.view.View#getContext\nandroid.view.View#getDisplay\nandroid.view.View#getHandler\nandroid.view.View#getKeyDispatcherState\nandroid.view.View#getNextFocusDownId\nandroid.view.View#getNextFocusForwardId\nandroid.view.View#getNextFocusLeftId\nandroid.view.View#getNextFocusRightId\nandroid.view.View#getNextFocusUpId\nandroid.view.View#getTextAlignmentResolved\nandroid.view.View#getTextDirectionResolved\nandroid.webkit.WebView#getAccessibilityNodeProvider\nandroid.webkit.WebView#getCertificate\nandroid.webkit.WebView#getPrivateBrowsingEnabled\nandroid.widget.ActionMenuView#getOverflowMenuShowing\nandroid.widget.Toolbar#getContentInsetEnd\nandroid.widget.Toolbar#getContentInsetLeft\nandroid.widget.Toolbar#getContentInsetRight\nandroid.widget.Toolbar#getContentInsetStart\nandroid.widget.RadioGroup#getCheckedRadioButtonId\nandroid.widget.TextView#getTotalPaddingBottom\nandroid.widget.TextView#getTotalPaddingEnd\nandroid.widget.TextView#getTotalPaddingLeft\nandroid.widget.TextView#getTotalPaddingRight\nandroid.widget.TextView#getTotalPaddingStart\nandroid.widget.TextView#getTotalPaddingTop\nandroid.widget.TextView#setEnabled\nandroid.widget.AbsSpinner#getAdapter\nandroid.view.ViewGroup#getChildCount\nandroid.view.ViewGroup#getFocusedChild\nandroid.view.ViewGroup#getNestedScrollAxes\nandroid.view.ViewGroup#getOverlay\nandroid.widget.AbsSpinner#getCount\nandroid.widget.AbsSpinner#getSelectedView\nandroid.widget.AdapterView#getAdapter\nandroid.widget.AdapterView#getCount\nandroid.widget.AdapterView#getSelectedItem\nandroid.widget.AdapterView#getSelectedItemId\nandroid.widget.AdapterView#getSelectedItemPosition\nandroid.widget.AdapterView#getSelectedView\nandroid.widget.AbsListView#getListPaddingBottom\nandroid.widget.AbsListView#getListPaddingLeft\nandroid.widget.AbsListView#getListPaddingRight\nandroid.widget.AbsListView#getListPaddingTop\nandroid.widget.AbsListView#getCheckedItemCount\nandroid.widget.AbsListView#getCheckedItemPosition\nandroid.widget.AbsListView#getCheckedItemPositions\nandroid.widget.AbsListView#getSolidColor\nandroid.widget.AbsListView#getTextFilter\nandroid.widget.AbsListView#getVerticalScrollbarWidth\nandroid.support.v7.widget.AppCompatAutoCompleteTextView#*\nandroid.support.v7.widget.AppCompatButton#*\nandroid.support.v7.widget.AppCompatCheckBox#*\nandroid.support.v7.widget.AppCompatEditText#*\nandroid.support.v7.widget.AppCompatMultiAutoCompleteTextView#*\nandroid.support.v7.widget.AppCompatRadioButton#*\nandroid.support.v7.widget.AppCompatSpinner#*\n"
  },
  {
    "path": "anko/props/helper_constructors.txt",
    "content": "# Java types (lower case primitive types, no question marks on nullables)\nandroid.widget.Button text:CharSequence\nandroid.widget.Button text:int\nandroid.widget.CheckBox text:CharSequence\nandroid.widget.CheckBox text:int\nandroid.widget.CheckBox text:CharSequence, checked:boolean\nandroid.widget.CheckBox text:int, checked:boolean\nandroid.widget.TextView text:CharSequence\nandroid.widget.TextView text:int\nandroid.widget.EditText text:CharSequence\nandroid.widget.EditText text:int\nandroid.widget.ImageView imageDrawable:Drawable\nandroid.widget.ImageView imageResource:int\nandroid.widget.ImageButton imageDrawable:Drawable\nandroid.widget.ImageButton imageResource:int"
  },
  {
    "path": "anko/props/imports_properties.txt",
    "content": "import org.jetbrains.anko.*"
  },
  {
    "path": "anko/props/imports_sqliteparserhelpers.txt",
    "content": "@file:JvmMultifileClass\n@file:JvmName(\"SQLiteParserHelpersKt\")\npackage org.jetbrains.anko.db\n\nimport android.database.sqlite.SQLiteException"
  },
  {
    "path": "anko/props/imports_views.txt",
    "content": "import org.jetbrains.anko.custom.*\nimport org.jetbrains.anko.AnkoViewDslMarker\nimport android.view.ViewManager\nimport android.view.ViewGroup.LayoutParams\nimport android.app.Activity\nimport android.app.Fragment\nimport android.content.Context\nimport android.os.Build\nimport android.widget.*"
  },
  {
    "path": "anko/props/properties_without_getters.txt",
    "content": "android.view.View.backgroundColor\nandroid.view.View.backgroundResource\nandroid.view.View.minimumHeight\nandroid.view.View.minimumWidth\nandroid.widget.TextView.enabled\nandroid.widget.TextView.textColor\nandroid.widget.TextView.highlightColor\nandroid.widget.TextView.hintTextColor\nandroid.widget.TextView.linkTextColor\nandroid.widget.TextView.minLines\nandroid.widget.TextView.maxLines\nandroid.widget.TextView.lines\nandroid.widget.TextView.minEms\nandroid.widget.TextView.maxEms\nandroid.widget.TextView.singleLine\nandroid.widget.TextView.marqueeRepeatLimit\nandroid.widget.TextView.cursorVisible\nandroid.widget.TextView.gravity\nandroid.widget.ImageView.imageResource\nandroid.widget.ImageView.imageURI\nandroid.widget.ImageView.imageBitmap\nandroid.widget.RelativeLayout.gravity\nandroid.widget.LinearLayout.gravity\nandroid.widget.Gallery.gravity\nandroid.widget.Spinner.gravity\nandroid.widget.GridView.gravity\nandroid.widget.RelativeLayout.horizontalGravity\nandroid.widget.RelativeLayout.verticalGravity\nandroid.widget.LinearLayout.dividerDrawable\nandroid.widget.LinearLayout.horizontalGravity\nandroid.widget.LinearLayout.verticalGravity"
  },
  {
    "path": "anko/props/templates/complex_listener.twig",
    "content": "fun {{ setter.receiver }}.{{ setter.methodName }}Listener(init: {{ setter.listener }}.() -> Unit) {\n    val listener = {{ setter.listener }}()\n    listener.init()\n    {{ setter.setter }}(listener)\n}\n\nclass {{ helperClassName }} : {{ listenerClassName }}{{ superConstructorCall }} {\n{% for method in methods %}\n    private var _{{ method.varName }}: (({{ method.argTypes }}) -> {{ imported(method.returnType) }})? = null\n\n    override fun {{ method.methodName }}({{ method.args }}){% if (method.returnType != \"Unit\") %} = _{{ method.varName }}?.invoke({{ method.argNames }}) ?: {{ method.returnDefaultValue }}{% else %} {\n        _{{ method.varName }}?.invoke({{ method.argNames }})\n    }{% endif %}\n\n    fun {{ method.methodName }}(listener: ({{ method.argTypes }}) -> {{ imported(method.returnType) }}) {\n        _{{ method.varName }} = listener\n    }\n{% endfor %}\n}\n\n"
  },
  {
    "path": "anko/props/templates/complex_listener_coroutines.twig",
    "content": "fun {{ setter.receiver }}.{{ setter.methodName }}Listener(\n        context: {{ imported(\"kotlin.coroutines.CoroutineContext\") }} = {{ imported(\"kotlinx.coroutines.Dispatchers.Main\") }},\n        init: {{ setter.listener }}.() -> Unit\n) {\n    val listener = {{ setter.listener }}(context)\n    listener.init()\n    {{ setter.setter }}(listener)\n}\n\nclass {{ helperClassName }}(private val context: {{ imported(\"kotlin.coroutines.CoroutineContext\") }}) : {{ listenerClassName }}{{ superConstructorCall }} {\n{% for method in methods %}\n    private var _{{ method.varName }}: (suspend {{ imported(\"kotlinx.coroutines.CoroutineScope\") }}.({{ method.argTypes }}) -> {{ imported(method.returnType) }})? = null\n    {% if (method.returnType != \"Unit\") %}private var _{{ method.varName }}_returnValue: {{ method.possiblyNullableReturnType }}{% if (method.returnDefaultValue != \"\") %} = {{ method.returnDefaultValue }}{% endif %}{% endif %}\n\n    override fun {{ method.methodName }}({{ method.args }}){% if (method.returnType != \"Unit\") %} : {{ method.returnType }}{% endif %} {\n        {% if (method.returnType != \"Unit\") %}val returnValue = _{{ method.varName }}_returnValue\n        {% endif %}val handler = _{{ method.varName }} ?: return{% if (method.returnType != \"Unit\") %} returnValue{% endif %}\n        {% if (method.hasArgs == true) -%}\n        {{ imported(\"kotlinx.coroutines.GlobalScope\") }}.{{ imported(\"kotlinx.coroutines.launch\") }}(context) {\n            handler({{ method.argNames }})\n        }\n        {%- else -%}\n        {{ imported(\"kotlinx.coroutines.GlobalScope\") }}.{{ imported(\"kotlinx.coroutines.launch\") }}(context, block = handler)\n        {%- endif %}{% if (method.returnType != \"Unit\") %}\n        return returnValue{% endif %}\n    }\n\n    fun {{ method.methodName }}(\n            {% if (method.returnType != \"Unit\") %}returnValue: {{ method.returnType }}{% if (method.returnDefaultValue != \"\") %} = {{ method.returnDefaultValue }}{% endif %},\n            {% endif %}listener: suspend {{ imported(\"kotlinx.coroutines.CoroutineScope\") }}.({{ method.argTypes }}) -> {{ imported(method.returnType) }}\n    ) {\n        _{{ method.varName }} = listener{% if (method.returnType != \"Unit\") %}\n        _{{ method.varName }}_returnValue = returnValue{% endif %}\n    }\n{% endfor %}\n}"
  },
  {
    "path": "anko/props/templates/layout.twig",
    "content": "open class {{ layoutName }}({{ layoutConstructorArgs }}): {{ imported(baseClassName) }}({{ baseClassConstructorArgs }}) {\n{% for fun in lparamsFunctions %}\n    inline fun <T: {{ imported(\"android.view.View\") }}> T.lparams(\n            {% for param in fun.params %}{{ param }},\n            {% endfor %}init: {{ imported(fun.layoutParamsClass) }}.() -> Unit\n    ): T {\n        val layoutParams = {{ imported(fun.layoutParamsClass) }}({{ fun.substituted }})\n        layoutParams.init()\n{%- if imported(fun.layoutParamsClass) == \"ConstraintLayout.LayoutParams\" %}\n        layoutParams.validate()\n{%- endif %}\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n\n    inline fun <T: {{ imported(\"android.view.View\") }}> T.lparams(\n            {% for param in fun.params %}{{ param }}{% if (loop.last == false) %},\n            {% endif %}{% endfor %}\n    ): T {\n        val layoutParams = {{ imported(fun.layoutParamsClass) }}({{ fun.substituted }})\n        this@lparams.layoutParams = layoutParams\n        return this\n    }\n{% endfor %}\n}\n\n"
  },
  {
    "path": "anko/props/templates/services.twig",
    "content": "{% for service in services %}\n/** Returns the {{ service.simpleName | capitalize }} instance. **/\nval {{ imported(\"android.content.Context\") }}.{{ service.simpleName }}: {{ imported(service.fqName) }}\n    get() = getSystemService(Context.{{ service.constantName }}) as {{ imported(service.fqName) }}\n\n{% endfor %}"
  },
  {
    "path": "anko/props/templates/simple_listener.mustache",
    "content": "inline fun {{receiver}}.{{name}}(noinline l: ({{args}}) -> {{returnType}}) {\n    {{setter}}(l)\n}\n\n"
  },
  {
    "path": "anko/props/templates/simple_listener_coroutines.twig",
    "content": "fun {{ receiver }}.{{ name }}(\n        context: {{ imported(\"kotlin.coroutines.CoroutineContext\") }} = {{ imported(\"kotlinx.coroutines.Dispatchers.Main\") }},\n        {% if (returnType != \"Unit\") %}returnValue: {{ imported(returnType) }}{% if (returnDefaultValue != \"\") %} = {{ returnDefaultValue }}{% endif %},\n        {% endif %}handler: suspend {{ imported(\"kotlinx.coroutines.CoroutineScope\") }}.({{ args }}) -> Unit\n) {\n    {{setter}} { {{ argNames }} ->\n        {% if (hasArgs == true) -%}\n        {{ imported(\"kotlinx.coroutines.GlobalScope\") }}.{{ imported(\"kotlinx.coroutines.launch\") }}(context, {{ imported(\"kotlinx.coroutines.CoroutineStart.DEFAULT\") }}) {\n            handler({{ argNames }})\n        }\n        {%- else -%}\n        {{ imported(\"kotlinx.coroutines.GlobalScope\") }}.{{ imported(\"kotlinx.coroutines.launch\") }}(context, {{ imported(\"kotlinx.coroutines.CoroutineStart.DEFAULT\") }}, block = handler)\n        {%- endif %}{% if (returnType != \"Unit\") %}\n        returnValue{% endif %}\n    }\n}\n\n"
  },
  {
    "path": "anko/props/templates/sql_parser_helpers.twig",
    "content": "{% for n in range(1, count) -%}\n\n{%- set typeArgs = \"\" -%}\n{%- set parseSeq = \"\" -%}\n\n{%- for i in range(1, n) -%}\n    {%- if (not(loop.first)) -%}\n        {%- set typeArgs = typeArgs ~ \", \" -%}\n        {%- set parseSeq = parseSeq ~ \", \" -%}\n    {%- endif -%}\n    {%- set typeArgs = typeArgs ~ \"T\" ~ i -%}\n    {%- set parseSeq = parseSeq ~ \"columns[\" ~ (i - 1) ~ \"] as T\" ~ i -%}\n{%- endfor -%}\nfun <{{- typeArgs }}, R> rowParser(parser: ({{ typeArgs }}) -> R): RowParser<R> {\n    return object : RowParser<R> {\n        override fun parseRow(columns: Array<Any?>): R {\n            if (columns.size != {{ n }}) {\n                throw SQLiteException(\"Invalid row: {{ n }} {{ (n > 1) ? \"columns\" : \"column\" }} required\")\n            }\n\n            @Suppress(\"UNCHECKED_CAST\")\n            return parser({{ parseSeq }})\n        }\n    }\n}\n\n{% endfor %}"
  },
  {
    "path": "anko/props/templates/view.mustache",
    "content": "inline fun {{receiver}}.{{functionName}}(): {{returnType}} = {{functionName}}() {}\ninline fun {{receiver}}.{{functionName}}({{additionalParams}}{{#additionalParams}}, {{/additionalParams}}init: (@AnkoViewDslMarker {{lambdaArgType}}).() -> Unit): {{returnType}} {\n    return ankoView({{factory}}, theme = 0) { init() }\n}\n\ninline fun {{receiver}}.{{themedFunctionName}}(theme: Int = 0): {{returnType}} = {{themedFunctionName}}(theme) {}\ninline fun {{receiver}}.{{themedFunctionName}}(theme: Int = 0, {{additionalParams}}{{#additionalParams}}, {{/additionalParams}}init: (@AnkoViewDslMarker {{lambdaArgType}}).() -> Unit): {{returnType}} {\nreturn ankoView({{factory}}, theme) { init() }\n}\n\n"
  },
  {
    "path": "build.gradle",
    "content": "import java.util.zip.ZipEntry\nimport java.util.zip.ZipOutputStream\n\nbuildscript {\n    ext.kotlin_version = '1.3.0'\n    ext.kotlinx_dom_version = '0.0.10'\n    ext.kotlinx_coroutines_version = '1.0.0'\n\n    ext.ANKO_VERSION = '0.10.8'\n    ext.ANKO_VERSION_CODE = 106\n\n    ext.COMPILE_SDK_VERSION = 28\n    ext.MIN_SDK_VERSION = 15\n    ext.TARGET_SDK_VERSION = 28\n    ext.SUPPORT_ARTIFACT_VERSION = \"27.1.1\"\n    ext.CONSTRAINT_LAYOUT_ARTIFACT_VERSION = \"1.1.2\"\n\n    ext.PROJECT_URL = 'https://github.com/JetBrains/anko'\n    ext.SCM_URL = 'https://github.com/JetBrains/anko.git'\n    ext.CONNECTION_URL = 'scm:git:https://github.com/JetBrains/anko.git'\n    ext.DEVELOPER_CONNECTION_URL = 'scm:git:https://github.com/JetBrains/anko'\n\n    ext.BINTRAY_USER_NAME = 'jetbrains'\n    ext.BINTRAY_PACKAGE_NAME = 'anko'\n    ext.BINTRAY_REPO_NAME = 'anko'\n\n    ext.BINTRAY_DRY_RUN = false\n\n    ext.POM_ARTIFACT_GROUP = 'org.jetbrains.anko'\n\n    repositories {\n        google()\n        jcenter()\n    }\n\n    dependencies {\n        classpath \"com.android.tools.build:gradle:3.1.2\"\n        classpath \"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version\"\n        classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'\n        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'\n        classpath \"org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.16\"\n    }\n}\n\nallprojects {\n    repositories {\n        google()\n        jcenter()\n    }\n}\n\ntask clean {\n    doLast {\n        delete(buildDir)\n    }\n}\n\ntask zipIdeaPlugin {\n    dependsOn(':ide:preview:shadowJar')\n    outputs.files(\"$buildDir/anko-ide-plugin.zip\")\n\n    doLast {\n        File outputFile = new File(\"$buildDir/anko-ide-plugin.zip\")\n        ZipOutputStream zipOutputStream = null\n\n        try {\n            zipOutputStream = new ZipOutputStream(new FileOutputStream(outputFile))\n            ZipEntry jar = new ZipEntry(\"Anko/lib/anko-ide-plugin.jar\")\n            zipOutputStream.putNextEntry(jar)\n\n            zipOutputStream << new FileInputStream(\"anko/idea-plugin/preview/build/libs/preview-all.jar\")\n        } finally {\n            if (zipOutputStream != null) {\n                zipOutputStream.close()\n            }\n        }\n    }\n}\n\ndef publishedArtifacts = [\n    ':generated:anko-appcompat-v7',\n    ':generated:anko-appcompat-v7-listeners',\n    ':generated:anko-appcompat-v7-coroutines',\n    ':generated:anko-appcompat-v7-commons',\n    ':generated:anko-cardview-v7',\n    ':generated:anko-common',\n    ':generated:anko-commons',\n    ':generated:anko-design',\n    ':generated:anko-design-listeners',\n    ':generated:anko-design-coroutines',\n    ':generated:anko-gridlayout-v7',\n    ':generated:anko-percent',\n    ':generated:anko-constraint-layout',\n    ':generated:anko-recyclerview-v7',\n    ':generated:anko-recyclerview-v7-listeners',\n    ':generated:anko-recyclerview-v7-coroutines',\n    ':generated:anko-sdk15',\n    ':generated:anko-sdk15-listeners',\n    ':generated:anko-sdk15-coroutines',\n    ':generated:anko-sdk19',\n    ':generated:anko-sdk19-listeners',\n    ':generated:anko-sdk19-coroutines',\n    ':generated:anko-sdk21',\n    ':generated:anko-sdk21-listeners',\n    ':generated:anko-sdk21-coroutines',\n    ':generated:anko-sdk23',\n    ':generated:anko-sdk23-listeners',\n    ':generated:anko-sdk23-coroutines',\n    ':generated:anko-sdk25',\n    ':generated:anko-sdk25-listeners',\n    ':generated:anko-sdk25-coroutines',\n    ':generated:anko-sdk27',\n    ':generated:anko-sdk27-listeners',\n    ':generated:anko-sdk27-coroutines',\n    ':generated:anko-sdk28',\n    ':generated:anko-sdk28-listeners',\n    ':generated:anko-sdk28-coroutines',\n    ':generated:anko-sqlite',\n    ':generated:anko-support-v4',\n    ':generated:anko-support-v4-commons',\n    ':generated:anko-coroutines',\n    ':generated:anko',\n\n    ':static:commons-base',\n    ':static:platform-base',\n    ':static:sqlite-base',\n    ':static:design-base',\n    ':static:supportV4-base',\n    ':static:appcompatV7-base',\n    ':static:constraint-layout-base'\n]\n\ntask dist()\ntask publish()\ntask publishLocal()\n\nafterEvaluate {\n    def commonBuildTasks = [\n            ':zipIdeaPlugin',\n            ':generator:run',\n            ':generator:test',\n            ':robolectricTests:test'\n    ]\n\n    project.tasks.dist.dependsOn(commonBuildTasks)\n    project.tasks.publish.dependsOn(commonBuildTasks)\n    project.tasks.publishLocal.dependsOn(commonBuildTasks)\n\n    project.tasks.dist.dependsOn(publishedArtifacts.collect { it + \":assembleRelease\" })\n    project.tasks.publish.dependsOn(publishedArtifacts.collect { it + \":bintrayUpload\" })\n    project.tasks.publishLocal.dependsOn(publishedArtifacts.collect { it + \":publish\" })\n}\n"
  },
  {
    "path": "download_android_sdk.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project name=\"download_android_sdk\" default=\"download_android_sdk\">\n\n    <property name=\"android.sdk.dir\" value=\"dependencies/android-sdk\"/>\n    <property name=\"download.dir\" value=\"dependencies/download\"/>\n\n    <condition property=\"tools.os\" value=\"windows\">\n        <os family=\"windows\"/>\n    </condition>\n\n    <condition property=\"tools.os\" value=\"macosx\">\n        <os family=\"mac\"/>\n    </condition>\n\n    <condition property=\"tools.os\" value=\"linux\">\n        <and>\n            <os family=\"unix\"/>\n            <not>\n                <os family=\"mac\"/>\n            </not>\n        </and>\n    </condition>\n\n    <target name=\"download_android_sdk\">\n        <mkdir dir=\"${download.dir}\"/>\n        <mkdir dir=\"${android.sdk.dir}\"/>\n        <mkdir dir=\"${android.sdk.dir}/platforms\"/>\n        <mkdir dir=\"${android.sdk.dir}/build-tools\"/>\n\n        <download_android_platform android.versioncode=\"15_r05\" android.sdk.version=\"15\" android.full.version=\"4.0.4\" />\n        <download_android_platform android.versioncode=\"19_r04\" android.sdk.version=\"19\" android.full.version=\"4.4.2\" />\n        <download_android_platform android.versioncode=\"21_r02\" android.sdk.version=\"21\" android.full.version=\"5.0.1\" />\n        <download_android_platform android.versioncode=\"23_r01\" android.sdk.version=\"23\" android.full.version=\"6.0\" />\n        <download_android_platform_new android.versioncode=\"25_r01\" android.sdk.version=\"25\" android.full.version=\"7.1.1\" />\n        <download_android_platform_new android.versioncode=\"27_r03\" android.sdk.version=\"27\" android.full.version=\"8.1.0\" />\n        <download_android_platform_new android.versioncode=\"28_r04\" android.sdk.version=\"28\" android.full.version=\"9\" />\n\n        <download_platform_tools android.platform.tools.version=\"25.0.3\" />\n        <download_tools android.tools.version=\"24.3.4\" />\n        <download_build_tools android.build.tools.version=\"27.0.3\" android.build.tools.full.version=\"8.1.0\" />\n\n        <download_sources android.sources.versioncode=\"27_r01\" android.sources.version=\"27\" />\n\n        <download_support_repository android.repo.version=\"47\" android.repo.last=\"25.3.1\" />\n    </target>\n\n    <macrodef name=\"download_android_platform\">\n        <attribute name=\"android.versioncode\" />\n        <attribute name=\"android.sdk.version\" />\n        <attribute name=\"android.full.version\" />\n\n        <sequential>\n            <get src=\"https://dl-ssl.google.com/android/repository/android-@{android.versioncode}.zip\"\n                 dest=\"${download.dir}/android-platform-@{android.versioncode}.zip\" usetimestamp=\"true\"/>\n\n            <unzip src=\"${download.dir}/android-platform-@{android.versioncode}.zip\" dest=\"${android.sdk.dir}/platforms\"/>\n\n            <move file=\"${android.sdk.dir}/platforms/android-@{android.full.version}\" tofile=\"${android.sdk.dir}/platforms/android-@{android.sdk.version}\"/>\n            <delete dir=\"${android.sdk.dir}/platforms/android-@{android.full.version}\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_android_platform_new\">\n        <attribute name=\"android.versioncode\" />\n        <attribute name=\"android.sdk.version\" />\n        <attribute name=\"android.full.version\" />\n\n        <sequential>\n            <get src=\"https://dl-ssl.google.com/android/repository/platform-@{android.versioncode}.zip\"\n                 dest=\"${download.dir}/android-platform-@{android.versioncode}.zip\" usetimestamp=\"true\"/>\n\n            <unzip src=\"${download.dir}/android-platform-@{android.versioncode}.zip\" dest=\"${android.sdk.dir}/platforms\"/>\n\n            <move file=\"${android.sdk.dir}/platforms/android-@{android.full.version}\" tofile=\"${android.sdk.dir}/platforms/android-@{android.sdk.version}\"/>\n            <delete dir=\"${android.sdk.dir}/platforms/android-@{android.full.version}\"/>\n        </sequential>\n    </macrodef>\n\n\n    <macrodef name=\"download_platform_tools\">\n        <attribute name=\"android.platform.tools.version\" />\n\n        <sequential>\n            <get src=\"https://dl-ssl.google.com/android/repository/platform-tools_r@{android.platform.tools.version}-${tools.os}.zip\"\n                 dest=\"${download.dir}/android-platform-tools_r@{android.platform.tools.version}.zip\" usetimestamp=\"true\"/>\n\n            <unzip src=\"${download.dir}/android-platform-tools_r@{android.platform.tools.version}.zip\" dest=\"${android.sdk.dir}\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_tools\">\n        <attribute name=\"android.tools.version\" />\n\n        <sequential>\n            <get src=\"https://dl.google.com/android/repository/tools_r@{android.tools.version}-${tools.os}.zip\"\n                 dest=\"${download.dir}/android-tools_r@{android.tools.version}.zip\" usetimestamp=\"true\"/>\n\n            <unzip src=\"${download.dir}/android-tools_r@{android.tools.version}.zip\" dest=\"${android.sdk.dir}\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_build_tools\">\n        <attribute name=\"android.build.tools.version\" />\n        <attribute name=\"android.build.tools.full.version\" />\n\n        <sequential>\n            <taskdef resource=\"net/sf/antcontrib/antcontrib.properties\" classpath=\"dependencies/ant-contrib.jar\"/>\n\n            <get src=\"https://dl.google.com/android/repository/build-tools_r@{android.build.tools.version}-${tools.os}.zip\"\n                 dest=\"${download.dir}/android-build-tools_r@{android.build.tools.version}.zip\" usetimestamp=\"true\"/>\n\n            <unzip src=\"${download.dir}/android-build-tools_r@{android.build.tools.version}.zip\" dest=\"${android.sdk.dir}/build-tools\"/>\n\n            <move file=\"${android.sdk.dir}/build-tools/android-@{android.build.tools.full.version}\"\n                  tofile=\"${android.sdk.dir}/build-tools/@{android.build.tools.version}\"/>\n\n            <if>\n                <equals arg1=\"${tools.os}\" arg2=\"windows\"/>\n                <then />\n                <else>\n                    <exec executable=\"chmod\">\n                        <arg value=\"a+x\"/>\n                        <arg path=\"${android.sdk.dir}/build-tools/@{android.build.tools.version}/aapt\"/>\n                        <arg path=\"${android.sdk.dir}/build-tools/@{android.build.tools.version}/aidl\"/>\n                        <arg path=\"${android.sdk.dir}/build-tools/@{android.build.tools.version}/dx\"/>\n                        <arg path=\"${android.sdk.dir}/build-tools/@{android.build.tools.version}/zipalign\"/>\n                    </exec>\n                </else>\n            </if>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_support_repository\">\n        <attribute name=\"android.repo.version\" />\n        <attribute name=\"android.repo.last\" />\n\n        <sequential>\n            <get src=\"https://dl-ssl.google.com/android/repository/android_m2repository_r@{android.repo.version}.zip\"\n                 dest=\"${download.dir}/android_m2repository_r@{android.repo.version}.zip\" usetimestamp=\"true\"/>\n\n            <mkdir dir=\"${android.sdk.dir}/extras/android\" />\n\n            <unzip src=\"${download.dir}/android_m2repository_r@{android.repo.version}.zip\" dest=\"${android.sdk.dir}/extras/android\"/>\n\n            <unzip\n                    src=\"${android.sdk.dir}/extras/android/m2repository/com/android/support/appcompat-v7/@{android.repo.last}/appcompat-v7-@{android.repo.last}.aar\"\n                    dest=\"${android.sdk.dir}/support/appcompat-v7\" />\n\n            <unzip\n                    src=\"${android.sdk.dir}/extras/android/m2repository/com/android/support/support-v4/@{android.repo.last}/support-v4-@{android.repo.last}.aar\"\n                    dest=\"${android.sdk.dir}/support/support-v4\" />\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_sources\">\n        <attribute name=\"android.sources.versioncode\" />\n        <attribute name=\"android.sources.version\" />\n\n        <sequential>\n            <get src=\"https://dl-ssl.google.com/android/repository/sources-@{android.sources.versioncode}.zip\"\n                 dest=\"${download.dir}/android_sources_@{android.sources.versioncode}.zip\" usetimestamp=\"true\"/>\n\n            <mkdir dir=\"${android.sdk.dir}/sources/android-@{android.sources.version}\" />\n\n            <unzip src=\"${download.dir}/android_sources_@{android.sources.versioncode}.zip\"\n                   dest=\"${android.sdk.dir}/sources\"/>\n\n            <move file=\"${android.sdk.dir}/sources/src\"\n                  tofile=\"${android.sdk.dir}/sources/android-@{android.sources.version}\"/>\n        </sequential>\n    </macrodef>\n\n</project>"
  },
  {
    "path": "gradle/wrapper/gradle-wrapper.properties",
    "content": "distributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-4.8-all.zip\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dists\n"
  },
  {
    "path": "gradle.properties",
    "content": "org.gradle.jvmargs=-Xmx6g -XX:ReservedCodeCacheSize=2g -Dfile.encoding=UTF-8\norg.gradle.parallel=true\norg.gradle.configureondemand=false\norg.gradle.caching=true\n"
  },
  {
    "path": "gradlew",
    "content": "#!/usr/bin/env sh\n\n##############################################################################\n##\n##  Gradle start up script for UN*X\n##\n##############################################################################\n\n# Attempt to set APP_HOME\n# Resolve links: $0 may be a link\nPRG=\"$0\"\n# Need this for relative symlinks.\nwhile [ -h \"$PRG\" ] ; do\n    ls=`ls -ld \"$PRG\"`\n    link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n    if expr \"$link\" : '/.*' > /dev/null; then\n        PRG=\"$link\"\n    else\n        PRG=`dirname \"$PRG\"`\"/$link\"\n    fi\ndone\nSAVED=\"`pwd`\"\ncd \"`dirname \\\"$PRG\\\"`/\" >/dev/null\nAPP_HOME=\"`pwd -P`\"\ncd \"$SAVED\" >/dev/null\n\nAPP_NAME=\"Gradle\"\nAPP_BASE_NAME=`basename \"$0\"`\n\n# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nDEFAULT_JVM_OPTS=\"\"\n\n# Use the maximum available, or set MAX_FD != -1 to use that value.\nMAX_FD=\"maximum\"\n\nwarn () {\n    echo \"$*\"\n}\n\ndie () {\n    echo\n    echo \"$*\"\n    echo\n    exit 1\n}\n\n# OS specific support (must be 'true' or 'false').\ncygwin=false\nmsys=false\ndarwin=false\nnonstop=false\ncase \"`uname`\" in\n  CYGWIN* )\n    cygwin=true\n    ;;\n  Darwin* )\n    darwin=true\n    ;;\n  MINGW* )\n    msys=true\n    ;;\n  NONSTOP* )\n    nonstop=true\n    ;;\nesac\n\nCLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar\n\n# Determine the Java command to use to start the JVM.\nif [ -n \"$JAVA_HOME\" ] ; then\n    if [ -x \"$JAVA_HOME/jre/sh/java\" ] ; then\n        # IBM's JDK on AIX uses strange locations for the executables\n        JAVACMD=\"$JAVA_HOME/jre/sh/java\"\n    else\n        JAVACMD=\"$JAVA_HOME/bin/java\"\n    fi\n    if [ ! -x \"$JAVACMD\" ] ; then\n        die \"ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\n    fi\nelse\n    JAVACMD=\"java\"\n    which java >/dev/null 2>&1 || die \"ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\nfi\n\n# Increase the maximum file descriptors if we can.\nif [ \"$cygwin\" = \"false\" -a \"$darwin\" = \"false\" -a \"$nonstop\" = \"false\" ] ; then\n    MAX_FD_LIMIT=`ulimit -H -n`\n    if [ $? -eq 0 ] ; then\n        if [ \"$MAX_FD\" = \"maximum\" -o \"$MAX_FD\" = \"max\" ] ; then\n            MAX_FD=\"$MAX_FD_LIMIT\"\n        fi\n        ulimit -n $MAX_FD\n        if [ $? -ne 0 ] ; then\n            warn \"Could not set maximum file descriptor limit: $MAX_FD\"\n        fi\n    else\n        warn \"Could not query maximum file descriptor limit: $MAX_FD_LIMIT\"\n    fi\nfi\n\n# For Darwin, add options to specify how the application appears in the dock\nif $darwin; then\n    GRADLE_OPTS=\"$GRADLE_OPTS \\\"-Xdock:name=$APP_NAME\\\" \\\"-Xdock:icon=$APP_HOME/media/gradle.icns\\\"\"\nfi\n\n# For Cygwin, switch paths to Windows format before running java\nif $cygwin ; then\n    APP_HOME=`cygpath --path --mixed \"$APP_HOME\"`\n    CLASSPATH=`cygpath --path --mixed \"$CLASSPATH\"`\n    JAVACMD=`cygpath --unix \"$JAVACMD\"`\n\n    # We build the pattern for arguments to be converted via cygpath\n    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`\n    SEP=\"\"\n    for dir in $ROOTDIRSRAW ; do\n        ROOTDIRS=\"$ROOTDIRS$SEP$dir\"\n        SEP=\"|\"\n    done\n    OURCYGPATTERN=\"(^($ROOTDIRS))\"\n    # Add a user-defined pattern to the cygpath arguments\n    if [ \"$GRADLE_CYGPATTERN\" != \"\" ] ; then\n        OURCYGPATTERN=\"$OURCYGPATTERN|($GRADLE_CYGPATTERN)\"\n    fi\n    # Now convert the arguments - kludge to limit ourselves to /bin/sh\n    i=0\n    for arg in \"$@\" ; do\n        CHECK=`echo \"$arg\"|egrep -c \"$OURCYGPATTERN\" -`\n        CHECK2=`echo \"$arg\"|egrep -c \"^-\"`                                 ### Determine if an option\n\n        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition\n            eval `echo args$i`=`cygpath --path --ignore --mixed \"$arg\"`\n        else\n            eval `echo args$i`=\"\\\"$arg\\\"\"\n        fi\n        i=$((i+1))\n    done\n    case $i in\n        (0) set -- ;;\n        (1) set -- \"$args0\" ;;\n        (2) set -- \"$args0\" \"$args1\" ;;\n        (3) set -- \"$args0\" \"$args1\" \"$args2\" ;;\n        (4) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" ;;\n        (5) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" ;;\n        (6) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" ;;\n        (7) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" ;;\n        (8) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" ;;\n        (9) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" \"$args8\" ;;\n    esac\nfi\n\n# Escape application args\nsave () {\n    for i do printf %s\\\\n \"$i\" | sed \"s/'/'\\\\\\\\''/g;1s/^/'/;\\$s/\\$/' \\\\\\\\/\" ; done\n    echo \" \"\n}\nAPP_ARGS=$(save \"$@\")\n\n# Collect all arguments for the java command, following the shell quoting and substitution rules\neval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS \"\\\"-Dorg.gradle.appname=$APP_BASE_NAME\\\"\" -classpath \"\\\"$CLASSPATH\\\"\" org.gradle.wrapper.GradleWrapperMain \"$APP_ARGS\"\n\n# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong\nif [ \"$(uname)\" = \"Darwin\" ] && [ \"$HOME\" = \"$PWD\" ]; then\n  cd \"$(dirname \"$0\")\"\nfi\n\nexec \"$JAVACMD\" \"$@\"\n"
  },
  {
    "path": "gradlew.bat",
    "content": "@if \"%DEBUG%\" == \"\" @echo off\n@rem ##########################################################################\n@rem\n@rem  Gradle startup script for Windows\n@rem\n@rem ##########################################################################\n\n@rem Set local scope for the variables with windows NT shell\nif \"%OS%\"==\"Windows_NT\" setlocal\n\nset DIRNAME=%~dp0\nif \"%DIRNAME%\" == \"\" set DIRNAME=.\nset APP_BASE_NAME=%~n0\nset APP_HOME=%DIRNAME%\n\n@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nset DEFAULT_JVM_OPTS=\n\n@rem Find java.exe\nif defined JAVA_HOME goto findJavaFromJavaHome\n\nset JAVA_EXE=java.exe\n%JAVA_EXE% -version >NUL 2>&1\nif \"%ERRORLEVEL%\" == \"0\" goto init\n\necho.\necho ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\necho.\necho Please set the JAVA_HOME variable in your environment to match the\necho location of your Java installation.\n\ngoto fail\n\n:findJavaFromJavaHome\nset JAVA_HOME=%JAVA_HOME:\"=%\nset JAVA_EXE=%JAVA_HOME%/bin/java.exe\n\nif exist \"%JAVA_EXE%\" goto init\n\necho.\necho ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\necho.\necho Please set the JAVA_HOME variable in your environment to match the\necho location of your Java installation.\n\ngoto fail\n\n:init\n@rem Get command-line arguments, handling Windows variants\n\nif not \"%OS%\" == \"Windows_NT\" goto win9xME_args\n\n:win9xME_args\n@rem Slurp the command line arguments.\nset CMD_LINE_ARGS=\nset _SKIP=2\n\n:win9xME_args_slurp\nif \"x%~1\" == \"x\" goto execute\n\nset CMD_LINE_ARGS=%*\n\n:execute\n@rem Setup the command line\n\nset CLASSPATH=%APP_HOME%\\gradle\\wrapper\\gradle-wrapper.jar\n\n@rem Execute Gradle\n\"%JAVA_EXE%\" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% \"-Dorg.gradle.appname=%APP_BASE_NAME%\" -classpath \"%CLASSPATH%\" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%\n\n:end\n@rem End local scope for the variables with windows NT shell\nif \"%ERRORLEVEL%\"==\"0\" goto mainEnd\n\n:fail\nrem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of\nrem the _cmd.exe /c_ return code!\nif  not \"\" == \"%GRADLE_EXIT_CONSOLE%\" exit 1\nexit /b 1\n\n:mainEnd\nif \"%OS%\"==\"Windows_NT\" endlocal\n\n:omega\n"
  },
  {
    "path": "settings.gradle",
    "content": "include ':generator'\ninclude ':stubs'\ninclude ':robolectricTests'\ninclude ':testUtils'\n\ninclude ':static:commons-base'\ninclude ':static:platform-base'\ninclude ':static:sqlite-base'\ninclude ':static:design-base'\ninclude ':static:supportV4-base'\ninclude ':static:appcompatV7-base'\ninclude ':static:constraint-layout-base'\n\ninclude ':generated'\ninclude ':generated:anko'\ninclude ':generated:anko-appcompat-v7'\ninclude ':generated:anko-appcompat-v7-listeners'\ninclude ':generated:anko-appcompat-v7-coroutines'\ninclude ':generated:anko-appcompat-v7-commons'\ninclude ':generated:anko-cardview-v7'\ninclude ':generated:anko-commons'\ninclude ':generated:anko-common'\ninclude ':generated:anko-design'\ninclude ':generated:anko-design-listeners'\ninclude ':generated:anko-design-coroutines'\ninclude ':generated:anko-gridlayout-v7'\ninclude ':generated:anko-percent'\ninclude ':generated:anko-constraint-layout'\ninclude ':generated:anko-recyclerview-v7'\ninclude ':generated:anko-recyclerview-v7-listeners'\ninclude ':generated:anko-recyclerview-v7-coroutines'\ninclude ':generated:anko-sdk15'\ninclude ':generated:anko-sdk15-listeners'\ninclude ':generated:anko-sdk15-coroutines'\ninclude ':generated:anko-sdk19'\ninclude ':generated:anko-sdk19-listeners'\ninclude ':generated:anko-sdk19-coroutines'\ninclude ':generated:anko-sdk21'\ninclude ':generated:anko-sdk21-listeners'\ninclude ':generated:anko-sdk21-coroutines'\ninclude ':generated:anko-sdk23'\ninclude ':generated:anko-sdk23-listeners'\ninclude ':generated:anko-sdk23-coroutines'\ninclude ':generated:anko-sdk25'\ninclude ':generated:anko-sdk25-listeners'\ninclude ':generated:anko-sdk25-coroutines'\ninclude ':generated:anko-sdk27'\ninclude ':generated:anko-sdk27-listeners'\ninclude ':generated:anko-sdk27-coroutines'\ninclude ':generated:anko-sdk28'\ninclude ':generated:anko-sdk28-listeners'\ninclude ':generated:anko-sdk28-coroutines'\ninclude ':generated:anko-sqlite'\ninclude ':generated:anko-support-v4'\ninclude ':generated:anko-support-v4-commons'\ninclude ':generated:anko-coroutines'\n\ninclude ':ide:plugin-classpath'\ninclude ':ide:attrs'\ninclude ':ide:intentions'\ninclude ':ide:preview'\ninclude ':ide:xml-converter'\ninclude ':ide:idea-runner'\n\nproject(':generator').projectDir = new File(rootDir, 'anko/library/generator')\nproject(':stubs').projectDir = new File(rootDir, 'anko/library/stubs')\nproject(':robolectricTests').projectDir = new File(rootDir, 'anko/library/robolectricTests')\nproject(':testUtils').projectDir = new File(rootDir, 'anko/library/testUtils')\n\nproject(':static').projectDir = new File(rootDir, 'anko/library/static')\nproject(':static:commons-base').projectDir = new File(rootDir, 'anko/library/static/commons')\nproject(':static:platform-base').projectDir = new File(rootDir, 'anko/library/static/platform')\nproject(':static:sqlite-base').projectDir = new File(rootDir, 'anko/library/static/sqlite')\nproject(':static:design-base').projectDir = new File(rootDir, 'anko/library/static/design')\nproject(':static:supportV4-base').projectDir = new File(rootDir, 'anko/library/static/supportV4')\nproject(':static:appcompatV7-base').projectDir = new File(rootDir, 'anko/library/static/appcompatV7')\nproject(':static:constraint-layout-base').projectDir = new File(rootDir, 'anko/library/static/constraint-layout')\n\nproject(':generated').projectDir = new File(rootDir, 'anko/library/generated')\nproject(':generated:anko').projectDir = new File(rootDir, 'anko/library/generated/anko')\nproject(':generated:anko-appcompat-v7').projectDir = new File(rootDir, 'anko/library/generated/appcompat-v7')\nproject(':generated:anko-appcompat-v7-listeners').projectDir = new File(rootDir, 'anko/library/generated/appcompat-v7-listeners')\nproject(':generated:anko-appcompat-v7-coroutines').projectDir = new File(rootDir, 'anko/library/generated/appcompat-v7-coroutines')\nproject(':generated:anko-appcompat-v7-commons').projectDir = new File(rootDir, 'anko/library/generated/appcompat-v7-commons')\nproject(':generated:anko-cardview-v7').projectDir = new File(rootDir, 'anko/library/generated/cardview-v7')\nproject(':generated:anko-commons').projectDir = new File(rootDir, 'anko/library/generated/commons')\nproject(':generated:anko-common').projectDir = new File(rootDir, 'anko/library/generated/common')\nproject(':generated:anko-design').projectDir = new File(rootDir, 'anko/library/generated/design')\nproject(':generated:anko-design-listeners').projectDir = new File(rootDir, 'anko/library/generated/design-listeners')\nproject(':generated:anko-design-coroutines').projectDir = new File(rootDir, 'anko/library/generated/design-coroutines')\nproject(':generated:anko-gridlayout-v7').projectDir = new File(rootDir, 'anko/library/generated/gridlayout-v7')\nproject(':generated:anko-percent').projectDir = new File(rootDir, 'anko/library/generated/percent')\nproject(':generated:anko-constraint-layout').projectDir = new File(rootDir, 'anko/library/generated/constraint-layout')\nproject(':generated:anko-recyclerview-v7').projectDir = new File(rootDir, 'anko/library/generated/recyclerview-v7')\nproject(':generated:anko-recyclerview-v7-listeners').projectDir = new File(rootDir, 'anko/library/generated/recyclerview-v7-listeners')\nproject(':generated:anko-recyclerview-v7-coroutines').projectDir = new File(rootDir, 'anko/library/generated/recyclerview-v7-coroutines')\nproject(':generated:anko-sdk15').projectDir = new File(rootDir, 'anko/library/generated/sdk15')\nproject(':generated:anko-sdk15-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk15-listeners')\nproject(':generated:anko-sdk15-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk15-coroutines')\nproject(':generated:anko-sdk19').projectDir = new File(rootDir, 'anko/library/generated/sdk19')\nproject(':generated:anko-sdk19-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk19-listeners')\nproject(':generated:anko-sdk19-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk19-coroutines')\nproject(':generated:anko-sdk21').projectDir = new File(rootDir, 'anko/library/generated/sdk21')\nproject(':generated:anko-sdk21-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk21-listeners')\nproject(':generated:anko-sdk21-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk21-coroutines')\nproject(':generated:anko-sdk23').projectDir = new File(rootDir, 'anko/library/generated/sdk23')\nproject(':generated:anko-sdk23-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk23-listeners')\nproject(':generated:anko-sdk23-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk23-coroutines')\nproject(':generated:anko-sdk25').projectDir = new File(rootDir, 'anko/library/generated/sdk25')\nproject(':generated:anko-sdk25-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk25-listeners')\nproject(':generated:anko-sdk25-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk25-coroutines')\nproject(':generated:anko-sdk27').projectDir = new File(rootDir, 'anko/library/generated/sdk27')\nproject(':generated:anko-sdk27-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk27-listeners')\nproject(':generated:anko-sdk27-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk27-coroutines')\nproject(':generated:anko-sdk28').projectDir = new File(rootDir, 'anko/library/generated/sdk28')\nproject(':generated:anko-sdk28-listeners').projectDir = new File(rootDir, 'anko/library/generated/sdk28-listeners')\nproject(':generated:anko-sdk28-coroutines').projectDir = new File(rootDir, 'anko/library/generated/sdk28-coroutines')\nproject(':generated:anko-sqlite').projectDir = new File(rootDir, 'anko/library/generated/sqlite')\nproject(':generated:anko-support-v4').projectDir = new File(rootDir, 'anko/library/generated/support-v4')\nproject(':generated:anko-support-v4-commons').projectDir = new File(rootDir, 'anko/library/generated/support-v4-commons')\nproject(':generated:anko-coroutines').projectDir = new File(rootDir, 'anko/library/generated/coroutines')\n\nproject(':ide').projectDir = new File(rootDir, 'anko/idea-plugin')\nproject(':ide:plugin-classpath').projectDir = new File(rootDir, 'anko/idea-plugin/plugin-classpath')\nproject(':ide:attrs').projectDir = new File(rootDir, 'anko/idea-plugin/attrs')\nproject(':ide:intentions').projectDir = new File(rootDir, 'anko/idea-plugin/intentions')\nproject(':ide:preview').projectDir = new File(rootDir, 'anko/idea-plugin/preview')\nproject(':ide:xml-converter').projectDir = new File(rootDir, 'anko/idea-plugin/xml-converter')\nproject(':ide:idea-runner').projectDir = new File(rootDir, 'anko/idea-plugin/idea-runner')\n"
  },
  {
    "path": "update_dependencies.xml",
    "content": "<project name=\"Update Dependencies\" default=\"update\">\n\n    <property name=\"constraint.layout.version\" value=\"1.1.2\" />\n\n    <target name=\"update\">\n        <mkdir dir=\"dependencies/download\"/>\n\n        <get src=\"https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/4.2/asm-debug-all-4.2.jar\"\n             dest=\"dependencies/asm-4.2.jar\" usetimestamp=\"true\"/>\n\n        <get src=\"https://search.maven.org/remotecontent?filepath=junit/junit/4.11/junit-4.11.jar\"\n             dest=\"dependencies/junit-4.11.jar\" usetimestamp=\"true\"/>\n\n        <get src=\"https://search.maven.org/remotecontent?filepath=org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar\"\n             dest=\"dependencies/hamcrest-all-1.3.jar\" usetimestamp=\"true\"/>\n\n        <get src=\"https://search.maven.org/remotecontent?filepath=org/json/json/20080701/json-20080701.jar\"\n             dest=\"dependencies/json-20080701.jar\" usetimestamp=\"true\"/>\n\n\t    <get src=\"https://repo1.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar\"\n             dest=\"dependencies/ant-contrib.jar\" usetimestamp=\"true\"/>\n\n        <get src=\"https://dl.google.com/dl/android/maven2/com/android/support/constraint/constraint-layout/${constraint.layout.version}/constraint-layout-${constraint.layout.version}.aar\"\n             dest=\"dependencies/download/constraint-layout-${constraint.layout.version}.aar\" usetimestamp=\"true\"/>\n\n        <copy file=\"dependencies/download/constraint-layout-${constraint.layout.version}.aar\"\n              tofile=\"dependencies/constraint-layout.aar\" />\n\n        <ant antfile=\"update_dependencies_idea.xml\" target=\"update\"/>\n\n        <!-- Uncomment this to build against custom version of Kotlin plugin instead of bundled into AS -->\n        <!--\n        <get src=\"https://download.plugins.jetbrains.com/6954/38245/kotlin-plugin-1.1.4-release-Studio3.0-3.zip\"\n             dest=\"dependencies/kotlin-plugin.zip\" usetimestamp=\"true\"/>\n\n        <delete dir=\"dependencies/kotlin-plugin\" failonerror=\"false\"/>\n        <unzip src=\"dependencies/kotlin-plugin.zip\"\n               dest=\"dependencies/\"/>\n\n        <set_unix_perms />\n        <copydir src=\"dependencies/Kotlin\" dest=\"ideaSDK/plugins/Kotlin\" forceoverwrite=\"true\"/>\n        -->\n    </target>\n\n    <macrodef name=\"set_unix_perms\">\n        <sequential>\n            <taskdef resource=\"net/sf/antcontrib/antcontrib.properties\" classpath=\"dependencies/ant-contrib.jar\"/>\n\n            <if>\n                <equals arg1=\"${os.tag}\" arg2=\"win.zip\"/>\n                <then />\n                <else>\n                    <chmod dir=\"dependencies/Kotlin/kotlinc/bin\" perm=\"+x\" includes=\"**/*\"/>\n                </else>\n            </if>\n\n        </sequential>\n    </macrodef>\n\n</project>\n"
  },
  {
    "path": "update_dependencies_idea.xml",
    "content": "<project name=\"Update Dependencies\" default=\"update\" xmlns:if=\"ant:if\" xmlns:unless=\"ant:unless\">\n\n    <property name=\"automerge_dummy\" value=\"This property is used to trick git merge. Do not delete empty lines around.\"/>\n    <property name=\"ideaVersion\" value=\"2017.1\"/>\n    <property name=\"idea.kotlin.branch\" value=\"rc\"/>\n\n    <property name=\"android.studio.intellij-core.build.number\" value=\"181.2784.17\"/>\n    <property name=\"android.version\" value=\"3.2.0.26\"/>\n    <property name=\"android.build.version\" value=\"181.5014246\"/>\n\n    <property name=\"markdown.locator\" value=\"buildType:IntelliJMarkdownParser_Build,status:SUCCESS,tag:forKotlin\"/>\n\n    <property name=\"bootstrap.build.no.tests\" value=\"false\"/>\n\n    <!--<property name=\"use.ultimate.by.default\" value=\"true\"/>-->\n\n    <property name=\"sdk.version.prefix\" value=\"IU\" if:set=\"use.ultimate.by.default\"/>\n    <property name=\"sdk.version.prefix\" value=\"IC\" unless:set=\"use.ultimate.by.default\"/>\n\n    <!-- Uncomment to enable force version increment in branch. Set override.version.disabled to temporary disable feature without commits -->\n    <!--\n    <property name=\"override.version.url\" value=\"https://teamcity.jetbrains.com/guestAuth/app/rest/builds/?locator=buildType:bt345,count:1${kotlin.bootstrap.branch.locator}\"/>\n    -->\n    <!--<property name=\"override.version.disabled\" value=\"true\"/>-->\n\n    <condition property=\"isWindows\">\n        <os family=\"windows\"/>\n    </condition>\n\n    <condition property=\"isMac\">\n        <os family=\"mac\"/>\n    </condition>\n\n    <condition property=\"isLinux\">\n        <and>\n            <os family=\"unix\"/>\n            <not>\n                <os family=\"mac\"/>\n            </not>\n        </and>\n    </condition>\n\n    <condition property=\"kotlinc.executable.path\" value=\"kotlinc.bat\" else=\"kotlinc\">\n        <os family=\"windows\"/>\n    </condition>\n\n    <property name=\"idea.dir\" value=\"ideaSDK\"/>\n    <property name=\"idea.sdk.fetch.needed\" value=\"true\"/>\n\n    <property name=\"dependencies.info.file\" value=\"dependencies/dependencies.properties\"/>\n\n    <property name=\"gradle.libs.repo\" value=\"https://repo.gradle.org/gradle/libs-releases-local\"/>\n\n    <property name=\"native-platform-lib-version\" value=\"0.10\"/>\n\n    <property file=\"${dependencies.info.file}\" prefix=\"dependencies.info.prev\"/>\n\n    <target name=\"update\" depends=\"fetch-third-party,fetch-annotations,get_android_studio\" description=\"Update dependencies\"/>\n\n    <!--<target name=\"update_teamcity\" depends=\"fetch-third-party,fetch-annotations\">-->\n    <!--<execute_update_with_idea_teamcity_artifacts-->\n    <!--teamcity.server.url=\"https://teamcity.jetbrains.com\"-->\n    <!--build.locator.request=\"buildType:bt410,status:SUCCESS,branch:idea/${ideaVersion}-${idea.kotlin.branch}\"/>-->\n    <!--</target>-->\n\n    <target name=\"jb_update\" depends=\"fetch-third-party,fetch-annotations\" description=\"Update dependencies for JB local network\">\n        <execute_update_with_idea_maven_artifacts\n                base.url=\"https://jetbrains-com-mirror.labs.intellij.net/intellij-repository/releases/com/jetbrains/intellij/idea\"\n                idea.maven.version=\"${ideaVersion}\"/>\n    </target>\n\n    <target name=\"update_continuous_br141\" depends=\"fetch-third-party,fetch-annotations\">\n        <execute_update_with_idea_maven_artifacts\n                base.url=\"https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea\"\n                idea.maven.version=\"141-SNAPSHOT\"/>\n    </target>\n\n    <target name=\"update_continuous_br143\" depends=\"fetch-third-party,fetch-annotations\">\n        <execute_update_with_idea_maven_artifacts\n                base.url=\"https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea\"\n                idea.maven.version=\"143-SNAPSHOT\"/>\n    </target>\n\n    <target name=\"update_continuous_br144\" depends=\"fetch-third-party,fetch-annotations\">\n        <execute_update_with_idea_maven_artifacts\n                base.url=\"https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/idea\"\n                idea.maven.version=\"144-SNAPSHOT\"/>\n    </target>\n\n    <macrodef name=\"get-maven-library\">\n        <attribute name=\"prefix\"/>\n        <attribute name=\"lib\"/>\n        <attribute name=\"version\"/>\n        <attribute name=\"bin\" default=\"true\"/>\n        <attribute name=\"src\" default=\"true\"/>\n        <attribute name=\"server\" default=\"http://repository.jetbrains.com/remote-repos\"/>\n        <attribute name=\"jar.name.base\" default=\"@{lib}-@{version}\"/>\n        <attribute name=\"target.jar.name.base\" default=\"@{jar.name.base}\"/>\n        <attribute name=\"path\" default=\"@{prefix}/@{lib}/@{version}/@{jar.name.base}\"/>\n        <attribute name=\"download\" default=\"dependencies/download\"/>\n        <attribute name=\"dependencies\" default=\"dependencies\"/>\n        <sequential>\n            <sequential if:true=\"@{bin}\">\n                <get src=\"@{server}/@{path}.jar\" dest=\"@{download}/@{jar.name.base}.jar\" usetimestamp=\"true\"/>\n                <copy file=\"@{download}/@{jar.name.base}.jar\" tofile=\"@{dependencies}/@{target.jar.name.base}.jar\" overwrite=\"true\"/>\n            </sequential>\n\n            <sequential if:true=\"@{src}\">\n                <get src=\"@{server}/@{path}-sources.jar\" dest=\"@{download}/@{jar.name.base}-sources.jar\" usetimestamp=\"true\"/>\n                <copy file=\"@{download}/@{jar.name.base}-sources.jar\" tofile=\"@{dependencies}/@{target.jar.name.base}-sources.jar\"\n                      overwrite=\"true\"/>\n            </sequential>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"get-ant-library\">\n        <attribute name=\"version\"/>\n        <attribute name=\"folderName\"/>\n        <sequential>\n            <!-- todo: temporary hack for unavailable archive.apache.org -->\n            <get src=\"https://bintray.com/artifact/download/kotlin/AntForKotlin/apache-ant-@{version}-bin.tar.gz\"\n                 dest=\"dependencies/download/apache-ant-@{version}-bin.tar.gz\" usetimestamp=\"true\"/>\n\n            <get src=\"https://bintray.com/artifact/download/kotlin/AntForKotlin/apache-ant-@{version}-src.zip\"\n                 dest=\"dependencies/apache-ant-@{version}-src.zip\" usetimestamp=\"true\"/>\n\n            <delete dir=\"dependencies/@{folderName}\" failonerror=\"false\"/>\n            <untar src=\"dependencies/download/apache-ant-@{version}-bin.tar.gz\" dest=\"dependencies\" compression=\"gzip\"/>\n            <move file=\"dependencies/apache-ant-@{version}\" tofile=\"dependencies/@{folderName}\"/>\n        </sequential>\n    </macrodef>\n\n    <target name=\"fetch-third-party\">\n        <property name=\"dependencies\" value=\"dependencies\"/>\n        <property name=\"download\" value=\"${dependencies}/download\"/>\n\n        <mkdir dir=\"dependencies\"/>\n        <mkdir dir=\"dependencies/download\"/>\n\n        <!-- ProGuard -->\n        <get-maven-library prefix=\"net/sf/proguard\" lib=\"proguard-base\" version=\"5.1\" target.jar.name.base=\"proguard\" src=\"false\"/>\n        <get-maven-library prefix=\"net/sf/proguard\" lib=\"proguard-anttask\" version=\"5.1\" target.jar.name.base=\"proguard-anttask\" src=\"false\"/>\n\n        <!-- JarJar -->\n        <get src=\"https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jarjar/jarjar-1.4.jar\" dest=\"dependencies/download/jarjar-1.4.jar\" usetimestamp=\"true\"/>\n        <copy file=\"dependencies/download/jarjar-1.4.jar\" tofile=\"dependencies/jarjar.jar\" overwrite=\"true\"/>\n\n        <!-- ant 1.8.2 -->\n        <get-ant-library version=\"1.8.2\" folderName=\"ant-1.8\"/>\n\n        <!-- dx.jar -->\n        <property name=\"android-build-tools.zip\" value=\"build-tools_r21.1.1-linux.zip\"/>\n        <get\n                src=\"https://dl-ssl.google.com/android/repository/${android-build-tools.zip}\"\n                dest=\"dependencies/download/${android-build-tools.zip}\"\n                usetimestamp=\"true\"/>\n        <unzip src=\"dependencies/download/${android-build-tools.zip}\" dest=\"dependencies\"/>\n\n        <property name=\"android-sources.tgz\" value=\"dx.tar.gz\"/>\n        <get\n                src=\"https://android.googlesource.com/platform/dalvik/+archive/android-5.0.0_r2/${android-sources.tgz}\"\n                dest=\"dependencies/download/${android-sources.tgz}\"\n                usetimestamp=\"true\"/>\n        <delete dir=\"dependencies/dx-src\" failonerror=\"false\"/>\n        <untar src=\"dependencies/download/${android-sources.tgz}\" dest=\"dependencies/dx-src\" compression=\"gzip\"/>\n\n        <!-- jflex 1.4 -->\n        <mkdir dir=\"${dependencies}/jflex\"/>\n        <get-maven-library prefix=\"de/jflex\" lib=\"jflex\" version=\"1.4.3\" src=\"false\"\n                           target.jar.name.base=\"JFlex\"\n                           dependencies=\"${dependencies}/jflex\"/>\n        <get src=\"https://raw.github.com/JetBrains/intellij-community/master/tools/lexer/idea-flex.skeleton\"\n             dest=\"${dependencies}/jflex/idea-flex.skeleton\" usetimestamp=\"true\"/>\n\n        <!-- jline -->\n        <get-maven-library prefix=\"jline\" lib=\"jline\" version=\"2.12.1\" target.jar.name.base=\"jline\"/>\n\n        <!-- jansi -->\n        <get-maven-library prefix=\"org/fusesource/jansi\" lib=\"jansi\" version=\"1.11\" target.jar.name.base=\"jansi\"/>\n\n        <!-- Guava 21 sources -->\n        <get-maven-library prefix=\"com/google/guava\" lib=\"guava\" version=\"21.0\" bin=\"false\"/>\n\n        <!-- ASM -->\n        <get src=\"https://raw.github.com/JetBrains/intellij-community/162/lib/src/asm5-src.zip\"\n             dest=\"${dependencies}/asm5-src.zip\"/>\n        <!-- <get-asm-sources-and-rename-packages asm.version=\"5.0.1\"/> -->\n\n        <!-- Junit Sources -->\n        <get-maven-library prefix=\"junit\" lib=\"junit\" version=\"4.12\" bin=\"false\"/>\n        <get-maven-library prefix=\"org/hamcrest\" lib=\"hamcrest-core\" version=\"1.3\" bin=\"false\"/>\n\n        <!-- Protocol Buffers -->\n        <get-maven-library prefix=\"com/google/protobuf\" lib=\"protobuf-java\" version=\"2.5.0\" bin=\"false\"/>\n\n        <!-- Android SDK platform -->\n        <ant antfile=\"download_android_sdk.xml\" target=\"download_android_sdk\"/>\n\n        <!-- CLI Parser -->\n        <get-maven-library prefix=\"com/github/spullara/cli-parser\" lib=\"cli-parser\" version=\"1.1.1\"/>\n\n        <!-- Rhino -->\n        <get-maven-library prefix=\"org/mozilla\" lib=\"rhino\" version=\"1.7.6\"/>\n\n        <!-- Closure Compiler -->\n        <!-- A download url taken from https://code.google.com/p/closure-compiler/wiki/BinaryDownloads -->\n        <get src=\"https://dl.google.com/closure-compiler/compiler-20131014.zip\"\n             dest=\"dependencies/download/closure-compiler.zip\" usetimestamp=\"true\"/>\n\n        <delete file=\"dependencies/closure-compiler.jar\" failonerror=\"false\"/>\n        <unzip src=\"dependencies/download/closure-compiler.zip\" dest=\"dependencies\">\n            <patternset>\n                <include name=\"compiler.jar\"/>\n            </patternset>\n            <mapper type=\"merge\" to=\"closure-compiler.jar\"/>\n        </unzip>\n\n        <delete file=\"dependencies/android.jar\" failonerror=\"false\"/>\n        <get src=\"https://dl-ssl.google.com/android/repository/android-19_r02.zip\"\n             dest=\"dependencies/download/android-sdk.zip\" usetimestamp=\"true\"/>\n        <unzip src=\"dependencies/download/android-sdk.zip\" dest=\"dependencies\">\n            <patternset>\n                <include name=\"**/android.jar\"/>\n            </patternset>\n            <mapper type=\"flatten\"/>\n        </unzip>\n\n        <download-or-build-markdown-parser/>\n    </target>\n\n    <macrodef name=\"download-or-build-markdown-parser\">\n        <sequential>\n            <download_teamcity_artifact\n                    teamcity.server.url=\"https://teamcity.jetbrains.com\"\n                    build.locator.request=\"${markdown.locator}\"\n                    artifact.path=\"markdown_jar/markdown.jar\"\n                    dest=\"dependencies/markdown.jar\"\n                    usetimestamp=\"true\"\n                    build.number.pattern=\"\\d+\\s-\\sKotlin\\s[\\w-+\\.]+\"\n            />\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"get-asm-sources-and-rename-packages\">\n        <attribute name=\"asm.version\"/>\n        <sequential>\n            <!-- Download ASM sources -->\n            <get-maven-library prefix=\"org/ow2/asm\" lib=\"asm-debug-all\" version=\"@{asm.version}\" bin=\"false\"/>\n\n            <!-- Rename packages in the sources -->\n            <delete dir=\"dependencies/download/asm-src\" failonerror=\"false\"/>\n            <unzip src=\"dependencies/download/asm-debug-all-@{asm.version}-sources.jar\" dest=\"dependencies/download/asm-src\">\n                <patternset>\n                    <include name=\"**/*\"/>\n                </patternset>\n            </unzip>\n\n            <replaceregexp match=\"org\\.objectweb\\.asm\" replace=\"org.jetbrains.org.objectweb.asm\" flags=\"g\">\n                <fileset dir=\"dependencies/download/asm-src/\">\n                    <include name=\"**/*.java\"/>\n                </fileset>\n            </replaceregexp>\n\n            <move file=\"dependencies/download/asm-src/org/objectweb/asm\"\n                  tofile=\"dependencies/download/asm-src/org/jetbrains/org/objectweb/asm\"/>\n\n            <zip destfile=\"dependencies/jetbrains-asm-all-@{asm.version}-src.zip\" basedir=\"dependencies/download/asm-src\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"execute_update_with_idea_maven_artifacts\">\n        <attribute name=\"base.url\"/>\n        <attribute name=\"idea.maven.version\"/>\n\n        <sequential>\n            <get src=\"@{base.url}/BUILD/@{idea.maven.version}/BUILD-@{idea.maven.version}.txt\" dest=\"dependencies/version.txt\"/>\n            <loadfile property=\"execute.build.id\" srcFile=\"dependencies/version.txt\"/>\n\n            <condition property=\"idea.sdk.exists\">\n                <available file=\"${idea.dir}/build.txt\"/>\n            </condition>\n\n            <loadfile property=\"idea.sdk.version\" srcFile=\"${idea.dir}/build.txt\" if:set=\"idea.sdk.exists\"/>\n\n            <condition property=\"edition.matched\">\n                <equals arg1=\"${idea.sdk.version}\" arg2=\"${sdk.version.prefix}-${execute.build.id}\"/>\n            </condition>\n\n            <local name=\"idea.already.downloaded\"/>\n            <condition property=\"idea.already.downloaded\">\n                <and>\n                    <equals arg1=\"${dependencies.info.prev.idea.build.id}\" arg2=\"${execute.build.id}\"/>\n                    <istrue value=\"${edition.matched}\"/>\n                </and>\n            </condition>\n\n            <echo message=\"IDEA build id: ${execute.build.id}. Already downloaded.\" if:set=\"idea.already.downloaded\"/>\n\n            <sequential unless:set=\"idea.already.downloaded\">\n                <echo message=\"IDEA build id: ${execute.build.id}, previous build id: ${dependencies.info.prev.idea.build.id}\"/>\n\n                <delete dir=\"${idea.dir}\" unless:set=\"edition.matched\"/>\n                <download_and_update_idea idea.maven.version=\"@{idea.maven.version}\" base.repository.url=\"@{base.url}\"/>\n\n                <propertyfile file=\"${dependencies.info.file}\">\n                    <entry key=\"idea.build.id\" value=\"${execute.build.id}\"/>\n                </propertyfile>\n            </sequential>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"execute_update_with_idea_teamcity_artifacts\">\n        <attribute name=\"teamcity.server.url\"/>\n        <attribute name=\"build.locator.request\"/>\n\n        <sequential>\n            <loadresource property=\"execute.build.id\">\n                <url url=\"@{teamcity.server.url}/guestAuth/app/rest/builds/?locator=@{build.locator.request},count:1\"/>\n                <filterchain>\n                    <tokenfilter>\n                        <filetokenizer/>\n                        <replaceregex pattern=\"^(.*)\\sid=&quot;(\\d+)&quot;(.*)$\" replace=\"\\2\" flags=\"s\"/>\n                    </tokenfilter>\n                </filterchain>\n            </loadresource>\n\n            <local name=\"idea.already.downloaded\"/>\n            <condition property=\"idea.already.downloaded\">\n                <equals arg1=\"${dependencies.info.prev.idea.build.id}\" arg2=\"${execute.build.id}\"/>\n            </condition>\n\n            <echo message=\"IDEA build id: ${execute.build.id}. Already downloaded.\" if:set=\"idea.already.downloaded\"/>\n\n            <sequential unless:set=\"idea.already.downloaded\">\n                <echo message=\"IDEA build id: ${execute.build.id}, previous build id: ${dependencies.info.prev.idea.build.id}\"/>\n                <download_and_update_idea_teamcity base.url=\"@{teamcity.server.url}/guestAuth/app/rest/builds/id:${execute.build.id}\"/>\n\n                <propertyfile file=\"${dependencies.info.file}\">\n                    <entry key=\"idea.build.id\" value=\"${execute.build.id}\"/>\n                </propertyfile>\n            </sequential>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_teamcity_artifact\">\n        <attribute name=\"teamcity.server.url\"/>\n        <attribute name=\"build.locator.request\"/>\n        <attribute name=\"artifact.path\"/>\n        <attribute name=\"dest\"/>\n        <attribute name=\"usetimestamp\"/>\n        <attribute name=\"build.number.pattern\" default=\"[\\w-+\\.]+\"/>\n\n        <sequential>\n            <local name=\"artifact.build.id\"/>\n\n            <local name=\"build.request.url\"/>\n            <property name=\"build.request.url\"\n                      value=\"@{teamcity.server.url}/guestAuth/app/rest/builds/?locator=@{build.locator.request},count:1\"/>\n\n            <echo message=\"Requested URL ${build.request.url}\"/>\n\n            <loadresource property=\"artifact.build.id\">\n                <url url=\"${build.request.url}\"/>\n                <filterchain>\n                    <tokenfilter>\n                        <filetokenizer/>\n                        <replaceregex pattern=\"^(.*)\\sid=&quot;(\\d+)&quot;(.*)$\" replace=\"\\2\" flags=\"s\"/>\n                    </tokenfilter>\n                </filterchain>\n            </loadresource>\n\n            <local name=\"processed.artifact.path\"/>\n\n            <local name=\"artifact.build.number\"/>\n            <loadresource property=\"artifact.build.number\">\n                <url url=\"${build.request.url}\"/>\n                <filterchain>\n                    <tokenfilter>\n                        <filetokenizer/>\n                        <replaceregex pattern=\"^(.*)\\snumber=&quot;(@{build.number.pattern})&quot;(.*)$\" replace=\"\\2\" flags=\"s\"/>\n                    </tokenfilter>\n                </filterchain>\n            </loadresource>\n\n            <loadresource property=\"processed.artifact.path\">\n                <string value=\"@{artifact.path}\"/>\n                <filterchain>\n                    <replacestring from=\"{build.number}\" to=\"${artifact.build.number}\"/>\n                </filterchain>\n            </loadresource>\n\n            <echo message=\"Build Number: ${artifact.build.number} Build Id: ${artifact.build.id}\"/>\n\n            <get\n                    src=\"@{teamcity.server.url}/guestAuth/app/rest/builds/id:${artifact.build.id}/artifacts/content/${processed.artifact.path}\"\n                    dest=\"@{dest}\" usetimestamp=\"@{usetimestamp}\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"configure_idea_sdk_dir\">\n        <attribute name=\"idea.dir\"/>\n        <attribute name=\"idea.sdk.fetch.needed\"/>\n\n        <attribute name=\"download.dir.intellij-core\"/>\n        <attribute name=\"download.dir.jps-standalone\"/>\n\n        <attribute name=\"download.file.archive.idea\"/>\n\n        <attribute name=\"download.file.archive.sources\"/>\n        <attribute name=\"download.file.archive.jps-build-test\"/>\n\n        <attribute name=\"core\" default=\"@{idea.dir}/core\"/>\n        <attribute name=\"core-analysis\" default=\"@{idea.dir}/core-analysis\"/>\n        <attribute name=\"jps\" default=\"@{idea.dir}/jps\"/>\n        <attribute name=\"jps-test\" default=\"@{jps}/test\"/>\n        <attribute name=\"sources\" default=\"@{idea.dir}/sources\"/>\n\n        <sequential>\n            <sequential if:true=\"@{idea.sdk.fetch.needed}\">\n                <delete dir=\"@{idea.dir}\" failonerror=\"false\">\n                    <exclude name=\"config-idea/**\"/>\n                    <exclude name=\"system-idea/**\"/>\n                </delete>\n\n                <unzip src=\"@{download.file.archive.idea}\" dest=\"@{idea.dir}\" />\n\n                <sequential if:set=\"isMac\">\n                    <!-- Java can't manipulate permissions -->\n                    <exec executable=\"chmod\">\n                        <arg value=\"a+x\"/>\n                        <arg path=\"@{idea.dir}/bin/mac/fsnotifier\"/>\n                        <arg path=\"@{idea.dir}/bin/inspect.sh\"/>\n                        <arg path=\"@{idea.dir}/bin/printenv.py\"/>\n                        <arg path=\"@{idea.dir}/bin/restarter\"/>\n                    </exec>\n                </sequential>\n\n                <sequential if:set=\"isLinux\">\n                    <!-- Java can't manipulate permissions -->\n                    <exec executable=\"chmod\">\n                        <arg value=\"a+x\"/>\n                        <arg path=\"@{idea.dir}/bin/linux/fsnotifier\"/>\n                        <arg path=\"@{idea.dir}/bin/linux/fsnotifier64\"/>\n                        <arg path=\"@{idea.dir}/bin/inspect.sh\"/>\n                        <arg path=\"@{idea.dir}/bin/idea.sh\"/>\n                    </exec>\n                </sequential>\n\n                <!--\n                     This one needs to be deleted because otherwise it gets onto the classpath\n                     together with junit-4.10.jar and the classloading goes crazy that breaks\n                     many nice features of IDEA including diffs in the test console.\n                -->\n                <delete file=\"@{idea.dir}/lib/junit.jar\"/>\n\n                <!--\n                Plugin depends on newer runtime and reflect jar from our bootstrap compiler.\n                Avoid depending on old runtime during build phase but attach original runtime when idea starts.\n                -->\n                <delete dir=\"@{idea.dir}/plugins/Kotlin\"/>\n\n                <echo message=\"@{download.dir.intellij-core}/intellij-core-analysis.jar\"/>\n\n                <mkdir dir=\"@{core-analysis}\"/>\n                <copy file=\"@{download.dir.intellij-core}/intellij-core-analysis.jar\"\n                      tofile=\"@{core-analysis}/intellij-core-analysis.jar\"\n                      verbose=\"true\"/>\n\n                <mkdir dir=\"@{core}\"/>\n                <copy todir=\"@{core}\" flatten=\"true\" verbose=\"true\">\n                    <resources>\n                        <file file=\"@{download.dir.intellij-core}/intellij-core.jar\"/>\n                        <file file=\"@{download.dir.intellij-core}/annotations.jar\"/>\n                        <file file=\"@{download.dir.intellij-core}/guava-17.0.jar\"/>\n                        <file file=\"@{download.dir.intellij-core}/picocontainer.jar\"/>\n                        <file file=\"@{download.dir.intellij-core}/trove4j.jar\"/>\n\n                        <file file=\"@{idea.dir}/lib/jdom.jar\"/>\n                        <file file=\"@{idea.dir}/lib/jna.jar\"/>\n                        <file file=\"@{idea.dir}/lib/log4j.jar\"/>\n                        <file file=\"@{idea.dir}/lib/xstream-1.4.8.jar\"/>\n                        <file file=\"@{idea.dir}/lib/xpp3-1.1.4-min.jar\"/>\n                        <file file=\"@{idea.dir}/lib/jsr166e.jar\"/>\n                        <file file=\"@{idea.dir}/lib/asm-all.jar\"/>\n                        <file file=\"@{idea.dir}/lib/snappy-in-java-0.3.1.jar\"/>\n\n                        <!-- TODO temporary workaround since util-rt is not packaged into intellij-core.jar -->\n                        <file file=\"@{idea.dir}/lib/util.jar\"/>\n                    </resources>\n                </copy>\n\n                <mkdir dir=\"@{jps}\"/>\n                <copy todir=\"@{jps}\" flatten=\"true\" verbose=\"true\">\n                    <resources>\n                        <file file=\"@{download.dir.jps-standalone}/groovy-jps-plugin.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/groovy_rt.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/jdom.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/jgoodies-forms.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/jna.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/jps-builders.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/jps-model.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/log4j.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/nanoxml-2.2.3.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/protobuf-2.5.0.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/trove4j.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/ui-designer-jps-plugin.jar\"/>\n                        <file file=\"@{download.dir.jps-standalone}/util.jar\"/>\n                    </resources>\n                </copy>\n\n                <mkdir dir=\"@{jps-test}\"/>\n                <copy file=\"@{download.file.archive.jps-build-test}\" tofile=\"@{jps-test}/jps-build-test.jar\"/>\n\n                <mkdir dir=\"@{sources}\"/>\n                <copy file=\"@{download.file.archive.sources}\" tofile=\"@{sources}/sources.jar\" overwrite=\"true\"/>\n            </sequential>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_and_update_idea\">\n        <attribute name=\"idea.maven.version\"/>\n        <attribute name=\"base.repository.url\"/>\n\n        <attribute name=\"download.dir\" default=\"dependencies/idea\"/>\n\n        <sequential>\n            <delete dir=\"@{download.dir}\"/>\n            <mkdir dir=\"@{download.dir}\"/>\n\n            <!-- For running compiler tests with Java 1.6 -->\n            <mkdir dir=\"@{download.dir}/idea-for-compiler-test\"/>\n            <local name=\"idea.for.compiler.testing.base.url\"/>\n            <property name=\"idea.for.compiler.testing.base.url\"\n                      value=\"https://teamcity.jetbrains.com/guestAuth/repository/download/IntelliJIdeaCe_OpenapiJar/idea-15.0.5\"/>\n            <get src=\"${idea.for.compiler.testing.base.url}/idea_rt.jar\" dest=\"@{download.dir}/idea-for-compiler-test/idea_rt.jar\" usetimestamp=\"true\"/>\n            <get src=\"${idea.for.compiler.testing.base.url}/openapi.jar\" dest=\"@{download.dir}/idea-for-compiler-test/openapi.jar\" usetimestamp=\"true\"/>\n\n            <property name=\"idea.id\" value=\"idea${sdk.version.prefix}\"/>\n\n            <get src=\"@{base.repository.url}/ideaIC/@{idea.maven.version}/ideaIC-@{idea.maven.version}-sources.jar\"\n                 dest=\"@{download.dir}/ideaIC-@{idea.maven.version}-sources.jar\" usetimestamp=\"true\"/>\n\n            <get src=\"@{base.repository.url}/${idea.id}/@{idea.maven.version}/${idea.id}-@{idea.maven.version}.zip\"\n                 dest=\"@{download.dir}/${idea.id}-@{idea.maven.version}.zip\" usetimestamp=\"true\"/>\n\n            <download_and_unzip\n                    dir=\"@{download.dir}/intellij-core-@{idea.maven.version}\"\n                    url=\"@{base.repository.url}/intellij-core/@{idea.maven.version}/intellij-core-@{idea.maven.version}.zip\"\n                    usetimestamp=\"true\"/>\n\n            <get src=\"@{base.repository.url}/jps-build-test/@{idea.maven.version}/jps-build-test-@{idea.maven.version}.jar\"\n                 dest=\"@{download.dir}/jps-build-test-@{idea.maven.version}.jar\" usetimestamp=\"true\"/>\n\n            <download_and_unzip\n                    dir=\"@{download.dir}/jps-standalone-@{idea.maven.version}\"\n                    url=\"@{base.repository.url}/jps-standalone/@{idea.maven.version}/jps-standalone-@{idea.maven.version}.zip\"\n                    usetimestamp=\"true\"/>\n\n            <configure_idea_sdk_dir\n                    idea.dir=\"${idea.dir}\"\n                    idea.sdk.fetch.needed=\"${idea.sdk.fetch.needed}\"\n\n                    download.dir.intellij-core=\"@{download.dir}/intellij-core-@{idea.maven.version}\"\n                    download.dir.jps-standalone=\"@{download.dir}/jps-standalone-@{idea.maven.version}\"\n                    download.file.archive.idea=\"@{download.dir}/${idea.id}-@{idea.maven.version}.zip\"\n                    download.file.archive.sources=\"@{download.dir}/ideaIC-@{idea.maven.version}-sources.jar\"\n                    download.file.archive.jps-build-test=\"@{download.dir}/jps-build-test-@{idea.maven.version}.jar\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_and_update_idea_teamcity\">\n        <attribute name=\"base.url\"/>\n\n        <sequential>\n            <loadresource property=\"idea.build.number\">\n                <url url=\"@{base.url}/artifacts/children\"/>\n                <filterchain>\n                    <tokenfilter>\n                        <filetokenizer/>\n\n                        <replaceregex pattern=\"^(.*)ideaIC-([\\w\\.]+)\\.win\\.zip(.*)$\" replace=\"\\2\" flags=\"s\"/>\n                    </tokenfilter>\n                </filterchain>\n            </loadresource>\n\n            <property name=\"idea.archive.name\" value=\"ideaIC-${idea.build.number}.zip\"/>\n\n            <echo message=\"IDEA build number: ${idea.build.number}\"/>\n            <echo message=\"IDEA archive file: ${idea.archive.name}\"/>\n\n            <property name=\"content.base.url\" value=\"@{base.url}/artifacts/content\"/>\n            <property name=\"idea.download.dir\" value=\"dependencies/idea\" />\n            <property name=\"jps.extracted.dir\" value=\"${idea.download.dir}/standalone-jps\"/>\n            <property name=\"core.dir\" value=\"${idea.download.dir}/core\"/>\n\n            <sequential if:true=\"${idea.sdk.fetch.needed}\">\n                <delete dir=\"${idea.download.dir}\"/>\n                <mkdir dir=\"${idea.download.dir}\"/>\n\n                <get src=\"${content.base.url}/jps/standalone-jps-IC-${idea.build.number}.zip\"\n                     dest=\"${idea.download.dir}/standalone-jps.zip\"/>\n                <unzip src=\"${idea.download.dir}/standalone-jps.zip\"\n                       dest=\"${jps.extracted.dir}\"/>\n\n                <delete file=\"${idea.download.dir}/${idea.archive.name}\" failonerror=\"false\"/>\n                <get src=\"${content.base.url}/${idea.archive.name}\"\n                     dest=\"${idea.download.dir}/${idea.archive.name}\"/>\n\n                <get src=\"${content.base.url}/jps/jps-build-test-IC-${idea.build.number}.jar\"\n                     dest=\"${idea.download.dir}/jps-build-test.jar\"\n                     usetimestamp=\"true\"/>\n\n                <mkdir dir=\"${core.dir}\"/>\n                <get src=\"${content.base.url}/core/intellij-core.jar\" dest=\"${core.dir}/intellij-core.jar\"/>\n                <get src=\"${content.base.url}/core/annotations.jar\" dest=\"${core.dir}/annotations.jar\"/>\n                <get src=\"${content.base.url}/core/guava-17.0.jar\" dest=\"${core.dir}/guava-17.0.jar\"/>\n                <get src=\"${content.base.url}/core/picocontainer.jar\" dest=\"${core.dir}/picocontainer.jar\"/>\n                <get src=\"${content.base.url}/core/trove4j.jar\" dest=\"${core.dir}/trove4j.jar\"/>\n\n                <get src=\"${content.base.url}/core/intellij-core-analysis.jar\" dest=\"${core.dir}/intellij-core-analysis.jar\"/>\n\n                <delete file=\"${idea.download.dir}/idea-sdk-sources.jar\" failonerror=\"false\"/>\n                <get src=\"${content.base.url}/sources.zip\" dest=\"${idea.download.dir}/idea-sdk-sources.jar\"/>\n            </sequential>\n\n            <configure_idea_sdk_dir\n                    idea.dir=\"${idea.dir}\"\n                    idea.sdk.fetch.needed=\"${idea.sdk.fetch.needed}\"\n\n                    download.dir.intellij-core=\"${core.dir}\"\n                    download.dir.jps-standalone=\"${jps.extracted.dir}\"\n                    download.file.archive.idea=\"${idea.download.dir}/${idea.archive.name}\"\n                    download.file.archive.sources=\"${idea.download.dir}/idea-sdk-sources.jar\"\n                    download.file.archive.jps-build-test=\"${idea.download.dir}/jps-build-test.jar\"/>\n        </sequential>\n    </macrodef>\n\n    <macrodef name=\"download_and_unzip\">\n        <attribute name=\"url\"/>\n        <attribute name=\"dir\"/>\n        <attribute name=\"usetimestamp\"/>\n\n        <sequential>\n            <get src=\"@{url}\" dest=\"@{dir}.zip\" usetimestamp=\"@{usetimestamp}\"/>\n\n            <local name=\"need.unpack\"/>\n            <condition property=\"need.unpack\">\n                <not>\n                    <available file=\"@{dir}\" type=\"dir\"/>\n                </not>\n            </condition>\n\n            <unzip src=\"@{dir}.zip\" dest=\"@{dir}\" if:set=\"need.unpack\"/>\n            <echo message=\"Folder exist - so not unpacked @{dir}\" unless:set=\"need.unpack\"/>\n        </sequential>\n    </macrodef>\n\n    <!--\n    Currently we use empty annotations.\n    Future options are:\n      - Drop the target when will be sure that custom annotations are unneeded\n      - Fill the target with downloading correct annotations\n    -->\n    <target name=\"fetch-annotations\"/>\n\n    <macrodef name=\"copy_intellij_jps_files\">\n        <attribute name=\"jps\" />\n        <attribute name=\"download.dir.jps-standalone\" />\n\n        <sequential>\n            <mkdir dir=\"@{jps}\"/>\n            <copy todir=\"@{jps}\" flatten=\"true\" verbose=\"true\">\n                <resources>\n                    <file file=\"@{download.dir.jps-standalone}/groovy-jps-plugin.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/groovy_rt.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/jdom.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/jgoodies-forms.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/jna.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/jps-builders.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/jps-builders-6.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/jps-model.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/log4j.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/nanoxml-2.2.3.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/trove4j.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/ui-designer-jps-plugin.jar\"/>\n                    <file file=\"@{download.dir.jps-standalone}/util.jar\"/>\n                </resources>\n            </copy>\n        </sequential>\n    </macrodef>\n\n    <target name=\"get_android_studio\">\n        <condition property=\"android.os.tag\" value=\"windows\">\n            <os family=\"windows\"/>\n        </condition>\n\n        <condition property=\"android.os.tag\" value=\"mac\">\n            <os family=\"mac\"/>\n        </condition>\n\n        <condition property=\"strip.dirs.count\" value=\"2\">\n            <os family=\"mac\"/>\n        </condition>\n\n        <condition property=\"strip.dirs.count\" value=\"1\">\n            <not>\n                <os family=\"mac\"/>\n            </not>\n        </condition>\n\n        <condition property=\"android.os.tag\" value=\"linux\">\n            <and>\n                <os family=\"unix\"/>\n                <not>\n                    <os family=\"mac\"/>\n                </not>\n            </and>\n        </condition>\n\n        <local name=\"have.android.version\"/>\n        <condition property=\"have.android.version\">\n            <and>\n                <isset property=\"android.version\"/>\n                <isset property=\"android.build.version\"/>\n            </and>\n        </condition>\n\n        <sequential unless:set=\"have.android.version\">\n            <loadresource property=\"android.version\">\n                <url url=\"https://developer.android.com/studio/preview/index.html\"/>\n                <filterchain>\n                    <tokenfilter>\n                        <filetokenizer/>\n                        <replaceregex\n                            pattern=\"^(.*)https?://dl\\.google\\.com/dl/android/studio/ide-zips/([\\d\\.]+)/android-studio-ide(.*)$\"\n                            replace=\"\\2\" flags=\"s\"/>\n                    </tokenfilter>\n                </filterchain>\n            </loadresource>\n            <loadresource property=\"android.build.version\">\n                <url url=\"https://developer.android.com/studio/preview/index.html\"/>\n                <filterchain>\n                    <tokenfilter>\n                        <filetokenizer/>\n                        <replaceregex\n                            pattern=\"^(.*)https?://dl\\.google\\.com/dl/android/studio/ide-zips/[\\d\\.]+/android-studio-ide-([\\d\\.]+)-(.*)$\"\n                            replace=\"\\2\" flags=\"s\"/>\n                    </tokenfilter>\n                </filterchain>\n            </loadresource>\n        </sequential>\n\n        <echo message=\"Download android studio: ${android.version} ${android.build.version}\"/>\n\n        <property name=\"android.file.name\" value=\"android-studio-ide-${android.build.version}-${android.os.tag}.zip\"/>\n        <property name=\"android.studio.url\"\n                  value=\"https://dl.google.com/dl/android/studio/ide-zips/${android.version}/${android.file.name}\"/>\n        <property name=\"android.download.dir\" value=\"${dependencies}/android-studio\"/>\n        <property name=\"android.destination.dir\" value=\"ideaSDK\"/>\n\n        <mkdir dir=\"${android.download.dir}\"/>\n\n        <get src=\"${android.studio.url}\" dest=\"${android.download.dir}\" usetimestamp=\"true\"/>\n\n        <delete dir=\"${android.destination.dir}\" failonerror=\"false\" includeemptydirs=\"true\">\n            <exclude name=\"config/**\"/>\n            <exclude name=\"system/**\"/>\n        </delete>\n\n        <unzip src=\"${android.download.dir}/${android.file.name}\" dest=\"${android.destination.dir}\">\n            <cutdirsmapper dirs=\"${strip.dirs.count}\"/>\n        </unzip>\n\n        <local name=\"android.studio.mac\"/>\n        <condition property=\"android.studio.mac\">\n            <matches pattern=\".+mac\\.zip\" string=\"${android.file.name}\"/>\n        </condition>\n\n        <local name=\"android.studio.linux\"/>\n        <condition property=\"android.studio.linux\">\n            <matches pattern=\".+linux\\.zip\" string=\"${android.file.name}\"/>\n        </condition>\n\n        <exec executable=\"chmod\" if:set=\"android.studio.mac\">\n            <arg value=\"-R\"/>\n            <arg value=\"a+x\"/>\n            <arg path=\"${android.destination.dir}/bin/\"/>\n            <!-- Needed to run gradle -->\n            <arg path=\"${android.destination.dir}/jre/jdk/Contents/Home/bin/\"/>\n            <arg path=\"${android.destination.dir}/jre/jdk/Contents/Home/lib/\"/>\n            <arg path=\"${android.destination.dir}/jre/jdk/Contents/Home/jre/bin/\"/>\n            <arg path=\"${android.destination.dir}/jre/jdk/Contents/Home/jre/lib/\"/>\n        </exec>\n\n        <exec executable=\"chmod\" if:set=\"android.studio.linux\">\n            <arg value=\"a+x\"/>\n            <arg path=\"${android.destination.dir}/bin/fsnotifier\"/>\n            <arg path=\"${android.destination.dir}/bin/fsnotifier64\"/>\n            <arg path=\"${android.destination.dir}/bin/inspect.sh\"/>\n            <arg path=\"${android.destination.dir}/bin/studio.sh\"/>\n        </exec>\n\n        <!--\n        This one needs to be deleted because otherwise it gets onto the classpath\n        together with junit-4.10.jar and the classloading goes crazy that breaks\n        many nice features of IDEA including diffs in the test console.\n        -->\n        <delete file=\"${android.destination.dir}/lib/junit.jar\"/>\n\n        <!--\n        Plugin depends on newer runtime and reflect jar from our bootstrap compiler.\n        Avoid depending on old runtime during build phase but attach original runtime when idea starts.\n        -->\n        <mkdir dir=\"${android.destination.dir}/idea-kotlin-runtime\"/>\n        <move file=\"${android.destination.dir}/lib/kotlin-runtime.jar\" todir=\"${android.destination.dir}/idea-kotlin-runtime\"/>\n        <move file=\"${android.destination.dir}/lib/kotlin-reflect.jar\" todir=\"${android.destination.dir}/idea-kotlin-runtime\"/>\n\n        <property name=\"as.core.dir\" value=\"${android.destination.dir}/core\"/>\n        <property name=\"as.lib.dir\" value=\"${android.destination.dir}/lib\"/>\n\n        <property name=\"base.repository.url\" value=\"https://www.jetbrains.com/intellij-repository/releases/com/jetbrains/intellij/idea\"/>\n\n        <get\n            src=\"${base.repository.url}/intellij-core/${android.studio.intellij-core.build.number}/intellij-core-${android.studio.intellij-core.build.number}.zip\"\n            dest=\"${android.download.dir}/intellij-core-${android.studio.intellij-core.build.number}.zip\"\n            usetimestamp=\"true\"/>\n        <unzip src=\"${android.download.dir}/intellij-core-${android.studio.intellij-core.build.number}.zip\" dest=\"${android.download.dir}/intellij-core\" />\n\n        <get\n            src=\"${base.repository.url}/jps-standalone/${android.studio.intellij-core.build.number}/jps-standalone-${android.studio.intellij-core.build.number}.zip\"\n            dest=\"${android.download.dir}/jps-standalone-${android.studio.intellij-core.build.number}.zip\"\n            usetimestamp=\"true\"/>\n\n        <unzip src=\"${android.download.dir}/jps-standalone-${android.studio.intellij-core.build.number}.zip\" dest=\"${android.download.dir}/jps-standalone\" />\n    </target>\n</project>\n"
  }
]