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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:19:42+00:00 2026-06-11T10:19:42+00:00

Im making a game, when my mainCharacter in this game dies, or when he

  • 0

Im making a game, when my mainCharacter in this game dies, or when he kills all enemies, a new intent is started, a sort of Score-screen, lets call it intent B.

My game is ofc filling the whole screen when I play, and when intent B is called this fills the whole screen aswell.

The thing is that intent B is a XML-view with a .png background, I thought this would work as .pngs work on canvas, in the way that I have a frame around the “ScoreBoard” about 100px wide, that is empty, where I want my old activity (My gameView) to be shown. In short, I want this frame to be see-through and for intent B to look like its put on top of my Game, I’m sure you’ve seen this in other game-apps.

some pseudo-code for how I start the new intent:

    if(Health<=0){
       setRunningOnMainThread(false);
       Intent intent = new Intent(package.package.ScoreBoard);
       intent.startActivity();
    }

Ive tried all kinds of FLAGS and some stuff in the manifest, but the frame just keeps being black. like there is nothing behind intent B.

Was hard explaining this so if you need more information let me know.

  • 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-11T10:19:44+00:00Added an answer on June 11, 2026 at 10:19 am

    Here’s another stackedoverflow question that might be able to help, in addition to the one suggested by sandrstar.

    How to make Activity, not covering full screen

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

Sidebar

Related Questions

Started making a game. Here's some of my code. package games.tribe.screens; import games.tribe.model.World; import
I'm making some game, and I have made it pretty much all, but not
I'm making a game in OpenGL on Windows using Code::Blocks (C++) and MinGW. All
i am making a game using andengine in android, in this game various sprites(eggs)
I am making a game in Cocos2d. I want enemies to spawn on the
I'm making a game where images fall from the top of the screen, and
I am making game and need to prepare view for level selection. Could you
I built a slideshow/decision-making game in Flash but would like to try to redo
I am making a game in java and I want to create a simulation
I'm making a game for the Android platform and I need to access some

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.