Using emojis as caption in buttons
Description
We have been using text in caption for a while now. But, there could be a requirement where you wanted to display a graphical representation of something. You can achieve this by simply using emojis in the caption.
Note: You can use this emojis in static Labels. But, we are providing an example of using this emojis in buttons, because we feel it makes much more sense. Check out here on how to create buttons.
- Scenario 1: You might want to display a graphical representation for an approval (instead of the regular text "Approve" and "Reject").
- Scenario 2: You might want to display a graphical representation for capturing your employees reactions.
- Scenario 3: You might want to display a graphical representation for capturing a rating.
Let's see how we can address the above mentioned scenarios.
Scenario 1:
You might want to display a graphical representation for an approval (instead of the regular text "Approve" and "Reject").
- We are creating the controls for the activity, where you will be displaying the actions for "Approve" and "Reject".
- In this activity, we are going to display only buttons with emojis. Ordinary buttons and buttons in the bar.
- Ordinary buttons with some styling. You can do more with the styling, you can play with it. The first two buttons are the oridinary buttons with some styling to increase the size of it. Refer the below screen shot.
- Back button (without styling).
- Default button (without styling).
Output for Scenario 1:
Scenario 2:
You might want to display a graphical representation for capturing your employees reactions.
- In this, we will see the different emojis used with different size and its output.
- Oridinary buttons with some styling. In this case, we have six oridinary buttons with some styling to increase the size of it. Refer the below screen shot.
- Back and Default button (without styling).
Output for Scenario 2:
Scenario 3:
You might want to display a graphical representation for capturing a rating.
- This is exactly same as the Scenario 2, but having different emojis in the ordinary buttons.
- Oridinary buttons with some styling. In this case, we have five oridinary buttons with some styling to increase the size of it. Refer the below screen shot.