commit 477eb80109804bf6b60176473736916eb95d4fc3 Author: Alinson Xavier Date: Sat Nov 8 06:08:56 2014 -0500 Initial import diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..e491bde72 --- /dev/null +++ b/.gitignore @@ -0,0 +1,32 @@ +#built application files +*.apk +*.ap_ + +# files for the dex VM +*.dex + +# Java class files +*.class + +# generated files +bin/ +gen/ + +# Local configuration file (sdk path, etc) +local.properties + +# Windows thumbnail db +Thumbs.db + +# OSX files +.DS_Store + +# Eclipse project files +.classpath +.project + +# Android Studio +.idea +#.idea/workspace.xml - remove # and delete .idea if it better suit your needs. +.gradle +build/ diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 000000000..39a4a706a --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/art/ic_launcher.png b/art/ic_launcher.png new file mode 100644 index 000000000..b05d26681 Binary files /dev/null and b/art/ic_launcher.png differ diff --git a/art/ic_launcher.svg b/art/ic_launcher.svg new file mode 100644 index 000000000..4e6cce6a1 --- /dev/null +++ b/art/ic_launcher.svg @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + aaahjoaaa + diff --git a/assets/fontawesome-webfont.ttf b/assets/fontawesome-webfont.ttf new file mode 100755 index 000000000..e89738de5 Binary files /dev/null and b/assets/fontawesome-webfont.ttf differ diff --git a/ic_launcher-web.png b/ic_launcher-web.png new file mode 100644 index 000000000..628546ff1 Binary files /dev/null and b/ic_launcher-web.png differ diff --git a/libs/ActiveAndroid.jar b/libs/ActiveAndroid.jar new file mode 100644 index 000000000..a00594330 Binary files /dev/null and b/libs/ActiveAndroid.jar differ diff --git a/libs/android-support-v4.jar b/libs/android-support-v4.jar new file mode 100644 index 000000000..187bdf48b Binary files /dev/null and b/libs/android-support-v4.jar differ diff --git a/proguard-project.txt b/proguard-project.txt new file mode 100644 index 000000000..f2fe1559a --- /dev/null +++ b/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/project.properties b/project.properties new file mode 100644 index 000000000..ce39f2d0a --- /dev/null +++ b/project.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 edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-18 diff --git a/res/drawable-hdpi/apptheme_textfield_activated_holo_light.9.png b/res/drawable-hdpi/apptheme_textfield_activated_holo_light.9.png new file mode 100644 index 000000000..56c957fbc Binary files /dev/null and b/res/drawable-hdpi/apptheme_textfield_activated_holo_light.9.png differ diff --git a/res/drawable-hdpi/apptheme_textfield_default_holo_light.9.png b/res/drawable-hdpi/apptheme_textfield_default_holo_light.9.png new file mode 100644 index 000000000..d5ac69c23 Binary files /dev/null and b/res/drawable-hdpi/apptheme_textfield_default_holo_light.9.png differ diff --git a/res/drawable-hdpi/apptheme_textfield_disabled_focused_holo_light.9.png b/res/drawable-hdpi/apptheme_textfield_disabled_focused_holo_light.9.png new file mode 100644 index 000000000..b70db4e10 Binary files /dev/null and b/res/drawable-hdpi/apptheme_textfield_disabled_focused_holo_light.9.png differ diff --git a/res/drawable-hdpi/apptheme_textfield_disabled_holo_light.9.png b/res/drawable-hdpi/apptheme_textfield_disabled_holo_light.9.png new file mode 100644 index 000000000..a77d66d99 Binary files /dev/null and b/res/drawable-hdpi/apptheme_textfield_disabled_holo_light.9.png differ diff --git a/res/drawable-hdpi/apptheme_textfield_focused_holo_light.9.png b/res/drawable-hdpi/apptheme_textfield_focused_holo_light.9.png new file mode 100644 index 000000000..d7e90cb12 Binary files /dev/null and b/res/drawable-hdpi/apptheme_textfield_focused_holo_light.9.png differ diff --git a/res/drawable-hdpi/ic_action_add.png b/res/drawable-hdpi/ic_action_add.png new file mode 100644 index 000000000..aa7cf4f2c Binary files /dev/null and b/res/drawable-hdpi/ic_action_add.png differ diff --git a/res/drawable-hdpi/ic_action_pick_color.png b/res/drawable-hdpi/ic_action_pick_color.png new file mode 100644 index 000000000..69c1085a3 Binary files /dev/null and b/res/drawable-hdpi/ic_action_pick_color.png differ diff --git a/res/drawable-hdpi/ic_colorpicker_swatch_selected.png b/res/drawable-hdpi/ic_colorpicker_swatch_selected.png new file mode 100644 index 000000000..3cbfe1a84 Binary files /dev/null and b/res/drawable-hdpi/ic_colorpicker_swatch_selected.png differ diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 000000000..7bc14b13c Binary files /dev/null and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/apptheme_textfield_activated_holo_light.9.png b/res/drawable-mdpi/apptheme_textfield_activated_holo_light.9.png new file mode 100644 index 000000000..d7118fbab Binary files /dev/null and b/res/drawable-mdpi/apptheme_textfield_activated_holo_light.9.png differ diff --git a/res/drawable-mdpi/apptheme_textfield_default_holo_light.9.png b/res/drawable-mdpi/apptheme_textfield_default_holo_light.9.png new file mode 100644 index 000000000..47302c93e Binary files /dev/null and b/res/drawable-mdpi/apptheme_textfield_default_holo_light.9.png differ diff --git a/res/drawable-mdpi/apptheme_textfield_disabled_focused_holo_light.9.png b/res/drawable-mdpi/apptheme_textfield_disabled_focused_holo_light.9.png new file mode 100644 index 000000000..0d5ea839d Binary files /dev/null and b/res/drawable-mdpi/apptheme_textfield_disabled_focused_holo_light.9.png differ diff --git a/res/drawable-mdpi/apptheme_textfield_disabled_holo_light.9.png b/res/drawable-mdpi/apptheme_textfield_disabled_holo_light.9.png new file mode 100644 index 000000000..ea6d2f74b Binary files /dev/null and b/res/drawable-mdpi/apptheme_textfield_disabled_holo_light.9.png differ diff --git a/res/drawable-mdpi/apptheme_textfield_focused_holo_light.9.png b/res/drawable-mdpi/apptheme_textfield_focused_holo_light.9.png new file mode 100644 index 000000000..a3e40613c Binary files /dev/null and b/res/drawable-mdpi/apptheme_textfield_focused_holo_light.9.png differ diff --git a/res/drawable-mdpi/ic_action_add.png b/res/drawable-mdpi/ic_action_add.png new file mode 100644 index 000000000..99b189a0c Binary files /dev/null and b/res/drawable-mdpi/ic_action_add.png differ diff --git a/res/drawable-mdpi/ic_action_pick_color.png b/res/drawable-mdpi/ic_action_pick_color.png new file mode 100644 index 000000000..70891e87d Binary files /dev/null and b/res/drawable-mdpi/ic_action_pick_color.png differ diff --git a/res/drawable-mdpi/ic_colorpicker_swatch_selected.png b/res/drawable-mdpi/ic_colorpicker_swatch_selected.png new file mode 100644 index 000000000..acbdecac2 Binary files /dev/null and b/res/drawable-mdpi/ic_colorpicker_swatch_selected.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 000000000..364d5ee7a Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/apptheme_textfield_activated_holo_light.9.png b/res/drawable-xhdpi/apptheme_textfield_activated_holo_light.9.png new file mode 100644 index 000000000..cf064ec12 Binary files /dev/null and b/res/drawable-xhdpi/apptheme_textfield_activated_holo_light.9.png differ diff --git a/res/drawable-xhdpi/apptheme_textfield_default_holo_light.9.png b/res/drawable-xhdpi/apptheme_textfield_default_holo_light.9.png new file mode 100644 index 000000000..f0ad55a66 Binary files /dev/null and b/res/drawable-xhdpi/apptheme_textfield_default_holo_light.9.png differ diff --git a/res/drawable-xhdpi/apptheme_textfield_disabled_focused_holo_light.9.png b/res/drawable-xhdpi/apptheme_textfield_disabled_focused_holo_light.9.png new file mode 100644 index 000000000..40a28cf70 Binary files /dev/null and b/res/drawable-xhdpi/apptheme_textfield_disabled_focused_holo_light.9.png differ diff --git a/res/drawable-xhdpi/apptheme_textfield_disabled_holo_light.9.png b/res/drawable-xhdpi/apptheme_textfield_disabled_holo_light.9.png new file mode 100644 index 000000000..4ffdd869e Binary files /dev/null and b/res/drawable-xhdpi/apptheme_textfield_disabled_holo_light.9.png differ diff --git a/res/drawable-xhdpi/apptheme_textfield_focused_holo_light.9.png b/res/drawable-xhdpi/apptheme_textfield_focused_holo_light.9.png new file mode 100644 index 000000000..9bb556e7a Binary files /dev/null and b/res/drawable-xhdpi/apptheme_textfield_focused_holo_light.9.png differ diff --git a/res/drawable-xhdpi/ic_action_add.png b/res/drawable-xhdpi/ic_action_add.png new file mode 100644 index 000000000..9d6af0423 Binary files /dev/null and b/res/drawable-xhdpi/ic_action_add.png differ diff --git a/res/drawable-xhdpi/ic_action_pick_color.png b/res/drawable-xhdpi/ic_action_pick_color.png new file mode 100644 index 000000000..cda4f1376 Binary files /dev/null and b/res/drawable-xhdpi/ic_action_pick_color.png differ diff --git a/res/drawable-xhdpi/ic_colorpicker_swatch_selected.png b/res/drawable-xhdpi/ic_colorpicker_swatch_selected.png new file mode 100644 index 000000000..812ff2c39 Binary files /dev/null and b/res/drawable-xhdpi/ic_colorpicker_swatch_selected.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 000000000..f54690a0c Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/drawable-xxhdpi/apptheme_textfield_activated_holo_light.9.png b/res/drawable-xxhdpi/apptheme_textfield_activated_holo_light.9.png new file mode 100644 index 000000000..bddef0f4f Binary files /dev/null and b/res/drawable-xxhdpi/apptheme_textfield_activated_holo_light.9.png differ diff --git a/res/drawable-xxhdpi/apptheme_textfield_default_holo_light.9.png b/res/drawable-xxhdpi/apptheme_textfield_default_holo_light.9.png new file mode 100644 index 000000000..6db1dd0aa Binary files /dev/null and b/res/drawable-xxhdpi/apptheme_textfield_default_holo_light.9.png differ diff --git a/res/drawable-xxhdpi/apptheme_textfield_disabled_focused_holo_light.9.png b/res/drawable-xxhdpi/apptheme_textfield_disabled_focused_holo_light.9.png new file mode 100644 index 000000000..d157d7d60 Binary files /dev/null and b/res/drawable-xxhdpi/apptheme_textfield_disabled_focused_holo_light.9.png differ diff --git a/res/drawable-xxhdpi/apptheme_textfield_disabled_holo_light.9.png b/res/drawable-xxhdpi/apptheme_textfield_disabled_holo_light.9.png new file mode 100644 index 000000000..c91f7da91 Binary files /dev/null and b/res/drawable-xxhdpi/apptheme_textfield_disabled_holo_light.9.png differ diff --git a/res/drawable-xxhdpi/apptheme_textfield_focused_holo_light.9.png b/res/drawable-xxhdpi/apptheme_textfield_focused_holo_light.9.png new file mode 100644 index 000000000..6c5c67aad Binary files /dev/null and b/res/drawable-xxhdpi/apptheme_textfield_focused_holo_light.9.png differ diff --git a/res/drawable-xxhdpi/ic_action_add.png b/res/drawable-xxhdpi/ic_action_add.png new file mode 100644 index 000000000..3ec4d3ae8 Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_add.png differ diff --git a/res/drawable-xxhdpi/ic_action_pick_color.png b/res/drawable-xxhdpi/ic_action_pick_color.png new file mode 100644 index 000000000..ec00751d8 Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_pick_color.png differ diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..884cb1b40 Binary files /dev/null and b/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/res/drawable/apptheme_edit_text_holo_light.xml b/res/drawable/apptheme_edit_text_holo_light.xml new file mode 100644 index 000000000..26e8fbe9b --- /dev/null +++ b/res/drawable/apptheme_edit_text_holo_light.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/color_picker_swatch.xml b/res/drawable/color_picker_swatch.xml new file mode 100644 index 000000000..db71091aa --- /dev/null +++ b/res/drawable/color_picker_swatch.xml @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/res/drawable/habits_header.xml b/res/drawable/habits_header.xml new file mode 100644 index 000000000..a935ad4de --- /dev/null +++ b/res/drawable/habits_header.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/habits_header_check.xml b/res/drawable/habits_header_check.xml new file mode 100644 index 000000000..101e22dcb --- /dev/null +++ b/res/drawable/habits_header_check.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/habits_item.xml b/res/drawable/habits_item.xml new file mode 100644 index 000000000..a2f83e48b --- /dev/null +++ b/res/drawable/habits_item.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/habits_item_check.xml b/res/drawable/habits_item_check.xml new file mode 100644 index 000000000..e217a4e9c --- /dev/null +++ b/res/drawable/habits_item_check.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable/habits_item_check_normal.xml b/res/drawable/habits_item_check_normal.xml new file mode 100644 index 000000000..747ab80e6 --- /dev/null +++ b/res/drawable/habits_item_check_normal.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/habits_item_check_pressed.xml b/res/drawable/habits_item_check_pressed.xml new file mode 100644 index 000000000..887279103 --- /dev/null +++ b/res/drawable/habits_item_check_pressed.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/color_picker_dialog.xml b/res/layout/color_picker_dialog.xml new file mode 100644 index 000000000..75e0366e2 --- /dev/null +++ b/res/layout/color_picker_dialog.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/color_picker_swatch.xml b/res/layout/color_picker_swatch.xml new file mode 100644 index 000000000..149582068 --- /dev/null +++ b/res/layout/color_picker_swatch.xml @@ -0,0 +1,28 @@ + + + + + + \ No newline at end of file diff --git a/res/layout/edit_habit.xml b/res/layout/edit_habit.xml new file mode 100644 index 000000000..6687f2817 --- /dev/null +++ b/res/layout/edit_habit.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +