how can i get soft keyboard height on android?
问题 i have been developing an android project using libgdx for these days . A question occurred during the period. when soft keyboard' appear , some views will be covered,so i want to get the height for solving this bug. i know there is a soft input mode can be set to solve this issue when using android api to develop project ,does libgdx provide any way ? 回答1: Yes you can, with the help of Viewtree Observer and global layout listener, just try below mentioned steps Get the root view of your