Azhar has Published 721 Articles

How to how to customize snackBar's layout in Android?

Azhar

Azhar

Updated on 15-Nov-2019 11:55:11

291 Views

This example demonstrates how to customize snackBar's layout in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add ... Read More

How to change the background color of the options menu in Android?

Azhar

Azhar

Updated on 15-Nov-2019 11:50:46

5K+ Views

This example demonstrates how to change the background color of the options menu in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to make surfaceview transparent in an Android App?

Azhar

Azhar

Updated on 15-Nov-2019 11:28:08

697 Views

This example demonstrates how to make surfaceview transparent in an Android App.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         ... Read More

How to change colors of a Drawable in Android?

Azhar

Azhar

Updated on 15-Nov-2019 11:24:26

2K+ Views

This example demonstrates how to change the colors of a Drawable in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. Step 3 − ... Read More

How to set Android Toast duration longer than Toast.LENGTH_LONG?

Azhar

Azhar

Updated on 15-Nov-2019 11:11:12

899 Views

This example demonstrates how to set Android Toast duration longer than Toast.LENGTH_LONG.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.         ... Read More

How to use Material Design components in an Android App?

Azhar

Azhar

Updated on 15-Nov-2019 11:06:29

471 Views

This example demonstrates how to use Material Design components in an Android App.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.       ... Read More

How to create transparent statusbar and ActionBar in Android?

Azhar

Azhar

Updated on 15-Nov-2019 11:00:11

2K+ Views

This example demonstrates how to create a transparent statusbar and ActionBar in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step ... Read More

How to filter a RecyclerView with a SearchView on Android?

Azhar

Azhar

Updated on 15-Nov-2019 10:55:38

6K+ Views

This example demonstrates how to filter a RecyclerView with a SearchView on Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step ... Read More

How do I change the background color of the ActionBar of an ActionBarActivity?

Azhar

Azhar

Updated on 15-Nov-2019 10:43:40

892 Views

This example demonstrates how to change the background color of the ActionBar of an ActionBarActivityStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to change color and font of Android ListView?

Azhar

Azhar

Updated on 15-Nov-2019 10:34:56

1K+ Views

This example demonstrates how to change the color and font of Android ListView.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step ... Read More

Advertisements