Fork of Tusky to match Chinwag design and provide better visual accessibility. https://social.chinwag.org
Find a file
remi6397 11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
app Theming improvements (#502) 2018-01-20 13:39:01 +01:00
assets update amazon link in readme 2017-12-09 10:46:33 +01:00
gradle/wrapper upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
.gitignore Remove .idea files 2017-01-03 19:30:20 -08:00
build.gradle update dependencies 2017-11-30 21:05:56 +01:00
CONTRIBUTING.md Fixes a couple of typos. 2017-04-26 03:38:49 -04:00
gradle.properties added README.md and missing files 2017-01-02 20:37:38 -05:00
gradlew added README.md and missing files 2017-01-02 20:37:38 -05:00
gradlew.bat added README.md and missing files 2017-01-02 20:37:38 -05:00
LICENSE.txt License change back to GPL 3 2017-04-09 20:12:31 -04:00
README.md update amazon link in readme 2017-12-09 10:46:33 +01:00
settings.gradle added README.md and missing files 2017-01-02 20:37:38 -05:00

Tusky

Tusky is a beautiful Android client for Mastodon. Mastodon is a GNU social-compatible federated social network. That means not one entity controls the whole network, rather, like e-mail, volunteers and organisations operate their own independent servers, users from which can all interact with each other seamlessly.

Get it on F-Droid Get it on Google Play Get it on Amazon

Features

  • Material Design
  • Most Mastodon APIs implemented
  • completely Open-source - no non-free dependencies like Google services

Head of development

This app was developed by Vavassor@mastodon.social. The current maintainer is ConnyDuck@mastodon.social.

Building

The most basic things needed are the Java Development Kit 7 or higher and the Android SDK.

The project uses the Gradle build system. Android studio uses Gradle by default, so it'd be straightforward to import this repository using your chosen version control software from the menu:

VCS > Checkout from version control > Git/SVN/Mercurial

After making it into an android studio project you can build/run as you wish.

It's also possible to build using Gradle by itself on the command line if you have it installed and configured. This repository includes a gradle wrapper script that can be used, following this guide Build You App On The Command Line.

The project's gradle files describe its building needs more in-depth and dependencies can be found in app/build.gradle.