The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
Android build broken?
hardcoredaniel
Guest
Posted: Sun Oct 02, 2016 1:43 pm
Hi,
SDL trunk does not build for me anymore because the import
import android.widget.AbsoluteLayout;
is missing. This class is still used once in the code
case COMMAND_TEXTEDIT_HIDE:
if (mTextEdit != null) {
// Note: On some devices setting view to GONE creates a flicker in landscape.
// Setting the View's sizes to 0 is similar to GONE but without the flicker.
// The sizes will be set to useful values when the keyboard is shown again.
mTextEdit.setLayoutParams(new AbsoluteLayout.LayoutParams(0, 0, 0, 0));