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

  • Home
  • SEARCH
  • 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 6530497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:45:46+00:00 2026-05-25T09:45:46+00:00

Before I tried this , Store image in R.drawable folder .. Bitmap b =

  • 0

Before I tried this , Store image in R.drawable folder ..

 Bitmap b = BitmapFactory.decodeResource(getResources(), R.drawable.image1);

and then in database using insert sql statement. Image was much better.

Now I have stored data in string array, all images in R.drawable folder and displaying them in image view using
imageview.setImageResource(image[i]);
But image is very small and not visible properly. what can I do improve the image quality?

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-25T09:45:46+00:00Added an answer on May 25, 2026 at 9:45 am

    The final image size depends also, in which folder you store images: drawable-hdpi, drawable-mdpi, drawable-ldpi. When you put images into hdpi folder, their appearance is smaller than from mdpi and ldpi. Try to read this documentation: Screen Support

    Another enhancement can be achieved by declaring 24bit color support, so images with alpha channel will have smooth gradients: activity.getWindow().setFormat(PixelFormat.RGBA_8888); but it requires more performance to process.

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

Sidebar

Related Questions

Have you ever tried this before? static void Main(string[] args) { int x =
Ok, I know someone here has tried this ninja-elite level of coding before. Essentially
I've tried to solve this before in another post but was unsuccessful. This is
I'm creating a graph that does some database queries then builds the graph using
What should data look like before data encoding in: urllib2.Request(someurl,data) I tried [('name1','value1'),('name2','value2'),...] but
Before you answer this I have never developed anything popular enough to attain high
Before I start, I know there is this post and it doesn't answer my
Before I do this I figured I would ask if it was the best
Before anyone suggests scrapping the table tags altogether, I'm just modifying this part of
When I store a jQuery object in a variable, like this: var $myObject =

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.