diff --git a/ListView/.gitignore b/ListView/.gitignore new file mode 100644 index 0000000..8d94b88 --- /dev/null +++ b/ListView/.gitignore @@ -0,0 +1 @@ +/gen diff --git a/ListView/.project b/ListView/.project new file mode 100644 index 0000000..1760ba8 --- /dev/null +++ b/ListView/.project @@ -0,0 +1,33 @@ + + + ListView + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/ListView/AndroidManifest.xml b/ListView/AndroidManifest.xml new file mode 100644 index 0000000..c602833 --- /dev/null +++ b/ListView/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ListView/default.properties b/ListView/default.properties new file mode 100644 index 0000000..66db0d1 --- /dev/null +++ b/ListView/default.properties @@ -0,0 +1,11 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 diff --git a/ListView/proguard.cfg b/ListView/proguard.cfg new file mode 100644 index 0000000..b1cdf17 --- /dev/null +++ b/ListView/proguard.cfg @@ -0,0 +1,40 @@ +-optimizationpasses 5 +-dontusemixedcaseclassnames +-dontskipnonpubliclibraryclasses +-dontpreverify +-verbose +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* + +-keep public class * extends android.app.Activity +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver +-keep public class * extends android.content.ContentProvider +-keep public class * extends android.app.backup.BackupAgentHelper +-keep public class * extends android.preference.Preference +-keep public class com.android.vending.licensing.ILicensingService + +-keepclasseswithmembernames class * { + native ; +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet); +} + +-keepclasseswithmembers class * { + public (android.content.Context, android.util.AttributeSet, int); +} + +-keepclassmembers class * extends android.app.Activity { + public void *(android.view.View); +} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +} diff --git a/ListView/res/drawable-hdpi/icon.png b/ListView/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8074c4c Binary files /dev/null and b/ListView/res/drawable-hdpi/icon.png differ diff --git a/ListView/res/drawable-ldpi/icon.png b/ListView/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..1095584 Binary files /dev/null and b/ListView/res/drawable-ldpi/icon.png differ diff --git a/ListView/res/drawable-mdpi/icon.png b/ListView/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..a07c69f Binary files /dev/null and b/ListView/res/drawable-mdpi/icon.png differ diff --git a/ListView/res/layout/main.xml b/ListView/res/layout/main.xml new file mode 100644 index 0000000..3a5f117 --- /dev/null +++ b/ListView/res/layout/main.xml @@ -0,0 +1,12 @@ + + + + diff --git a/ListView/res/values/strings.xml b/ListView/res/values/strings.xml new file mode 100644 index 0000000..8b1df13 --- /dev/null +++ b/ListView/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Hello World, ListViewActivity! + ListView + diff --git a/ListView/src/com/stylingandroid/listview/ListViewActivity.java b/ListView/src/com/stylingandroid/listview/ListViewActivity.java new file mode 100644 index 0000000..b300137 --- /dev/null +++ b/ListView/src/com/stylingandroid/listview/ListViewActivity.java @@ -0,0 +1,13 @@ +package com.stylingandroid.listview; + +import android.app.Activity; +import android.os.Bundle; + +public class ListViewActivity extends Activity { + /** Called when the activity is first created. */ + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.main); + } +} \ No newline at end of file