Category: Android Tutorials

0

Justify TextView in Android

If you want to justify your text in Android first need to below dependency in gradle

after that need to add below two java files in your src TextJustifyUtils.java

TextViewEx,java

After...

0

Matirial Design for Button:Flat Button

A button made of ink that displays ink reactions on press but does not lift. How to add? I. In your build.gradle add latest appcompat library.

II. Make your activity extend android.support.v7.app.AppCompatActivity.

...

0

Matirial Design for Button:Raised Button

A typically rectangular material button that lifts and displays ink reactions on press. How to add? I. In your build.gradle add latest appcompat library.

II. Make your activity extend android.support.v7.app.AppCompatActivity.

III. Declare...

0

Material Design for Android

Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. Android now includes support for material design apps. To use material design in your Android apps, follow the...

0

Broadcast Receivers in Android

Broadcast Receivers simply respond to broadcast messages from other applications or from the system itself. These messages are sometime called events or intents. For example, applications can also initiate broadcasts to let other applications...

0

Fragments in Android

Up until now we have used activities as drivers to display views to the screen. The previous example each screen is associated with an activity that is used to render and manage the user...

0

Linear Layout

LinearLayout is a view group that aligns all children in a single direction, vertically or horizontally. You can specify the layout direction with the android:orientation attribute. All children of a LinearLayout are stacked one...

0

Relative Layout

RelativeLayout is a view group that displays child views in relative positions. The position of each view can be specified as relative to sibling elements (such as to the left-of or below another view)...

0

FragMents in Android

A fragment can be many things, but for the purposes of this tutorial, it is a module of code that holds part of the behavior and/or UI of an activity. As the name intimates,...