Move Android compiler plugin tests to android-compiler-plugin module

This commit is contained in:
Yan Zhulanow
2014-11-06 15:20:20 +03:00
parent efff642635
commit fa62d3bcec
63 changed files with 70 additions and 79 deletions
@@ -0,0 +1 @@
fun box() = "OK"
@@ -0,0 +1,33 @@
<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>
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:padding="6dip">
<ImageView
android:id="@+id/req_who_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentBottom="true"
android:layout_marginRight="6dip"
android:gravity="left"
android:src="@drawable/icon" />
<TextView
android:id="@+id/req_state_who"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/req_who_icon"
android:textSize="10dip"
android:layout_alignParentRight="false"
android:layout_alignParentTop="false"
android:layout_alignWithParentIfMissing="true"
android:gravity="left"
android:text="who" />
<TextView
android:id="@+id/req_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/req_state_who"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:layout_alignWithParentIfMissing="true"
android:gravity="right"
android:text="No summary"
android:textSize="10dip"
android:textColor="#FFFF00" />
<TextView
android:id="@+id/req_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/req_header"
android:layout_toRightOf="@id/req_state_who"
android:layout_alignParentRight="true"
android:layout_alignWithParentIfMissing="true"
android:gravity="right"
android:textSize="10dip"
android:text="No summary" />
<TextView
android:id="@+id/req_description"
android:layout_below="@id/req_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/req_state_who"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:gravity="right"
android:ellipsize="marquee"
android:text="No description"
android:textSize="10dip" />
<ImageView
android:id="@+id/req_state_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/req_description"
android:layout_marginRight="6dip"/>
</RelativeLayout>