Commit Graph

12 Commits

Author SHA1 Message Date
Konrad Pozniak e371fa0e24
Tab customization & direct messages tab (#1012)
* custom tabs

* custom tabs interface

* implement custom tab functionality

* add database migration

* fix bugs, improve ThemeUtils nullability handling

* implement conversationsfragment

* setup ConversationViewHolder

* implement favs

* add button functionality

* revert 10.json

* revert item_status_notification.xml

* implement more menu, replying, fix stuff, clean up

* fix tests

* fix bug with expanding statuses

* min and max number of tabs

* settings support, fix bugs

* database migration

* fix scrolling to top after refresh

* fix                                 bugs

* fix warning in item_conversation
2019-02-12 19:22:37 +01:00
Konrad Pozniak a445c12094
Upgrade to AndroidX, move to MaterialComponents theme (#953)
* upgrade to AndroidX, upgrade libraries

* move to MaterialComponents theme

* make sure the compose button looks good everywhere

* fix tollbar title/button alignment on tablet

* move to new material color theming, consolidate colors and themes

* fix build, fix imports

* set error on TextInputLayout instead of EditText

* fix imports, TootButton when

* improve snackbar style

* fix task description color
2018-12-17 15:25:35 +01:00
Konrad Pozniak 27eefbf65a
ComposeActivity improvements (#548)
* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
2018-04-13 22:37:21 +02:00
Ivan Kupalov dc1a60cc12 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck 42734c4f57 improve layout of AccountActivity tabs 2017-08-03 16:24:14 +02:00
Vavassor f37bb694f1 Makes the toolbar shadow visible for pre-Lollipop android versions and fixes a crash when deleting a draft with no media attached. 2017-07-15 03:10:55 -04:00
daycode 6c38512091 fix color icon for both themes 2017-04-18 22:21:34 +02:00
daycode d6a66656de Add Direct Message to visibility panel 2017-04-18 12:59:42 +02:00
Vavassor 0439fabd79 Fixed a crash under API level 21 on the main timeline due to trying to tint the status buttons with selectors. 2017-02-17 23:10:46 -05:00
Vavassor 96a5692717 Dark and light themes now exist and can be switched in preferences. 2017-02-16 13:52:55 -05:00
Vavassor f14973a6d4 Replaced the regex gunk in the composer with something more readable and more reliable.
Also, put in a fix for a crash related to failing while loading the vector image for the media picker button.
2017-02-13 21:46:25 -05:00
Vavassor 22a2a31afe Changed visual theme to a dark style. Also, set up things for a future switchable light/dark theme. 2017-02-13 00:18:17 -05:00