I am experimenting with custom ime on android. The sample SoftKeyboard app seems to show everything I need except how to make the keyboard look like the standard one (colors, hover effects, sizes etc.). It seems like reusing resources from the standard keyboard sources could work, but I receive errors when trying to compile them like:
error: Error: No resource found that matches the given name: attr android:layout_alignParentStart'.
Commenting these errors produce lots of other XML errors, like:
error: No resource identifier found for attribute 'additionalMoreKeys' in package 'com.android.inputmethod.latin' key_f1.xml
Is there some semi automatic a way to fix these errors and make them compile?
I have got the sources from here: https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/android-4.4.2_r2
Thanks in advance.