
Search In
If you are looking to make Custom Font in android check the below code example. For this first download the required fonts on your system and then place it in fonts folder. After putting fonts in the assets/fonts folder then I have used java code thr
TextSwitcher is useful to animate a label on screen. TextSwitcher animates the current text out and animates the new text. In below example Frist I have created a main layout, In main layout I have added TextSwitcher attributes. See the below example
In the below layout example, I have created a dialog box with RecyclerView. Here I have added first RecyclerView dependency to Grandle file. Now in next step I have Created a Main RelativeLayout. All layout added in Main RelativeLayout then created L
To make use of different font style in your android project follow the steps mentioned below:-
1) Create an Assets resource directory in the main Directory of your project.
2)Now download the font style that you wish to use in your project having &
In the below example I have created Static JSON Parsing program in android. First I have added two TextView within RelativeLayout. In MainActivity I have used JSON object and JSON array JSON object within curly bracket ({) and JSON
In the below example function I have created Snackbar in android. When you click on button a message show at the bottom of the device(mobile) screen. Snackbars appear above all other elements on screen and only one can be displayed at a time and mess
In the below example code I have created blur background image function. In activity_main.xml layout I have added a Button and ImageView.
Now see programming area, here I have used Bitmap class. When a user clicks on button background image wi
In this tutorial, we will know that how to convert a text into speech. Android has a predefined convert engine called TextToSpeech which converts text words in speech.
You can use this feature in many application such as a dictionary application whe
Sometime we need to download large file from server or some progress which takes time. For user experience we show progress bar so that user can check estimate time and progress completion.
This blog is about how to set up Progress bar in Notificat
Hand-Up notification comes up with API level 21.
Hands-up notification is open small floating window on top of the screen only when device is active.
Hand-up notifications are High-priority notifications.Hands-up notification required to set a vibra
