-
Notifications
You must be signed in to change notification settings - Fork 658
DialogAPI Improvements / Enhancements #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR implements these feature requests:
It also adds the ability to use speech to text as an InputMethod! The DialogActivity has been redone to make it easier to extend and add new InputMethod types in the future.
|
|
I will have a look at this, looks interesting! @Neo-Oli What do you think about this? |
|
@fornwall Well, it implements a lot of things that people have been asking for for a long time, so that's great. |
* New Widgets: Date, Time, Spinner, Text-To-Speech, Confirmation
* Results are returned as JSON including code of button pressed
* Change DialogActivity to AppCompatActivity
* Add support library dependency to gradle
* Change theme to be compatible with AppCompatActivity
* Refactor getSpinnerItems to getInputValues so BottomSheet can use
as well
* Prevent speech InputMethod from being cancelled on touch outside
* Change FrameLayout to be NestedScrollView to handle scrolling
large dialogs as necessary
74248ec to
ea61077
Compare
|
The accompanying termux/termux-api-package#18 is now finished! |
|
@Grimler91 Should be fixed now! (Issue was missing quotes in the calling script on the widget variable) |
|
Here's the (way more verbose) logcat "*:W" from android 8 : |
|
@dkramer95 great, so only update to termux-api-package? |
|
@Grimler91 Yes! |
|
@dkramer95 I still get the same behaviour :/ |
|
Scratch that. I rebuild the app and it works as it should! |
|
The -p, -m, -i options for the text dialog aren't accepted, the termux-dialog script probably needs an update. |
|
@Grimler91 This is the correct behavior... the -i option requires a text argument (i will make that clearer in the help). |
|
@Grimler91 The termux-dialog script has been updated but only with documentation changes. I tried to make things a bit more clear. Have you ran into any other issues? |
|
@dkramer95 ah, I miss-understood the help message. termux/termux-api-package@08c9978 made it clearer. |
* change password type to a boolean option instead of string
* allow multiline password (text only not numeric)
|
@Grimler91 I was actually able to get multiline text password to work, i.e. -p and -m together. I also added a -n option for number input, but this won't work alongside the -m option. However -n will work -p. |
|
@dkramer95 Awesome work! This will be in a v0.25 update which will be released in a few days. |
Uh oh!
There was an error while loading. Please reload this page.