diff --git a/NOTES b/NOTES index 6ea0519..860e3e1 100644 --- a/NOTES +++ b/NOTES @@ -1005,8 +1005,16 @@ there's no three-dots menu button, so no way to get to Settings. Anyways, there's a whole laundry list of things to do to get into the app store and to get shown in the regular launcher. +... + +Luckily, even though the list of requirements is long, it is largely +irrelevant or redundant, so I'm just about there. + XXX - android TV support + - make buttons work + - doc should start a WebView instead of a URL?? + - about shouldn't use Dialog?? XXX - figure out how to force a refresh on eink devices (onyx boox) when the password is displayed (Roman) diff --git a/app/src/main/java/org/galexander/sshd/SimpleSSHD.java b/app/src/main/java/org/galexander/sshd/SimpleSSHD.java index 9dd71d8..7a9cf74 100644 --- a/app/src/main/java/org/galexander/sshd/SimpleSSHD.java +++ b/app/src/main/java/org/galexander/sshd/SimpleSSHD.java @@ -42,7 +42,7 @@ public class SimpleSSHD extends Activity super.onCreate(savedInstanceState); app_private = getFilesDir().toString(); Prefs.init(this); - setContentView(R.layout.main); + setContentView(is_tv ? R.layout.main_tv : R.layout.main); log_view = (EditText)findViewById(R.id.log); startstop_view = (Button)findViewById(R.id.startstop); ip_view = (TextView)findViewById(R.id.ip); diff --git a/app/src/main/res/layout/main_tv.xml b/app/src/main/res/layout/main_tv.xml new file mode 100644 index 0000000..504fd66 --- /dev/null +++ b/app/src/main/res/layout/main_tv.xml @@ -0,0 +1,85 @@ + + + + + +