Questions tagged [action-button]

The action bar allows you to add buttons for the most important action items relating to the app's current context.

Buttons that appear directly in the action bar with an icon and/or text are known as Action Buttons. Actions that can't fit in the action bar or aren't important enough are hidden in the action overflow.

163 questions
34
votes
1 answer

Android - Calling methods from notification action button

I know that you can launch Activities from the action buttons using PendingIntents. How do you make it so that the a method gets called when the user clicks the notification action button? public static void createNotif(Context context){ ... …
31
votes
4 answers

R shiny: Add weblink to actionButton

I have a box in my shiny application that has a button included within a shiny dashboard box like this: shiny::fluidRow( shinydashboard::box(title = "Intro Page", "Some description...", shiny::actionButton(inputId='ab1', label="Learn More",…
Komal Rathi
  • 4,164
  • 13
  • 60
  • 98
7
votes
3 answers

Use href infobox as actionbutton

I was building an App with Rshiny. I have a couple of infoBoxand I would like to use the href option to make a pop-up when clicking on the infoBox. I use shinyBS for the popup options. here is what i tried : valueBox(value=entry_01, icon =…
Christophe D.
  • 1,089
  • 11
  • 21
6
votes
2 answers

Hide notification action button at run-time

I have registered for push and local notifications with two action buttons: action1 and action2. Upon receiving the notification, I can see both and can also take action depending on the action id. However, one of my use cases requires me to hide…
A_G
  • 2,260
  • 3
  • 23
  • 56
6
votes
1 answer

R shiny: open a pdf after clicking an actionButton

I am wondering whether it's possible to link a local pdf file to an action button in Shiny. For example, I have a manual button. A pdf file will be opened once the user clicks the "Manual" action button. Thanks in advance.
SixSigma
  • 2,808
  • 2
  • 18
  • 21
5
votes
1 answer

reset R shiny actionButton to use it more than once

Does someone know how to make actionButton (R shiny) reset to initial value in order to use it more than once? Please find below a reproductible example: In this example, I would like to change the chart color by selecting the corresponding button:…
JeanBertin
  • 633
  • 1
  • 7
  • 23
5
votes
1 answer

Actionbutton reset needed (or alternative)

I am having some trouble using multiple actionbuttons in shiny. I have constructed a textarea where text can be inserted. This text is manipulated such that three strings are the result. These three string are then made the label of the three…
Maarten
  • 53
  • 4
4
votes
1 answer

Pop up window after clicking on DT in shiny

I am struggling on getting a pop up window after click on an action button that are inside a Data Table. All the buttons has the same id. Could anyone help me on the example below? Example: rm(list =…
Bruno Silva
  • 425
  • 1
  • 4
  • 7
4
votes
1 answer

Is there any way for an actionButton() to navigate to another tab within a R Shiny application?

I have multiple tabs within my R Shiny app and haven't discovered a way to have my action button navigate to another tab. The first tab ends with a "submit info" action button, and the goal is to have the "results" tab open after the user submits.…
eteuler
  • 123
  • 2
  • 7
4
votes
2 answers

Android Toolbar Action Buttons not showing

I am using new toolbar component from AppCompat library. I am trying to show action buttons on my toolbar but they never show up.
Andrei
  • 42,814
  • 35
  • 154
  • 218
3
votes
2 answers

ActionButton doesn't work properly after having click it and introduce user's input later in Shiny

I have created one app that it allows you to draw a plot. In order to show it, you need to click an actionButton. The idea is that every change you make in the plot will be changed after you have clicked the button. However, I have added a…
emr2
  • 1,436
  • 7
  • 23
3
votes
0 answers

Ionic 4, Firebase-x and FCM Push notification with action buttons

I am trying to add action buttons to the push notifications sent via the firebase admin SDK to my Ionic 4 app using the Firebase-X native plugin to handle push notifications. My app is running on android and ios. Here's my current script that sends…
3
votes
1 answer

R Shiny - How do I toggle between two different plots using an action button

In my app, I want plot1 to display by default, and then if an action button is clicked, have plot2 replace plot1. If it is clicked again, revert to plot1, and so on. server <- function(input, output, session) { plot1 <- (defined here) …
laura
  • 47
  • 5
3
votes
2 answers

Shiny, two action buttons, it only responds to the second button and not to the first button

Tell me in R Shiny, there are two action buttons. I want to update the data according to the button I press. But for some reason it only responds to the second button and not to the first button. What is the solution? if (interactive()) { ui <-…
richiee
  • 31
  • 1
3
votes
1 answer

shiny: can an actionButton() return an error in case of empty/non-selected radioButtions()?

I have not found a solution to my question, this SO thread came close but not entirely. I have produced a simple app, which contain several radioButtons(). Logical to the basic concept of the app, some of them are empty as in radioButtons( ... ,…
cmirian
  • 2,572
  • 3
  • 19
  • 59
1
2 3
10 11