Home » Author Archives: Ilias Tsagklis (page 2)

Author Archives: Ilias Tsagklis

Ilias Tsagklis
Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.

Android LinearLayout Example

In Android there are may ways you can arrange the components of your Application on the screen. One of the most common layouts is the LinearLayout. In this tutorial we are going to see how LinearLayout works with two different orientation options, for three buttons. An important feature that we are going to discuss is the android:layout_weight attribute of the ...

Read More »

Android ImageButton Selector Example

In Android you can use the ImageButton component to display a normal Button with a custom image as a background. Take a look at our previous tutorial to remember the use of ImageButton. The fact is that you can do more than just an Image which is also a button. In this tutorial we are going to use two different images that will reflect the ...

Read More »

Android ImageButton Example

In Android you can use the ImageButton component to display a normal Button with a custom image as a background. The ImageButton has all the properties of a normal button. So, in this tutorial when the user clicks on the ImageButton, a ClickListener will be called (just like it would with a normal Button…) and display a short message on the ...

Read More »

Android ImageView Example

In Android you can use the ImageView component to display images in your Application. Although it is quite easy to use ImageView, there are many different configuration options and many screens from different devices that you should take into account. You might want to take a look at Drawable Resource and Screen Support documentation.               For this tutorial, ...

Read More »

Android Custom Dialog Example

In Android you can use the Dialog component, and you can customize it to your own User Interface so it can have any use you want. In this tutorial we are going to create a Dialog that will display a custom image and a text message. As we know there is no such thing by default. That means we have to make it ourselves. ...

Read More »

Android Alert Dialog Example

The Alert Dialog is a very common component in all User Interfaces, when you want to inform the User about a serious decisions concerning some aspects or the flow of the Application. In this tutorial, we will learn how to display a simple Alert Dialog, where the User will decide whether to to close the Application or not.               ...

Read More »

Android Progress Bar Example

The progress Bar is a very common component in all User Interfaces, when you want to display the progress of a task that is taking up a lot of time, for example a file download. In this tutorial will create a Progress Bar Dialog to let the user know the progress and a status of a simulated file download activity. ...

Read More »

Android Analogclock And Digitalclock Example

In Android you can use android.widget.AnalogClock component to display a two-handed Analog Clock and android.widget.DigitalClock to display a Digital clock in your Application. Both of these components cannot be used to change the time. For that you may use the TimePicker component.               For this tutorial, we will use the following tools in a Windows ...

Read More »

Android Time Picker Example

Android it’s very easy to set the time using the android.widget.TimePicker component. In this tutorial we are going to see how the user can select the hour, and the minute using the android.app.TimePickerDialog which is an easy to use dialog box.                For this tutorial, we will use the following tools in a Windows 64-bit platform: ...

Read More »

Android Date Picker Example

Android it’s very easy to set the date using the android.widget.DatePicker component. In this tutorial we are going to see how the user can change the day, the month and the year using the android.app.DatePickerDialog which is an easy to use dialog box.                   For this tutorial, we will use the following tools in ...

Read More »