Tell me where can you define the icon for your Activity?
Submitted by: MuhammadThe 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
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
Top Team Leader Android Developer Questions
☺ | Tell us where will you declare your activity so the system can access it? |
☺ | Tell me where can you define the icon for your Activity? |
☺ | Tell us how do you find any view element into your program? |
☺ | How to perform actions that are provided by other application e.g. sending email? |
☺ | Tell me what is An Intent? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |