In this tutorial basic concepts of EditText control of Android is shown Code: activity_main.xml <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” android:paddingBottom=”@dimen/activity_vertical_margin” …
Category: Android
In this tutorial how to design the style/theme in Android is shown. Code: activity_main.xml <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” android:paddingBottom=”@dimen/activity_vertical_margin” …
In this tutorial how to perform simple arithmetic operations in Android is shown. Code: activity_main.xml <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” android:layout_height=”match_parent” …
In this tutorial how to transfer data from one page to another and how to move from one page to …
In this tutorial how to create, start and stop Service in Android is shown. Android Service is a component that …
In this tutorial Android Activity Life Cycle methods are shown. There are mainly 4 states of Activity, they are as …
In this tutorial how to handle button click event using Java code or using button onclick listener method is shown. …
In this tutorial how to handle button click event using XML code is shown. Code: activity_main.xml <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” android:layout_width=”match_parent” …
In this tutorial how to and how to change color and text by using java code is shown. Code: activity_main.xml …