Torsten Grote
e98d4f2260
Use a RecyclerView for the ConversationView and
...
properly notify the view adapter of dataset changes
in order to avoid invalidating the entire dataset when not absolutely necessary.
This change also shows unread messages in a different color,
so users do not fail to notice delayed messages.
2015-12-28 14:49:03 -02:00
Torsten Grote
68cd1ff28c
New Conversation View in XML
...
It now uses conversation bubbles in alternating colors
and vector drawables to indicate message state.
The conversation bubbles have been taken from Telegram
and can be replaced by a UX designer later.
This commit also addresses #9 , because message text can
now be selected and copied. This is done by using
android:textIsSelectable="true"
which only works for API level 11 or higher.
If we want copy and paste on lower API levels,
additional measures have to be implemented.
2015-12-28 14:49:03 -02:00
Torsten Grote
6a954021ae
Sort contacts by latest activity.
...
When you receive a message from a contact,
it will be moved to the top of the list with a nice animation.
Also with this commit, not the entire data set is invalidated each time data changes,
but only the parts of the data that really require an update.
Furthermore, the ContactListItemComparator that is not needed anymore is
removed.
2015-12-28 14:37:23 -02:00
Torsten Grote
4bcd204687
Use a RecyclerView for the Contact List
2015-12-28 14:37:23 -02:00
akwizgran
f899bc0c38
Facade for private message headers. #173
2015-12-17 16:56:58 +00:00
akwizgran
87689855da
Facades for private messaging. #173
2015-12-17 16:56:58 +00:00
akwizgran
4450ab171a
Facades for forums. #172
2015-12-17 16:56:58 +00:00
akwizgran
122380db66
Use new UI/DB interfaces for private messaging.
2015-12-17 16:56:57 +00:00
akwizgran
c5282c5b17
Moved some API classes into packages.
2015-12-17 16:56:57 +00:00
akwizgran
3e3109254f
Merge branch 'conversation-layout-tweaks' into 'master'
...
Layout tweaks for ConversationActivity.
Centre the progress wheel and empty list message, hide the empty list message until the list has loaded.
See merge request !26
2015-12-17 16:35:36 +00:00
akwizgran
6e61504d24
Removed message expiry code. #180
2015-12-16 12:17:38 +00:00
akwizgran
9bb298ed44
Merge branch '174-bsp-renaming-again'
...
Conflicts:
briar-android/src/org/briarproject/android/contact/ConversationActivity.java
2015-12-16 10:42:44 +00:00
akwizgran
b6c9544373
Layout tweaks for ConversationActivity.
2015-12-15 17:08:23 +00:00
Torsten Grote
327073f514
Put conversation view layout in XML file
...
and fix message divider background for lower API levels.
2015-12-15 13:11:11 -02:00
Torsten Grote
2bd53f8363
Show connection status of contact in conversation view
...
Closes #97
2015-12-15 13:11:11 -02:00
akwizgran
2ca2356ecc
Moved MessageHeader to sync package.
2015-12-15 15:05:16 +00:00
akwizgran
e370cafb12
Moved classes from messaging package to sync package.
2015-12-15 15:05:06 +00:00
Torsten Grote
aa7d7642bf
make message status persistent and initialize it from database
2015-12-10 11:25:41 -02:00
Torsten Grote
0a8c42b939
Improve how the status of messages is indicated.
...
Remove the Toast that always says 'Message Sent' and show graphical
indicators instead that show either:
* message is waiting to be sent
* message was sent (or requested)
* message was delivered
2015-12-10 10:11:27 -02:00
akwizgran
027ae8340f
Whitespace-only code formatting changes.
2015-11-30 09:38:25 +00:00
akwizgran
4ca83842d1
Moved ConnectionDispatcher and ConnectionRegistry to plugins package.
2014-11-05 19:40:07 +00:00
akwizgran
cdb5a12156
Use the event bus to observe contacts connecting and disconnecting.
2014-10-03 10:04:02 +01:00
akwizgran
8b8df435a5
Separated event infrastructure from DB.
2014-10-03 09:44:54 +01:00
akwizgran
c8cc287fa1
Delete contacts. Dev task #85 .
2014-05-09 20:08:20 +01:00
akwizgran
6b79cbfc55
No need to call getResources() for getString().
2014-05-09 20:08:20 +01:00
akwizgran
839f67dd44
Replaced last connection time with time of last private message.
2014-04-05 18:14:36 +01:00
akwizgran
3d9f5c496f
Show feedback when nickname or forum name is too long. Bug #45 .
2014-04-05 14:59:30 +01:00
akwizgran
1c282a8835
Show when private messages have been delivered.
2014-04-03 23:42:24 +01:00
akwizgran
3008bcc209
Sort forum messages correctly even if clocks are wrong. Bug #57 .
2014-04-01 19:38:11 +01:00
akwizgran
d83513c5f9
Dismiss dialogs when screen is rotated. Bug #52 .
2014-03-21 14:30:54 +00:00
akwizgran
abfff10f6b
Contacts a forum is already shared with should be selected. Dev task #79
2014-03-17 14:49:11 +00:00
akwizgran
b99a503f24
Removed unnecessary conditionals from logging statements.
...
Very important stuff.
2014-03-12 21:00:14 +00:00
akwizgran
375a597dd2
Removed mark read and mark unread buttons. Bug #48 .
2014-03-12 13:52:20 +00:00
akwizgran
a5b09a0f65
Better notifications. Development task #67 .
2014-03-07 12:21:12 +00:00
akwizgran
c69766fbd2
Removed redundant calls to setTextSize(14), which is the default.
2014-03-01 11:55:54 +00:00
akwizgran
86f8d97d81
Moved some boilerplate into the BriarActivity superclass.
2014-03-01 11:20:04 +00:00
akwizgran
07b4d9b5d8
Show empty list text for contact list, group list, etc. Dev task #71 .
2014-02-27 23:07:26 +00:00
akwizgran
c5d0f30c71
Prettier display of available forums, cleaned up list comparators.
2014-02-27 16:25:47 +00:00
akwizgran
8619f89890
Cleaned up composition screen layouts.
2014-02-27 15:34:52 +00:00
akwizgran
c021bfd9aa
Update unread message count when returning from conversation/group.
...
Fixes bug #42 .
2014-02-27 11:57:51 +00:00
akwizgran
094cda8573
Brighter colours.
2014-02-27 00:10:47 +00:00
akwizgran
e479bf0a4d
Show private message timestamp in grey below content.
2014-02-26 20:59:18 +00:00
akwizgran
52cf47619f
Layout tweaks, dark action bar, don't send empty messages.
2014-02-26 18:36:51 +00:00
akwizgran
b10827d84b
Layout tweaks: outline StrengthMeter, indent EditTexts.
2014-02-11 11:40:08 +00:00
akwizgran
55492dd448
Pad the top and bottom of the list
2014-02-10 11:23:30 +00:00
akwizgran
e582e1d59f
Use a briefer date format (9 Feb instead of 09/02/2014, for example).
2014-02-10 11:19:05 +00:00
akwizgran
209b1bdf1f
Compose messages directly from ConversationActivity. Bug #32 .
2014-02-09 22:44:51 +00:00
akwizgran
269eef57e9
Speech bubble layout for private conversations.
2014-02-09 19:50:12 +00:00
akwizgran
1f169dd160
Refactored finishOnUiThread() into superclass.
2014-02-09 12:11:39 +00:00
akwizgran
4178353c02
Always show private messages expanded in conversation view. Bug #32 .
...
This give a simple and usable interface; we can worry about collapsing
blocks of read messages later.
2014-02-09 11:46:42 +00:00