title: How to adapt layouts to soft keyboard?
body: <p>I have an Android app where layout elements size and margins are defined in dimens files (e.g, values-hdpi/dimens.xml, value-xhdpi/dimens.xml, etc.). That worked fine on a few devices, however on the first device with soft keyboard (htc), my elements are not aligned as it should be (keyboard is moved up and overlap some elements). I should note that I'm using my custom keyboard. How can I overcome this ?</p>