mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 17:02:21 -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. |
||
---|---|---|
.. | ||
drawable | ||
layout | ||
menu | ||
values | ||
values-da | ||
values-de | ||
values-es | ||
values-fr | ||
values-it | ||
values-ja | ||
values-tr | ||
values-zh | ||
xml |