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 00000000..e491bde7 --- /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 00000000..39a4a706 --- /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 00000000..b05d2668 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 00000000..4e6cce6a --- /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 00000000..e89738de 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 00000000..628546ff 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 00000000..a0059433 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 00000000..187bdf48 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 00000000..f2fe1559 --- /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 00000000..ce39f2d0 --- /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 00000000..56c957fb 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 00000000..d5ac69c2 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 00000000..b70db4e1 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 00000000..a77d66d9 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 00000000..d7e90cb1 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 00000000..aa7cf4f2 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 00000000..69c1085a 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 00000000..3cbfe1a8 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 00000000..7bc14b13 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 00000000..d7118fba 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 00000000..47302c93 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 00000000..0d5ea839 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 00000000..ea6d2f74 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 00000000..a3e40613 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 00000000..99b189a0 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 00000000..70891e87 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 00000000..acbdecac 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 00000000..364d5ee7 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 00000000..cf064ec1 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 00000000..f0ad55a6 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 00000000..40a28cf7 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 00000000..4ffdd869 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 00000000..9bb556e7 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 00000000..9d6af042 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 00000000..cda4f137 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 00000000..812ff2c3 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 00000000..f54690a0 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 00000000..bddef0f4 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 00000000..6db1dd0a 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 00000000..d157d7d6 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 00000000..c91f7da9 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 00000000..6c5c67aa 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 00000000..3ec4d3ae 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 00000000..ec00751d 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 00000000..884cb1b4 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 00000000..26e8fbe9 --- /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 00000000..db71091a --- /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 00000000..a935ad4d --- /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 00000000..101e22dc --- /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 00000000..a2f83e48 --- /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 00000000..e217a4e9 --- /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 00000000..747ab80e --- /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 00000000..88727910 --- /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 00000000..75e0366e --- /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 00000000..14958206 --- /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 00000000..6687f281 --- /dev/null +++ b/res/layout/edit_habit.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +