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

Common Myths About Olxtoto Predictions Debunked

In the vibrant world of online gaming, Olxtoto has emerged as a prominent platform, celebrated…

2 days ago

Top 5 Exciting Slots to Play Today

In our extensive research and analysis, we have identified the top 5 exciting slots that…

6 days ago

Top Unblocked Snowboard Games to Play

Before we jump into the list, you might be wondering why you should consider playing…

7 days ago

Choosing the Right Commercial Furniture for Your Business

Commercial furniture plays a crucial role in defining the atmosphere and efficiency of your workspace.…

7 days ago

Loaner Car: Everything You Need to Know About a Loaner Car

What Is a Loaner Car? A loaner car is a temporary replacement vehicle provided by…

1 week ago

The Biggest Poker Prizes in History

Introduction Poker has long been more than just a card game—it’s a world where strategy,…

1 week ago