Android SoftKeyboard Sample project wrong width on Nougat

64 views Asked by At

I got the Android SoftKeyboard from here:

https://github.com/android/platform_development/tree/master/samples/SoftKeyboard

Built and run the app with Android Studio. This is what I get on the Nexus 5 API 25 Emulator:

enter image description here

When I run it on the Nexus 4 API 23 Emulator it looks correct:

enter image description here

Anyone knows what might be going on here and why the width is wrong in the first screenshot?

UPDATE: Same simulator using API level 25 and 24 results in screenshot 1. API level 23 and below don't have this problem. Wonder if the APIs have changed or is a bug in the SDK...

0

There are 0 answers