Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6895217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:52:50+00:00 2026-05-27T06:52:50+00:00

Where do I put my icons in my android file structure, and how do

  • 0

Where do I put my icons in my android file structure, and how do I reference them in the manifest xml?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:52:51+00:00Added an answer on May 27, 2026 at 6:52 am

    You put them in your drawables folders under res.

    There are three “types” of drawables, hi-res, med-res and low-res respectively.
    Each gets their own folder:

    • drawable-hdpi
    • drawable-mdpi
    • drawable-ldpi

    You can reference them in your code directly by using

    R.drawable.(icon name)
    

    If you want to use them in your XML files, use this instead:

    @drawable/(icon name)
    

    As long as your drawables have the same name in all the folders, Android will pick the right one to show depending on the DPI of your device’s screen.

    More info about drawables here: http://developer.android.com/guide/topics/resources/drawable-resource.html

    For those reading back later, the question was about the launcher icons.
    Their sizes are as follows:

    • ldpi: 36×36 px
    • mdpi: 48×48 px
    • hdpi: 64×64 px
    • xhdpi: 96×96 px

    You can find more about the launcher icons here: http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html#size

    The article also gives some do’s and don’ts about launcher icons. Might be worth a look.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Put them all in one separate folder structure or along with classes which implements
Consider this preferences.xml file: <?xml version=1.0 encoding=utf-8?> <PreferenceScreen xmlns:android=http://schemas.android.com/apk/res/android android:title=@string/preference_main> <PreferenceScreen android:title=@string/preference_sight android:key=category_sight> <ListPreference
For my app I need several small icons. I put them at a size
I'm doing some shennanigans with jQuery to put little plus/minus icons next to my
I have icons for my Android menu. On Android 3+ I'm using a black
I have an android application, I'm trying to put a splash screen in via
Is there a system provided icon on Android to put in a tableView row
SOLVED: I was using icons from sdk v9 (Android 2.3 Gingerbread) which seems to
[WARN] For your density-specific images (android/images/high|medium|low|res-*) to be effective, you should put a element
I am creating an android application in sdk2.1. i have put 3 different images

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.