Categories: ANDROID APP

Android Tutorial #5: Add App Icon to Motion Bar



Supply Code: https://www.patreon.com/clientuser_net

We lastly get round to flexing our coding muscular tissues.

Right here we cowl the mysterious lacking Motion Bar Icon in Android Lollipop, utilization is being discouraged in android model Lollipop and above.

By no means thoughts! I present you right here the best way to add your App Icon to your Motion Bar, and in addition cowl a few suggestions n tips for the Android Studio growth atmosphere.

If you happen to’re impatient right here is the code used, watch the video for those who want extra assist.

ActionBar actionBar = getSupportActionBar();
actionBar.setDisplayShowHomeEnabled(true);
actionBar.setIcon(R.mipmap.ic_launcher);

Extra information on the motion bar right here…

http://developer.android.com/information/matters/ui/actionbar.html

source

linda

Recent Posts

Interactive Chat Games Inspired by Thrones

Have you ever found yourself wishing you could dive into the thrilling world of Westeros,…

3 days ago

Revive Your Memories: Free AI Photo Restoration

In this digital age, preserving memories has become more accessible than ever. However, many of…

6 days ago

Top Horrible Therapist Games to Try

In the ever-evolving landscape of party games, where humor and creativity collide, the "Horrible Therapist"…

6 days ago

How Visors Enhance Player Safety in Football

Football visors are transparent or tinted shields attached to the helmet's face mask. They're primarily…

2 weeks ago

Timeless Wonders Await: Exploring Beijing’s Rich Heritage on Your Trip

Introduction to Beijing Beijing, the capital of China, is a city that beautifully intertwines the…

3 weeks ago

Bangla NewsPaper Surge: 15 Game-Changing Strategies

Introduction to Bangla Newspaper Industry The Bangla newspaper sector has witnessed an incredible transformation over…

3 weeks ago