No description
Find a file
bacowan 2f2fbce0ba Long usernames no longer cover up likes in chat (#1130)
* Switching the LinearLayout containing the username and likes with a
table whose columns can stretch such that the username will word wrap,
but the moderator or likes text will not word wrap or spill out.

* - Fixing line endings (had it set to CRLF)
- Removing a grivity=right since the table is now taking care of it

* nevermind, that was just autoformatting :/

* Switching from wordwrap to elipses

* Moving back to word wrap and shortened Mod tag

* missed committing this

* Not fully resolving LayoutParams for consistency
2019-05-15 14:58:54 +02:00
.tx Fix various issues 2018-03-09 15:26:11 +01:00
_gsdata_ Merge branch 'develop' of https://github.com/HabitRPG/habitica-android into task-repository 2017-02-07 23:53:54 +01:00
fastlane Begin implementing local task scoring 2019-04-23 14:20:16 +02:00
gradle/wrapper update dependencies 2019-01-23 19:14:13 +01:00
Habitica Long usernames no longer cover up likes in chat (#1130) 2019-05-15 14:58:54 +02:00
projectFilesBackup/.idea update to android studio 2.3 2017-03-23 14:12:28 +01:00
reports/profile Rewrite task lists 2016-05-10 16:07:12 +02:00
seeds-sdk Update to AndroidX 2018-11-06 16:11:02 +01:00
translations remove duplicate store translation 2019-03-08 13:02:15 +01:00
.gitignore Fix sub gifting flow 2019-01-04 19:26:40 +01:00
.gradletasknamecache Initial commit 2015-04-12 13:54:29 +02:00
.travis.yml Update .travis.yml 2019-02-27 15:47:29 +01:00
AndroidStyle.xml Rename code style with habitica 2017-11-17 14:11:44 +01:00
build.gradle Fix various code style warnings 2019-04-26 11:36:10 +02:00
config-android.json support old reward column 2017-09-07 20:38:17 +02:00
detekt.yml fix various code smell issues 2018-07-25 15:19:14 +02:00
Gemfile Fix various username bugs 2018-11-06 14:04:27 +01:00
Gemfile.lock Tweak UI 2018-11-07 15:17:25 +01:00
gradle.properties correctly show joined guilds in public guild list 2019-04-30 12:19:02 +02:00
gradlew Apply avatar transformations (if items available) / update gradle 2016-10-03 22:47:02 +02:00
gradlew.bat Apply avatar transformations (if items available) / update gradle 2016-10-03 22:47:02 +02:00
habitica.properties.example Show world boss in menu 2018-02-08 20:27:05 +01:00
habitica.properties.travis Show world boss in menu 2018-02-08 20:27:05 +01:00
habitica.resources.example Remove instabug 2019-04-30 13:39:00 +02:00
install-codestyle.sh Rename code style with habitica 2017-11-17 14:11:44 +01:00
LICENSE Added GPLv3 to be consistent with the habitrpg 2016-01-01 11:50:11 -06:00
PULL_REQUEST_TEMPLATE.md Create PULL_REQUEST_TEMPLATE.md 2016-02-18 01:30:44 +01:00
README.md Updated Habitica build instructions to make steps straightforward 2019-02-27 15:48:51 +01:00
settings.gradle implement seeds sdk 2016-12-07 14:40:03 +01:00
signingrelease.properties.template Initial commit 2015-04-12 13:54:29 +02:00
store_strings.xml Move all db access to repositories 2017-04-20 21:14:23 +02:00

Habitica for Android

Join the chat at https://gitter.im/HabitRPG/habitrpg-android

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor. This repository is related to the Android Native Application.

It's also on Google Play:

Get it on Google Play

Having the application installed is a good way to be notified of new releases. However, clicking "Watch" on this repository will allow GitHub to email you whenever we publish a release.

What's New

See the project's Releases page for a list of versions with their changelogs.

View Releases

If you Watch this repository, GitHub will send you an email every time we publish an update.

Contributing

For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.

Thank you very much to all contributors.

Steps for contributing to this repository:

  1. Fork it
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Create new Pull Request
    • Don't forget to include your Habitica User ID, so that we can count your contribution towards your contributor tier

Code Style Guidelines

We follow the code style guidelines outlined in Android Code Style Guidelines for Contributors.

You can install our code style scheme to Intellij and/or Android Studio via this shell command:

$ ./install-codestyle.sh

Build Instructions

Config Files

  1. Setup Habitica build config files by simply copying or renaming the example habitica files:

    habitica.properties.example to habitica.properties

    habitica.resources.example to habitica.resources

    You also need google-services.json. Download it from Firebase in the next step.

    Note: this is the default production habitica.properties file for habitica.com. If you want to use a local Habitica server, please modify the values in the properties file accordingly.

  2. Go to https://console.firebase.google.com

    a. Register/Login to Firebase. (You can use a Google account.)

    b. Create a new project called Habitica

    c. Create two apps in the project: com.habitrpg.android.habitica and com.habitrpg.android.habitica.debug

    d. Creating each app will generate a google-services.json file. Download the google-services.json file from the second app and put it in \Habitica\

    You can skip the last part of the app creation wizards (where you run the app to verify installation).

  3. If using Android Studio, click Sync Project with Gradle Files. Update Android Studio if it asks you to update. Run Habitica.