Home » Android Core » Page 3

Tag Archives: Android Core

Android ToggleButton Example

Sometimes you may want the user to select whether he wants a specific action or operation of your Android Application to be switched on or off. In Android, this is very easy using the ToggleButton component. A ToggleButton has simply two states : ON or OFF. In this tutorial we are going to see how to set up and display ToggleButtons ...

Read More »

Android Radio Buttons Example

One of the easiest and most common ways to accept user input in an Android Application is the Radio Button component. Usually, we want radio buttons to be in groups, representing a set of options. In a group, when a radio button is selected all the other options in this group are automatically deselected. But you can also choose to have interdependent radio buttons in your application, ...

Read More »

Android Checkbox Example

One of the easiest and most common ways to accept user input in an Android Application is the Checkbox component. In this tutorial we are going to see how to set up and display a checkbox list with some options for the user. Furthermore, we are going to use a button that when it’s pressed, a message will be displayed reflecting the ...

Read More »

Android Password Field Example

In this tutorial we will see how you can use a normal EditText component in order to take a password as an input. Additionally we’ll see how to create a custom Label with some text in it, as well as a simple Button. When the user press the button, the password will be displayed in a toast message.     ...

Read More »

Android Textbox Example

In your Android application, you may want to accept user input. There are many ways you can do that and one of the most basics is the textbox. In Android you can use the EditText class in order to create a textbox on your screen in which the user will write text. Then, we have to bundle this textbox with ...

Read More »

Android Button Example

One of the most basic elements in any Graphical User Interface is the button. So in this post we’ll talk about creating a button and adding it to our application. Furthermore, we’ll show how to bundle a specific button with an action, which will occur every time the user presses the button.                For ...

Read More »