mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-12 03:55:01 -05:00
ccaf9f59c4
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. |
||
---|---|---|
.. | ||
about.xml | ||
actionitem.xml | ||
addserveritem.xml | ||
aliasadd.xml | ||
aliasitem.xml | ||
authentication.xml | ||
channeladd.xml | ||
channeldialog.xml | ||
channelitem.xml | ||
commandadd.xml | ||
commanditem.xml | ||
conversations.xml | ||
join.xml | ||
message.xml | ||
rounded.xml | ||
serveradd.xml | ||
serveritem.xml | ||
servers.xml | ||
user.xml | ||
useritem.xml | ||
users.xml |