
Search In
The PackageManager class is used to get the information of application packages that are currently installed on android device. You can get an instance of PackageManager class using getPackageManager().
Below example will show you how to imp
This blog is about adding custom Layout to TabLayout.
Here we start.
1. Create Project.
2. Open Gradle file of the project.
3. Add design dependencies to the gradle.
compile 'com.android.support:design:24.0.0'
An android app takes few seconds to startup, especially on its first boot. During this time a splash screen displays the startup progress or may display the branding information to identify and promote the application to the user.
In my last blog I have written about how to use Jhansi Karee's Android Scanning library.
This blog is about how you can use/modify library code according to your requirement.
I am assuming that you are already familiar with Op
In the below example I have created Drawing Polyline and Markers along the tapped position in Google Map. ”Polyline is a list of points where line segment are drawn between consecutive point”. Here I have created fragment attribute in activity_main.
If you want to create Zoom-In and Zoom-out of an image using Touch events function check my below example. In below example First I have created a main layout named xml.layout then in xml.layout I have added 2 attributes, first is FrameLayout attribu
Test driven development is basically a procedure to achieve actual functionality or goal. This is also called in short TDD. This process contains following steps that are :
Write test cases
Run test case
Android 8.0 (API level 26) included a feature which allows you to instruct a TextView to let the text size dynamically expand or contract automatically to fill its layout based on the TextViews characteristics and boundaries. This setting makes it ea
This tutorial describes how to show effect when list is scrolling up and down. Hiding Toolbar and any other views when list is scrolling down and showing it again when it’s scrolling up.
In this tutorial we are using RecyclerView and Tollbar to achi
This tutorial is very useful if you are using material design navigation drawer. In Android's Lollipop navigation drawer it provide smooth animation when we swipe across the screen from left edge. You may use to this same functionality in older versi