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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:26:07+00:00 2026-06-12T09:26:07+00:00

I have ListActivity consist of many rows , every thing runs fine ,when first

  • 0

I have ListActivity consist of many rows , every thing runs fine ,when first run of App it show black screen for ( 1 second ) before show the listactivity screen , in this black screen on top left corner it appear the title name of application which we set it in begining of creating new eclipse project as image below:

enter image description here

please if you have any advice how to remove :

The black screen which appear for ( 1 second ) before show the listactivity screen with its title .

i know this title will be also the name of app which appear in app icon in the device
just i want to

remove the black screen with its title ,

so when lunch the App it show directly the listactivity screen as below :

enter image description here

Listactivity code :

 public class Menu extends ListActivity {

  String classes[] = { "First Item", "Second Item", "Third Item", "Fourth
      Item", "Fifth Item"};

  @Override
 protected void onCreate(Bundle savedInstanceState) {
 // TODO Auto-generated method stub
   super.onCreate(savedInstanceState);

 requestWindowFeature(Window.FEATURE_NO_TITLE);
   getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
    WindowManager.LayoutParams.FLAG_FULLSCREEN);
    ListView lv = getListView();   
    lv.setCacheColorHint(0);  
    lv.setBackgroundResource(R.drawable.fall);
 setListAdapter(new ArrayAdapter<String>(Menu.this,
    android.R.layout.simple_list_item_1, classes));

                   }
  @Override
   protected void onListItemClick(ListView l, View v, int position, long id) {
     // TODO Auto-generated method stub

     super.onListItemClick(l, v, position, id);
     String cheese = classes[position];

   try {
   Class ourClass = Class.forName("com.test.demo.MyItem");
   Intent ourIntent = new Intent(Menu.this, ourClass);
   ourIntent.putExtra("cheese", cheese);
   startActivity(ourIntent);
        } catch (ClassNotFoundException e) {
    e.printStackTrace(); }}}

Thanks in advance .

UPDATE :

Applying full screen to menu activity in the manifest will solve the problem as this:

 android:theme="@android:style/Theme.NoTitleBar.Fullscreen">

but i already assign custom theme to menu activity in manifest as this :

 android:theme="@style/Theme_menu"

so how can i assign the above two theme together to menu activity in the same time .

  • 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-12T09:26:08+00:00Added an answer on June 12, 2026 at 9:26 am

    If I understand your problem correctly, it seems that you just need to make your Theme_menu to be derived from Android’s Theme.NoTitleBar.Fullscreen. To do this, modify your style XML by adding a parent attribute:

    <style
        name="Theme_menu"
        parent="@android:style/Theme.NoTitleBar.Fullscreen">
    
        <!-- your style modifications for Theme_menu here -->
    
    </style>
    

    With the above change, you will most like would not need to have these lines in your Activity’s onCreate() method (since it’s set by the theme):

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a listactivity app , consist of 5 rows , each row cotain
I am developing my first Android app. I have a ListActivity which uses the
I'm having problems with my first Android app. I have subclassed ListActivity, and I'm
in my app, I have a MainActivity that consist of many items that can
I have an Android app with a ListActivity in the main view. The list
I have a ListActivity which I want to show when the phone's orientation is
I actually have a ListActivity fed by a custom ArrayAdapter. It builds rows made
I have a ListActivity with custom rows, icons, TextViews, etc. So I am not
I have one android activity which extends ListActivity. Every time list items is pressed
i have a ListActivity to show an Arraylist. In the onListItemClick() i call another

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.