Applying custom themes in your application

Applying custom themes in your application

This example shows how you can apply your own theme which is inherited from built-in themes on your application/activity in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it ApplyCustomTheme. 2.) Write following into main.xml: <?xml version="1.0"...
0
How to Use Build-in android themes in your application

How to Use Build-in android themes in your application

This example shows how you can apply built-in themes in your application. Algorithm: 1.) Create a new project by File-> New -> Android Project name it BuiltInThemeExample. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Set Custom theme inherited from built-in android theme

Set Custom theme inherited from built-in android theme

This example shows how you can set your own theme which is inherited from built-in themes in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it CustomThemeExample. 2.) Write following into main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout...
0
Displaying a toast message with Image

Displaying a toast message with Image

This example shows how to display toast message with image in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it ToastWithImageExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Check Wi-Fi state in android

Check Wi-Fi state in android

This example explains how to check Wi-Fi state from your application in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it CheckWiFiState. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Turn On/Off Wi-Fi from your application

Turn On/Off Wi-Fi from your application

This example explains how to turn on/off Wi-Fi from your application in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it WiFiOnOffExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Removing Title Bar from Activity

Removing Title Bar from Activity

This example explains how you can remove title bar from your activity. Algorithm: 1.) Create a new project by File-> New -> Android Project name it RemoveTitleBar. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Send SMS by starting your activity

Send SMS by starting your activity

This example explains how you can send sms by starting your activity. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SendSMSExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" ...
0
Send Email on startActivity

Send Email on startActivity

This example explains how you can send email by using ACTION_SEND on start activity. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SendEmailExample. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Set Transparent Background

Set Transparent Background

This example explains how to set background of your app transparent in android. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SetTransparentBackground. 2.) Write following into main.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
0
Proudly designed by Theme Junkie.