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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:25:22+00:00 2026-05-25T22:25:22+00:00

I inflate layer on the main frame and there is a ScrollView . I

  • 0

I inflate layer on the main frame and there is a ScrollView.
I want to draw a large image that can move left, right, top, and down on the screen.
So, I described this with a SurfaceView that I customized and addView to ScrollView,
but the Image that I want doesn’t show. How can I solve this problem?

  • 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-25T22:25:23+00:00Added an answer on May 25, 2026 at 10:25 pm

    I don’t see a need to use a SurfaceView in this case. SurfaceViews are typically used for things like Camera preview, Video playback. And there’s GLSurfaceView for opengl drawing.

    If you are procedurally creating the large image that you want to display, for example, via Canvas.draw methods, then you can probably simple create a custom View subclass and override onDraw (and possibly onMeasure).

    Or, if you are loading a large image from disk or as a resource, just use an ImageView.

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

Sidebar

Related Questions

I am trying to inflate an ImageView that scales a Drawable that I can
So I can inflate a ViewStub at runtime. Let's say I want to make
I'm using the zlib.NET library to try and inflate files that are compressed by
I want to inflate a childView of ExpandableChildView component. Code: public View getChildView(int groupPosition,
How could i inflate my custom view using the main.xml file? I thought it
this is dankogai's javascript deflate http://github.com/dankogai/js-deflate I can't inflate from c#,please help me
Main Activity public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menumenu, menu); return true; } public void
I want to inflate a XML-Layout-File in a custom ViewGroup Class, my Problem is
My program switches between two Activities that each inflate a derived GLSurfaceView that uses
I have a problem that would be easily solved if I could somehow inflate

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.