From 196453df74d85156aadd7f370fb5e6bd20edb1cf Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 8 Feb 2023 16:53:30 -0500 Subject: [PATCH 1/6] If there is only one list-single field, render as buttons If there is only one (non-cancel) action and only one field and it's a list-single then let the user just tap the option they want to continue instead of choosing something and then tapping next. --- src/cheogram/res/layout/button_grid_item.xml | 10 ++ .../res/layout/command_button_grid_field.xml | 67 ++++++++ .../conversations/entities/Conversation.java | 155 +++++++++++++++++- 3 files changed, 225 insertions(+), 7 deletions(-) create mode 100644 src/cheogram/res/layout/button_grid_item.xml create mode 100644 src/cheogram/res/layout/command_button_grid_field.xml diff --git a/src/cheogram/res/layout/button_grid_item.xml b/src/cheogram/res/layout/button_grid_item.xml new file mode 100644 index 0000000000000000000000000000000000000000..ca45d316e7998c2229183c8105cb82f8327807c2 --- /dev/null +++ b/src/cheogram/res/layout/button_grid_item.xml @@ -0,0 +1,10 @@ + + + +