---
title: "Where can you define the icon for your Activity? Explain."  
description: "Where can you define the icon for your Activity? Explain."  
author: "Hemant Patel"  
published: 2018-01-23  
canonical: https://answers.mindstick.com/qa/33499/where-can-you-define-the-icon-for-your-activity-explain  
category: "technology"  
tags: ["android"]  
reading_time: 1 minute  

---

# Where can you define the icon for your Activity? Explain.

Where can you [define](https://yourviews.mindstick.com/view/317/irony-of-india-even-constitution-can-t-define-minority) the [icon](https://www.mindstick.com/articles/13090/icon-the-identity-of-your-brand) for your [Activity](https://www.mindstick.com/blog/23160/fidgetsguide-exercise-guides-newsletters)? Explain.

## Answers

### Answer by Prateek sharma

you can define the icons for your activity in android manifest file.

<application android:icon="@drawable/icon_name" android:label="@string/app_name" >

....

</application>

you can also place your icons in the various **drawable** folder depending upon the **size** anddifferent **screen densitites** of the image -

drawable-LDPI (120 dpi, with Low density screen) icon size of 36px x 36px

drawable-MDPI (160 dpi, with Medium density screen) icon size of 48px x 48px

drawable-HDPI (240 dpi, with High density screen) icon size of 72px x 72px

drawable-XHDPI (320 dpi, with Extra-high density screen) icon size of 96px x 96px

drawable-XXHDPI (480 dpi, with Extra-extra-high density screen) icon size of 144px x 144px

drawable-XXXHDPI (640 dpi, with Extra-extra-extra-high density screen) icon size of 192px x 192px


---

Original Source: https://answers.mindstick.com/qa/33499/where-can-you-define-the-icon-for-your-activity-explain

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
