Commit Graph

19 Commits

Author SHA1 Message Date
Sebastian Kaspari 8ecb697f28 Use a Holo-like style for EditText fields. 2012-04-12 11:48:15 +02:00
Sebastian Kaspari 21032950b7 Update copright line (2009-2012). 2012-01-21 23:12:55 +01:00
Sebastian Kaspari b09ba251ea ConversationActivity: Make text input smaller and more "flat". 2012-01-21 11:50:58 +01:00
Sebastian Kaspari 25cf7eb2ad ConversationActivity: Add ViewPagerIndicator. 2012-01-21 11:30:41 +01:00
Sebastian Kaspari e04499070a Replace gallery view for conversations by ViewPager. Fixes #38. 2012-01-21 08:56:40 +01:00
Rey Rey 2e2aebf2c4 Micro optimized full screen code. Made starvation mode leaner.
Conflicts:

	application/src/org/yaaic/activity/ConversationActivity.java
2011-07-02 19:49:16 +02:00
Steven Luo ccaf9f59c4 Resize the fullscreen conversation window when IME appears instead of scrolling
When an activity sets FLAG_FULLSCREEN on its window, Android assumes
that the window size will always be the same as the screen size.  This
causes the window to scroll instead of resizing when the soft keyboard
comes up, which (according to a quick Google search) isn't the behavior
most developers are expecting.

This patch implements an ugly workaround: extend the root element of the
layout (in our case, a LinearLayout) to hook into the onMeasure()
callback, which is called when the window size changes, so that we can
resize ourselves when the window size changes.
2011-07-02 17:53:41 +02:00
Rey Rey 6da6a7b76b Added large ime option, Extended Español support, rephrased fullscreen methodology 2011-07-02 17:53:34 +02:00
Rey Rey 93e77ea6ed Fullscreen chat implementation. pans window instead of resizing, not easly fixable 2011-07-02 17:50:02 +02:00
Steven Luo 35609e5529 IME behavior changes for the ConversationActivity
(1) Let full-screen IMEs wrap the text into multiple lines instead of
making the text scroll off the screen.

(2) Provide a preference to let the user choose whether or not to enable
autocorrection of typed text.

(3) Provide a preference to let the user choose whether or not to enable
autocapitalization of sentences.  Note that even when this is enabled,
autocapitalization will only happen if the option is also enabled in the
IME.

(4) In landscape mode only, don't replace the Enter key with a Send
button, to make it harder to accidentally send a message.  (We can't do
this in portrait, because we would be left without any send button at
all -- perhaps the input line should be changed to be similar to the
text message application, which has a send button next to the input
line?)
2011-06-08 23:11:28 +02:00
Steven Luo 09fedc6975 Include channel topic in the displayed conversation title 2011-06-08 23:11:28 +02:00
liato b49ead73ad Fix width issues in gallery. 2011-03-27 17:10:54 +02:00
Sebastian Kaspari 78a47ca17b dp/sp: More adjustments 2011-03-15 22:11:55 +01:00
Sebastian Kaspari 22fb895ad3 conversations.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari 1e0a15c110 Use view with new name in XML 2011-03-06 11:25:49 +01:00
Thomas Martitz db91a85676 Reduce sensitivity of the channel gallery view.
Higher scroll speeds are reduced stronger.
2011-03-06 11:00:02 +01:00
Sebastian Kaspari d8b1a0218f Added 2011 to licence header 2011-02-05 13:00:12 +01:00
Sebastian Kaspari 02b7ec1741 Replace all tabs with four spaces! 2010-11-18 18:52:19 +01:00
Sebastian Kaspari 1250c10d9c Merged application and test project into one repository 2010-11-07 08:35:45 +01:00