1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 10:52:16 -05:00
Yaaic/application/res/layout
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
..
about.xml about.xml: Fix indentation 2011-07-02 17:48:14 +02:00
actionitem.xml actionitem.xml: Replace px by sp/dp 2011-03-15 21:31:50 +01:00
addserveritem.xml addserveritem.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
aliasadd.xml (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
aliasitem.xml (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
authentication.xml Internationalization of Authentication GUI 2011-06-11 13:56:42 +02:00
channeladd.xml channeladd.xml view: Replace tabs with white spaces 2011-06-09 00:02:34 +02:00
channeldialog.xml channeldialog.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
channelitem.xml channelitem.xml: Use dp for padding and sp for fonts 2011-03-15 21:31:53 +01:00
commandadd.xml commandadd.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
commanditem.xml commanditem.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
conversations.xml Resize the fullscreen conversation window when IME appears instead of scrolling 2011-07-02 17:53:41 +02:00
join.xml join.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
message.xml dp/sp: More adjustments 2011-03-15 22:11:55 +01:00
rounded.xml rounded.xml: Identation 2011-03-15 21:31:52 +01:00
serveradd.xml (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
serveritem.xml dp/sp: More adjustments 2011-03-15 22:11:55 +01:00
servers.xml Added 2011 to licence header 2011-02-05 13:00:12 +01:00
user.xml user.xml: Replace px by sp/dp 2011-03-15 21:31:53 +01:00
useritem.xml useritem.xml: Use dp for padding and sp for fonts 2011-03-15 21:31:53 +01:00
users.xml Added 2011 to licence header 2011-02-05 13:00:12 +01:00