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

The Ultimate Guide to YouTube to MP4 Converters

A YouTube to MP4 conversion software is a software or on-the-web tool designed to download…

1 day ago

Unox Equipment: A Chef’s Companion

Cooking is an art, and each artist needs the right equipment to bring their masterpiece…

1 day ago

Comparing Electric Scooters: Features and Performance

Hey there, scooter enthusiast! Whether you're a seasoned rider or just thinking about zipping around…

2 days ago

Discovering Affordable Massage Services throughout Busan

Hey there, massage fans! If you're in Busan and also searching for a way to…

2 days ago

Guide to Aroma Massage Services in Busan

Hey there! If you're planning a trip to Busan, or if you're already here and…

2 days ago

Is Instant Famous Worth It? A Detailed Review of Their Follower Services

Are you looking for ways to get more followers on your social media accounts to…

3 days ago