diff --git a/greendroid/.gitignore b/greendroid/.gitignore new file mode 100644 index 000000000..3c8e6349e --- /dev/null +++ b/greendroid/.gitignore @@ -0,0 +1,9 @@ +*/bin/* +*/gen/* +*.DS_Store +*.pyc + +# Prevent Git from versioning the GreenDroid library in the samples project. + +GDCatalog/src/greendroid/* +GDCatalog/res/*/gd_* \ No newline at end of file diff --git a/greendroid/.project b/greendroid/.project new file mode 100644 index 000000000..fcb384fde --- /dev/null +++ b/greendroid/.project @@ -0,0 +1,33 @@ + + + GreenDroid + + + + + + 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/greendroid/GDCatalog/.classpath b/greendroid/GDCatalog/.classpath new file mode 100644 index 000000000..28d6a6ece --- /dev/null +++ b/greendroid/GDCatalog/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/greendroid/GDCatalog/.project b/greendroid/GDCatalog/.project new file mode 100644 index 000000000..2da883a8f --- /dev/null +++ b/greendroid/GDCatalog/.project @@ -0,0 +1,40 @@ + + + GDCatalog + + + + + + 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 + + + + GreenDroid_src + 2 + _android_GreenDroid_612cb559/src + + + diff --git a/greendroid/GDCatalog/AndroidManifest.xml b/greendroid/GDCatalog/AndroidManifest.xml new file mode 100644 index 000000000..2e0161ed2 --- /dev/null +++ b/greendroid/GDCatalog/AndroidManifest.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/greendroid/GDCatalog/default.properties b/greendroid/GDCatalog/default.properties new file mode 100644 index 000000000..1bb292689 --- /dev/null +++ b/greendroid/GDCatalog/default.properties @@ -0,0 +1,14 @@ +# 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. + +# Indicates whether an apk should be generated for each density. +split.density=false +# Project target. +target=android-4 +android.library.reference.1=../GreenDroid/ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/action_bar_divider.png b/greendroid/GDCatalog/res/drawable-hdpi/action_bar_divider.png new file mode 100755 index 000000000..249f7f357 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/action_bar_divider.png differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/class1.jpg b/greendroid/GDCatalog/res/drawable-hdpi/class1.jpg new file mode 100644 index 000000000..9c36d9ca4 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/class1.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/class2.jpg b/greendroid/GDCatalog/res/drawable-hdpi/class2.jpg new file mode 100644 index 000000000..b2930a386 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/class2.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/class3.jpg b/greendroid/GDCatalog/res/drawable-hdpi/class3.jpg new file mode 100644 index 000000000..779b4835e Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/class3.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/class4.jpg b/greendroid/GDCatalog/res/drawable-hdpi/class4.jpg new file mode 100644 index 000000000..7845de7c6 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/class4.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/class5.jpg b/greendroid/GDCatalog/res/drawable-hdpi/class5.jpg new file mode 100644 index 000000000..08f0817bc Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/class5.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/greendroid_application_logo.png b/greendroid/GDCatalog/res/drawable-hdpi/greendroid_application_logo.png new file mode 100644 index 000000000..944bb5fd1 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/greendroid_application_logo.png differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/greendroid_icon.png b/greendroid/GDCatalog/res/drawable-hdpi/greendroid_icon.png new file mode 100644 index 000000000..1b21d0f5c Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/greendroid_icon.png differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/header_bg.9.png b/greendroid/GDCatalog/res/drawable-hdpi/header_bg.9.png new file mode 100644 index 000000000..955a61c3a Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/header_bg.9.png differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/ic_title_export_alt.png b/greendroid/GDCatalog/res/drawable-hdpi/ic_title_export_alt.png new file mode 100644 index 000000000..b55e41def Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/ic_title_export_alt.png differ diff --git a/greendroid/GDCatalog/res/drawable-hdpi/ic_title_export_default.png b/greendroid/GDCatalog/res/drawable-hdpi/ic_title_export_default.png new file mode 100644 index 000000000..b86014d5f Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-hdpi/ic_title_export_default.png differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/action_bar_divider.png b/greendroid/GDCatalog/res/drawable-mdpi/action_bar_divider.png new file mode 100755 index 000000000..16b5accd2 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/action_bar_divider.png differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/class1.jpg b/greendroid/GDCatalog/res/drawable-mdpi/class1.jpg new file mode 100644 index 000000000..de3daa04c Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/class1.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/class2.jpg b/greendroid/GDCatalog/res/drawable-mdpi/class2.jpg new file mode 100644 index 000000000..0e0350a2c Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/class2.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/class3.jpg b/greendroid/GDCatalog/res/drawable-mdpi/class3.jpg new file mode 100644 index 000000000..353785d83 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/class3.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/class4.jpg b/greendroid/GDCatalog/res/drawable-mdpi/class4.jpg new file mode 100644 index 000000000..dc260f38c Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/class4.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/class5.jpg b/greendroid/GDCatalog/res/drawable-mdpi/class5.jpg new file mode 100644 index 000000000..f0dcf2538 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/class5.jpg differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/greendroid_application_logo.png b/greendroid/GDCatalog/res/drawable-mdpi/greendroid_application_logo.png new file mode 100755 index 000000000..f4ce26e7b Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/greendroid_application_logo.png differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/greendroid_icon.png b/greendroid/GDCatalog/res/drawable-mdpi/greendroid_icon.png new file mode 100644 index 000000000..6538176a9 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/greendroid_icon.png differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/header_bg.9.png b/greendroid/GDCatalog/res/drawable-mdpi/header_bg.9.png new file mode 100644 index 000000000..4b0ca5062 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/header_bg.9.png differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/ic_title_export_alt.png b/greendroid/GDCatalog/res/drawable-mdpi/ic_title_export_alt.png new file mode 100644 index 000000000..af322aa18 Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/ic_title_export_alt.png differ diff --git a/greendroid/GDCatalog/res/drawable-mdpi/ic_title_export_default.png b/greendroid/GDCatalog/res/drawable-mdpi/ic_title_export_default.png new file mode 100644 index 000000000..06797e08f Binary files /dev/null and b/greendroid/GDCatalog/res/drawable-mdpi/ic_title_export_default.png differ diff --git a/greendroid/GDCatalog/res/drawable/action_bar_background.xml b/greendroid/GDCatalog/res/drawable/action_bar_background.xml new file mode 100644 index 000000000..d2f22e024 --- /dev/null +++ b/greendroid/GDCatalog/res/drawable/action_bar_background.xml @@ -0,0 +1,29 @@ + + + + + + + + diff --git a/greendroid/GDCatalog/res/drawable/ic_title_export.xml b/greendroid/GDCatalog/res/drawable/ic_title_export.xml new file mode 100644 index 000000000..c979f55eb --- /dev/null +++ b/greendroid/GDCatalog/res/drawable/ic_title_export.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + diff --git a/greendroid/GDCatalog/res/layout/headed_text_item_view.xml b/greendroid/GDCatalog/res/layout/headed_text_item_view.xml new file mode 100644 index 000000000..3c7cb9a88 --- /dev/null +++ b/greendroid/GDCatalog/res/layout/headed_text_item_view.xml @@ -0,0 +1,32 @@ + + + + + + + + + + \ No newline at end of file diff --git a/greendroid/GDCatalog/res/layout/list.xml b/greendroid/GDCatalog/res/layout/list.xml new file mode 100644 index 000000000..14f997e95 --- /dev/null +++ b/greendroid/GDCatalog/res/layout/list.xml @@ -0,0 +1,24 @@ + + + + \ No newline at end of file diff --git a/greendroid/GDCatalog/res/layout/quick_action.xml b/greendroid/GDCatalog/res/layout/quick_action.xml new file mode 100644 index 000000000..10d13c4c5 --- /dev/null +++ b/greendroid/GDCatalog/res/layout/quick_action.xml @@ -0,0 +1,50 @@ + + + + + +