Latest

Android Profile Activity Layout Sample Example Tutorial

In this tutorial we’ll merely create a format file for displaying profile info of a consumer or contact in your android software. This format can be used in any activity or fragment. We’ll created a profile imageview in a circular form or picture cropped in rounded shape utilizing a library which we’ll embrace in construct.gradle file.

Add following to your dependencies part of app degree construct.gradle file and Sync the venture.

compile ‘de.hdodenhof:circleimageview:2.1.zero’

Copy the given contents of under file in any format of your exercise or fragment.





Add the following information to your tasks res/drawable listing:

man.jpg

nav_menu_header_bg.png

Thats it! Just run your activity or fragment to check the about format.

19,762 complete views, 32 views at the moment

(Visited 17,051 occasions, 1 visits at present)

Category: Android Tags: Android, TIPS