Fix android synthetic properties compiler plugin tests
This commit is contained in:
Vendored
-33
@@ -1,33 +0,0 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.myapp"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<uses-sdk
|
||||
android:minSdkVersion="18"
|
||||
android:targetSdkVersion="18" />
|
||||
<permission android:name="android"></permission>
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.Sample" >
|
||||
<activity
|
||||
android:name="com.example.android.basiccontactables.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTop">
|
||||
<meta-data
|
||||
android:name="android.app.searchable"
|
||||
android:resource="@xml/searchable" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEARCH" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
</manifest>
|
||||
Vendored
+16
-26
@@ -1,38 +1,28 @@
|
||||
package kotlinx.android.synthetic.test
|
||||
|
||||
import android.app.*
|
||||
import android.view.*
|
||||
import android.widget.*
|
||||
import android.webkit.*
|
||||
import android.inputmethodservice.*
|
||||
import android.opengl.*
|
||||
import android.appwidget.*
|
||||
import android.support.v4.app.*
|
||||
import android.support.v4.view.*
|
||||
import android.support.v4.widget.*
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.app.Activity.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
get() = findViewById(0) as? FrameLayout
|
||||
val android.app.Activity.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Fragment.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
get() = getView().findViewById(0) as? FrameLayout
|
||||
val android.app.Fragment.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = getView().findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.app.Activity.textView1: ft<TextView, TextView?>
|
||||
get() = findViewById(0) as? TextView
|
||||
val android.app.Activity.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Fragment.textView1: ft<TextView, TextView?>
|
||||
get() = getView().findViewById(0) as? TextView
|
||||
val android.app.Fragment.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = getView().findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.app.Activity.password: ft<EditText, EditText?>
|
||||
get() = findViewById(0) as? EditText
|
||||
val android.app.Activity.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Fragment.password: ft<EditText, EditText?>
|
||||
get() = getView().findViewById(0) as? EditText
|
||||
val android.app.Fragment.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = getView().findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.app.Activity.login: ft<Button, Button?>
|
||||
get() = findViewById(0) as? Button
|
||||
val android.app.Activity.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
val android.app.Fragment.login: ft<Button, Button?>
|
||||
get() = getView().findViewById(0) as? Button
|
||||
val android.app.Fragment.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = getView().findViewById(0) as? android.widget.Button
|
||||
|
||||
|
||||
+8
-18
@@ -1,26 +1,16 @@
|
||||
package kotlinx.android.synthetic.test.view
|
||||
|
||||
import android.app.*
|
||||
import android.view.*
|
||||
import android.widget.*
|
||||
import android.webkit.*
|
||||
import android.inputmethodservice.*
|
||||
import android.opengl.*
|
||||
import android.appwidget.*
|
||||
import android.support.v4.app.*
|
||||
import android.support.v4.view.*
|
||||
import android.support.v4.widget.*
|
||||
import kotlin.internal.flexible.ft
|
||||
|
||||
val android.view.View.item_detail_container: ft<FrameLayout, FrameLayout?>
|
||||
get() = findViewById(0) as? FrameLayout
|
||||
val android.view.View.item_detail_container: ft<android.widget.FrameLayout, android.widget.FrameLayout?>
|
||||
get() = findViewById(0) as? android.widget.FrameLayout
|
||||
|
||||
val android.view.View.textView1: ft<TextView, TextView?>
|
||||
get() = findViewById(0) as? TextView
|
||||
val android.view.View.textView1: ft<android.widget.TextView, android.widget.TextView?>
|
||||
get() = findViewById(0) as? android.widget.TextView
|
||||
|
||||
val android.view.View.password: ft<EditText, EditText?>
|
||||
get() = findViewById(0) as? EditText
|
||||
val android.view.View.password: ft<android.widget.EditText, android.widget.EditText?>
|
||||
get() = findViewById(0) as? android.widget.EditText
|
||||
|
||||
val android.view.View.login: ft<Button, Button?>
|
||||
get() = findViewById(0) as? Button
|
||||
val android.view.View.login: ft<android.widget.Button, android.widget.Button?>
|
||||
get() = findViewById(0) as? android.widget.Button
|
||||
|
||||
|
||||
Reference in New Issue
Block a user