1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00
Yaaic/application/res
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
..
drawable Add support for graphical smilies in chat. 2011-03-27 19:51:47 +02:00
layout Resize the fullscreen conversation window when IME appears instead of scrolling 2011-07-02 17:53:41 +02:00
menu Added 2011 to licence header 2011-02-05 13:00:12 +01:00
values Added large ime option, Extended Español support, rephrased fullscreen methodology 2011-07-02 17:53:34 +02:00
values-da Add danish translation (By rasher) 2011-05-06 17:18:20 +02:00
values-de ServerListAdapter: Updated color codes 2011-02-11 12:54:48 +01:00
values-es Added large ime option, Extended Español support, rephrased fullscreen methodology 2011-07-02 17:53:34 +02:00
values-fr French translation updated 2011-06-11 13:58:33 +02:00
values-it Hide join/part setting now hides quit messages too 2011-03-15 20:42:35 +01:00
values-ja New user action view and new actions: reply, query 2011-02-05 16:04:36 +01:00
values-tr fixed missing angle in closing tag 2011-03-30 16:07:37 +02:00
values-zh New user action view and new actions: reply, query 2011-02-05 16:04:36 +01:00
xml Added large ime option, Extended Español support, rephrased fullscreen methodology 2011-07-02 17:53:34 +02:00