1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00
Yaaic/application
Steven Luo 159cb8195d Remember switched conversations across screen orientation changes
As of now, the activity does not remember whether a conversation is
switched across configuration changes (such as screen rotations).  Fix
this by adding onSaveInstanceState() and onRestoreInstanceState()
callbacks in the activity to pass this information to the new instance.

To make the implementation of this simpler, all code to configure the
MessageListView, which was duplicated in several places in the codebase,
has been moved to the MessageListView's constructor.

While we're at it, make the padding setting independent of screen
density instead of specifying in fixed pixels (equivalent to specifying
the value in dp instead of px), and increase the padding for switched
views.  This ensures that message text isn't obscured by the gradient at
the edges of the ConversationGallery, which started happening when we
began caching MessageListViews in the DeckAdapter.
2011-06-08 23:11:28 +02:00
..
.settings Adjusted code formatter (eclipse) 2011-01-15 23:49:25 +01:00
res Add danish translation (By rasher) 2011-05-06 17:18:20 +02:00
src/org Remember switched conversations across screen orientation changes 2011-06-08 23:11:28 +02:00
.classpath Remove tagsoup dependency. Improve mIRC color code parsing speed. 2011-03-27 19:42:05 +02:00
.project Merged application and test project into one repository 2010-11-07 08:35:45 +01:00
AndroidManifest.xml Updated version number: Yaaic 0.8 2011-04-15 22:00:55 +02:00
build.properties Merged application and test project into one repository 2010-11-07 08:35:45 +01:00
build.xml Merged application and test project into one repository 2010-11-07 08:35:45 +01:00
default.properties Target and minimum SDK Version set to 4 (Android 1.6) 2011-02-19 21:09:44 +01:00