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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:34:49+00:00 2026-06-10T08:34:49+00:00

Android newbie question here. I’ve got an app that I’m experimenting with that the

  • 0

Android newbie question here. I’ve got an app that I’m experimenting with that the bulk of the screen is handled nicely with basic XML-defined objects. I want to use just one portion of the screen for drawing some graphics.

While I can allocate the proper area to a View or SurfaceView, the code examples I find for those use setContentView() and the graphics section is rendered over the entire screen. What am I missing???

  • 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-10T08:34:50+00:00Added an answer on June 10, 2026 at 8:34 am

    Create custom view for rengering your graphics and put it in some layout in your xml layout file together with other stuf you want on screen. Then use this layout in setContentView.

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

Sidebar

Related Questions

Android newbie here. I'm using this tutorial to show some rows that I fetch
Newbie question. After I have written the Android App (easy part) I need to
Everyone, I am a newbie to android development. Now I have a question that
I have the following thing to achieve in Android(newbie). I have an xml which
Extreme Android developer newbie here...well, new to Android development, not development in general. I
I am newbie in android, in my android app, a main Activity class, which
I am a newbie to Android development. I am writing an app for my
I apologize in advance for the newbie nature of this question. Here is my
I am an android newbie so forgive me if this question is simple. Basically
I'm an Android newbie, and working on an app which needs an Options menu.

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.