diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..9ffa188f9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: android +android: + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + # - platform-tools + # - tools + + # The BuildTools version used by your project + - build-tools-23.0.1 + + # The SDK version used to compile your project + - android-23 + + # Additional components + - extra-google-google_play_services + - extra-google-m2repository + - extra-android-m2repository + + # Specify at least one system image, + # if you need to run emulator(s) during your tests + #- sys-img-armeabi-v7a-android-19 + #- sys-img-x86-android-17 +script: ./gradlew assembleDebug diff --git a/Habitica/build.gradle b/Habitica/build.gradle index f777e4e00..37b056e87 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -1,6 +1,5 @@ apply plugin: 'com.android.application' apply plugin: 'com.android.databinding' -apply plugin: 'aar-link-sources' apply plugin: 'io.fabric' buildscript { @@ -86,6 +85,9 @@ dependencies { compile 'com.facebook.android:facebook-android-sdk:4.7.0' //Material Dialogs compile('com.github.afollestad.material-dialogs:core:0.8.5.0@aar') + + debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1' + releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1' } android { diff --git a/Habitica/res/drawable-v21/btn_habit_background.xml b/Habitica/res/drawable-v21/btn_habit_background.xml new file mode 100644 index 000000000..3a8206c07 --- /dev/null +++ b/Habitica/res/drawable-v21/btn_habit_background.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/btn_habit_background.xml b/Habitica/res/drawable/btn_habit_background.xml index d37216452..15f0d9b3a 100644 --- a/Habitica/res/drawable/btn_habit_background.xml +++ b/Habitica/res/drawable/btn_habit_background.xml @@ -1,12 +1,13 @@ - + - + + diff --git a/Habitica/res/layout/habit_item_card.xml b/Habitica/res/layout/habit_item_card.xml index ba2794a53..3d30bddc1 100644 --- a/Habitica/res/layout/habit_item_card.xml +++ b/Habitica/res/layout/habit_item_card.xml @@ -25,26 +25,40 @@ android:layout_height="match_parent" android:orientation="horizontal" android:id="@+id/btnLayout"> -