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 8572849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:07:05+00:00 2026-06-11T19:07:05+00:00

I have a background image which is 1280 X 720 that fits my S3

  • 0

I have a background image which is 1280 X 720 that fits my S3 so much.
However, if I want to fit other devices, how to do it?
For example, if one device is 800 X 600, if I scale the image from 1280 X 720 to 800 X 600, the image will a little bit out of shape.
Also, I want the image to fit fullscreen size.
Is there any good idea?
After I research, I know that I should prepare different resolution images, but which resolutions should I prepare?

  • 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-06-11T19:07:06+00:00Added an answer on June 11, 2026 at 7:07 pm

    If you don’t have an image that can be used as a 9-patch then I’d suggest something like following:

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        <ImageView 
                android:src="@drawable/backgroundimage"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop"/>
    </RelativeLayout>
    

    This solution will give you an image that covers whole the screen. The image will be uniformly stretched but some parts will be cut out as it uses centerCrop.

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

Sidebar

Related Questions

I have a background on a page body that is an image which I
I have a site that uses a large centered background image, which naturally loads
I have a background UI Image which is shown whenever i touch a UIButton:
I have a .gif file which i wish to use as the background image
Hi I have created an h3 which is centered and uses a background-image and
I have a <div> which contains a background image, the <div> sits within a
i need to set image as background in android gridview. I have code which
I have a panel with transparent background which i use to draw an image.
I have the following code which renders an image as the background for a
I have a background image which I apply to the body. The image is

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.