Beginner

Android highlight the paragraph in TextToSpeech

This post is about how to change paragraph color which is current speaking in TextToSpeech. Creating new project 1. Create a new project by going to File ⇒ New Android Project, fill the required details and then click on finish. 2. The below layout file consist of two textView and a button to trigger an event that will highlight the …

Android highlight the paragraph in TextToSpeechRead More »

Android Text to Speech Example

Android is providing a cool feature (from Android 1.6) called Text to Speech (TTS) or speech synthesis which speaks the text in different languages. This tutorial is about how to work with android text to speech or android speech synthesis. It also includes changing the language type, speech pitch and speech rate. Creating new Project …

Android Text to Speech ExampleRead More »

Android Styles and Themes

This article is about Android Styles and Themes and how to use them in Android application with the help of simple examples. Style A style is a collection of attributes that specify the appearance for a single View. A style can specify attributes such as font color, font size, background color, and much more. Create and apply a …

Android Styles and ThemesRead More »

Android Drag and Drop Example

This tutorial is about Android drag and drop feature and how to use it in an Android application with a simple example. Android Drag and Drop framework, allows you to move data from one View to another using a graphical drag and drop gesture. Although the framework is primarily designed for data movement, you can …

Android Drag and Drop ExampleRead More »

Android GridLayoutManager Example With RecyclerView

This article is about Android GridLayoutManager and how to use it with RecyclerView to show items in uniform grid with the help of simple android application. GridLayoutManager The RecyclerView widget is a more advanced and flexible version of ListView. It is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited …

Android GridLayoutManager Example With RecyclerViewRead More »

Android AlertDialog Example

This article is about Android AlertDialog and how to use it in android application with simple examples. AlertDialog AlertDialog is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for events that require users to take an action …

Android AlertDialog ExampleRead More »

Android Notification Example

This post is about android notification, how to create a simple notification, notification styles, how to add actions in notifications with the help of simple android application. Notification A Notifications provide short, timely information about events happened in the application, even if the application is not running. Creating a Basic Notification A notification in its …

Android Notification ExampleRead More »

Android Snackbar(Java/Kotlin)

This article is about Android Snackbar and how to use it in android application with simple examples in Java and Kotlin. Snackbar Snackbar is an Android Material Design component . It provide lightweight response about an operation by showing a short message at the bottom of the screen on mobile and lower left on larger …

Android Snackbar(Java/Kotlin)Read More »

Android Toast(Java/Kotlin)

This article is about Android Toast and how to use it in android application with simple examples using Java and Kotlin. Toast A toast provides simple feedback about an operation in a small popup.  By default it appears near the bottom of the screen, centered horizontally. Toasts are not clickable and automatically disappear after a …

Android Toast(Java/Kotlin)Read More »

Android RecyclerView Example with ItemClick(part II)

In the previous article, we have already talked about how to work with RecyclerView with a simple example. Now In this article, we will talk about how to display the description of an item in another activity on clicking of a button of each RecyclerView Item. Get GITHUB code from here. Updating Existing Project 1 …

Android RecyclerView Example with ItemClick(part II)Read More »

%d bloggers like this: