]> git.zerfleddert.de Git - ms2-fixes/blobdiff - MS2Debounce/src/de/rmdir/ms2debounce/MS2Debounce.java
add debounce_delay edittext
[ms2-fixes] / MS2Debounce / src / de / rmdir / ms2debounce / MS2Debounce.java
index 3b4804cf67c506594010ac58aa459a99cfc1dd31..d1ece2be16fe4a016a32cda183600b795117c649 100644 (file)
@@ -7,6 +7,7 @@ import android.os.Bundle;
 import android.content.Intent;
 import android.content.DialogInterface;
 import android.widget.TextView;
+import android.widget.EditText;
 import android.widget.Button;
 import android.widget.CheckBox;
 import android.view.View;
@@ -38,15 +39,17 @@ public class MS2Debounce extends Activity
        }
 
        private void updateUI() {
-               TextView text = (TextView)findViewById(R.id.text);
-
                disableUI();
 
                boolean loaded = module.isLoaded();
                boolean safe_to_load = module.is_safe_to_load();
 
+               TextView text = (TextView)findViewById(R.id.text);
                text.setText("Current status:\n\nModule loaded: " + loaded + "\ndebounce_delay: " + module.getDelay() + "ms\nsafe_to_load: " + safe_to_load);
 
+               //EditText textDelay = (EditText)findViewById(R.id.debounce_delay);
+               //textDelay.setText(module.getSavedDelay());
+
                Button reload = (Button)findViewById(R.id.reload);
                if (loaded) {
                        reload.setEnabled(true);
Impressum, Datenschutz