Commit Graph

24 Commits

Author SHA1 Message Date
Torsten Grote
880333f094 address issues found so far in code review 2015-12-28 17:04:03 -02:00
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
akwizgran
f899bc0c38 Facade for private message headers. #173 2015-12-17 16:56:58 +00:00
akwizgran
2ca2356ecc Moved MessageHeader to sync package. 2015-12-15 15:05:16 +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
1c282a8835 Show when private messages have been delivered. 2014-04-03 23:42:24 +01:00
akwizgran
c69766fbd2 Removed redundant calls to setTextSize(14), which is the default. 2014-03-01 11:55:54 +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
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
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
akwizgran
efa62f7619 Show paperclip icon for non-text messages. 2014-02-08 18:21:21 +00:00
akwizgran
97fb9c8c3e Updated group conversation view to resemble private conversation view. 2014-02-08 17:36:17 +00:00
akwizgran
6a10688112 Improved ConversationActivity (bug #32), but it's still not quite there.
GroupActivity needs to receive a similar treatment.
2014-02-07 22:03:29 +00:00
akwizgran
6b6b466724 Layout fixes for long nicknames and group names. 2014-02-06 18:32:33 +00:00
akwizgran
a45d09ef5c Show whether identities are anonymous, unknown, or verified.
Dev task #52. Known but unverified identities are also supported, but
currently unused. These will be used in future for contacts who've been
introduced but not verified face to face.
2014-02-04 12:32:51 +00:00
akwizgran
0cebc42ddb Padding now depends on screen size. Closes dev task #57. 2014-01-09 12:42:19 +00:00
akwizgran
832476412c Changed the root package from net.sf.briar to org.briarproject. 2014-01-08 16:18:30 +00:00