Interviewer And Interviewee Guide

Team Leader Android Developer Interview Question:

Tell me where can you define the icon for your Activity?

Submitted by: Muhammad
The icon for an Activity is defined in the manifest file.

Code
<activity android:icon="@drawable/app_icon" android:name=".MyTestActivity"></activity>
which means you have to Open AndroidManifest.xml.Right under the root “manifest” node of the XML, we can see the “application” node. We have added this attribute to “application”. (The “icon” in “@drawable/icon” refers to the file name of the icon.)
android:icon=”@drawable/icon”
Submitted by: Muhammad

Read Online Team Leader Android Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.