android_calculator-12: cursor is missing on tablet pc (android3?)

This commit is contained in:
Sergey Solovyev 2011-11-15 10:47:12 +04:00
parent 1c5f3b80b4
commit c34700108c

View File

@ -7,6 +7,7 @@ package org.solovyev.android.calculator;
import android.content.Context; import android.content.Context;
import android.graphics.Color; import android.graphics.Color;
import android.os.Build;
import android.text.Html; import android.text.Html;
import android.util.AttributeSet; import android.util.AttributeSet;
import android.util.Log; import android.util.Log;
@ -42,7 +43,13 @@ public class CalculatorEditor extends EditText {
@Override @Override
public boolean onCheckIsTextEditor() { public boolean onCheckIsTextEditor() {
// fix for missing cursor in android
//if ( Build.VERSION.SDK_INT >= 11 ) {
// cannot be applied as in that case soft keyboard appears on application start
//return true;
//} else {
return false; return false;
//}
} }
@Override @Override