Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated application to use library

  • Loading branch information...
commit f81c13731c827a3e9e6855e0511c4439adcf92b3 1 parent 83c96b2
@inazaruk authored
View
2  CustomAttributes/app/AndroidManifest.xml
@@ -4,7 +4,7 @@
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name" android:icon="@drawable/icon">
- <activity android:name="ACTIVITY_ENTRY_NAME"
+ <activity android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
View
3  CustomAttributes/app/res/layout/main.xml
@@ -9,8 +9,7 @@
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="Hello World, ACTIVITY_ENTRY_NAME"
- lib:xattr="test"
+ android:text="Hello World, ACTIVITY_ENTRY_NAME"
/>
</LinearLayout>
View
5 CustomAttributes/app/src/com/inazaruk/app/MainActivity.java
@@ -4,12 +4,11 @@
import android.os.Bundle;
public class MainActivity extends Activity
-{
- /** Called when the activity is first created. */
+{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
+ setContentView(R.layout.libactivity);
}
}
View
2  CustomAttributes/lib/default.properties
@@ -9,4 +9,4 @@
# Project target.
target=android-10
-android.library=false
+android.library=true
Please sign in to comment.
Something went wrong with that request. Please try again.