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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:05:33+00:00 2026-06-13T23:05:33+00:00

I have a main screen. In all mobiles with different screen sizes I checked

  • 0

I have a main screen. In all mobiles with different screen sizes I checked its showing properly. But in ICS that is in Android 4.0.3, it’s not showing in full screen. When I start, for 1 second it’s showing and then going leaving back a white patch. Can anyone tell me whats the problem here? I think problem is in my main.xml. But I am not getting anything……

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TabHost
    android:id="@android:id/tabhost"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#E1E1E1" >

    <TabWidget
        android:id="@android:id/tabs"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" />

    <FrameLayout
        android:id="@android:id/tabcontent"
        android:layout_width="fill_parent"
        android:layout_height="508dp"
        android:paddingTop="94dp" >

        <TableLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/tab1"
            android:layout_width="fill_parent"
            android:layout_height="459dp"
            android:background="#E1E1E1"
            android:stretchColumns="1" >

            <TableRow>

                <ImageView android:contentDescription="@drawable/logolive1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:src="@drawable/logolive1" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btnAuctions"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_column="1"
                    android:text="@string/btnAuctions" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btnSearch"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_column="1"
                    android:text="@string/btnSearch" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btnUserProfile"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_column="1"
                    android:text="@string/btnUserProfile" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btnFeatAuct"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_column="1"
                    android:text="@string/btnFeatAuct" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btnFeatItems"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_column="1"
                    android:text="@string/btnFeatItems" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btnLogin"
                    android:layout_width="wrap_content"
                    android:layout_height="40dp"
                    android:layout_column="1"
                    android:text="@string/btnLogin" />
            </TableRow>
        </TableLayout>

        <WebView
            android:id="@+id/tab2"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" />

        <TableLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/tab3"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:stretchColumns="1" >

            <TableRow>

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:paddingTop="24dp"
                    android:text="@string/search_label"
                    android:textColor="#000000" />
            </TableRow>

            <TableRow>

                <EditText
                    android:id="@+id/search"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="0"
                    android:layout_marginTop="2dip"
                    android:inputType="text"
                    android:ems="25"
                    android:maxLines="1"
                    android:scrollHorizontally="true"
                    android:singleLine="true" />
            </TableRow>

            <TableRow>


                    <RadioGroup
                        android:id="@+id/group1"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:layout_gravity="left"
                        android:orientation="horizontal" >

                        <RadioButton
                            android:id="@+id/option1"
                            android:checked="true"
                            android:text="@string/live"
                            android:textColor="#000000" />

                        <RadioButton
                            android:id="@+id/option2"
                            android:checked="false"
                            android:text="@string/archive"
                            android:textColor="#000000" />
                    </RadioGroup>
                    <TextView
                    android:id="@+id/dummy"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:paddingLeft="99dp" />
                    <Button
                        android:id="@+id/btnSearchLive"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="@string/btnSearchLive" />

            </TableRow>
        </TableLayout>

        <WebView
            android:id="@+id/tab4"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" />

        <WebView
            android:id="@+id/tab5"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" />

        <WebView
            android:id="@+id/wv1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" />

        <TableLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/client"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:stretchColumns="1" >

            <TableRow>

                <TextView
                    android:id="@+id/lotno"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:gravity="center_horizontal" />
            </TableRow>

            <TableRow>

                <TextView
                    android:id="@+id/lottitle"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:gravity="center_horizontal" />
            </TableRow>

            <TableRow>

                <ImageView android:contentDescription="@+id/lotimage"
                    android:id="@+id/lotimage"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:gravity="center_horizontal" />
            </TableRow>

            <TableRow>

                <TextView
                    android:id="@+id/highbid"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:gravity="center_horizontal" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/bid"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:gravity="center_horizontal"
                    android:textStyle="bold" />
            </TableRow>

            <TableRow>

                <TextView
                    android:id="@+id/lotopened"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:gravity="center_horizontal" />
            </TableRow>
        </TableLayout>

        <TableLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/loginwindow"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:stretchColumns="1" >

            <TableRow>

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:text="@string/username_label"
                    android:textColor="#000000" />
            </TableRow>

            <TableRow>

                <EditText 
                    android:id="@+id/uname"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:layout_marginTop="2dip"
                    android:inputType="text"
                    android:ems="25"
                    android:maxLines="1"
                    android:scrollHorizontally="true"
                    android:singleLine="true"
                    android:textColor="#000000" />
            </TableRow>

            <TableRow>

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:text="@string/pword_label"
                    android:textColor="#000000" />
            </TableRow>

            <TableRow>

                <EditText
                    android:id="@+id/pword"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:layout_marginTop="2dip"
                    android:autoText="true"
                    android:ems="25"
                    android:maxLines="1"
                    android:password="true"
                    android:scrollHorizontally="true"
                    android:singleLine="true" />
            </TableRow>

            <TableRow>

                <Button
                    android:id="@+id/btndoLogin"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_column="1"
                    android:layout_gravity="right"
                    android:text="@string/btndoLogin" />
            </TableRow>
        </TableLayout>
    </FrameLayout>
    </TabHost>
</LinearLayout>
</ScrollView>

Here’s a screenshot:

enter image description here

  • 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-13T23:05:33+00:00Added an answer on June 13, 2026 at 11:05 pm
    <?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="#ff0000"
    android:orientation="vertical" >
    <TabHost
        android:id="@android:id/tabhost"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="#ff0000" >
    
        <TabWidget
            android:id="@android:id/tabs"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent" />
    
        <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="fill_parent"
            android:layout_height="508dp"
            android:paddingTop="94dp" 
            >
    
            <TableLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/tab1"
                android:layout_width="fill_parent"
                android:layout_height="459dp"
                android:background="#00ff00"
                android:stretchColumns="1" >
    
                <TableRow>
    
                    <ImageView android:contentDescription="@drawable/ic_launcher"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:src="@drawable/ic_launcher" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btnAuctions"
                        android:layout_width="wrap_content"
                        android:layout_height="40dp"
                        android:layout_column="1"
                        android:text="xc" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btnSearch"
                        android:layout_width="wrap_content"
                        android:layout_height="40dp"
                        android:layout_column="1"
                        android:text="nm" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btnUserProfile"
                        android:layout_width="wrap_content"
                        android:layout_height="40dp"
                        android:layout_column="1"
                        android:text="yu" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btnFeatAuct"
                        android:layout_width="wrap_content"
                        android:layout_height="40dp"
                        android:layout_column="1"
                        android:text="ghj" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btnFeatItems"
                        android:layout_width="wrap_content"
                        android:layout_height="40dp"
                        android:layout_column="1"
                        android:text="hd" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btnLogin"
                        android:layout_width="wrap_content"
                        android:layout_height="40dp"
                        android:layout_column="1"
                        android:text="t" />
                </TableRow>
            </TableLayout>
    
            <WebView
                android:id="@+id/tab2"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" />
    
            <TableLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/tab3"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:stretchColumns="1" >
    
                <TableRow>
    
                    <TextView
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:paddingTop="24dp"
                        android:text="r"
                        android:textColor="#000000" />
                </TableRow>
    
                <TableRow>
    
                    <EditText
                        android:id="@+id/search"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="0"
                        android:layout_marginTop="2dip"
                        android:inputType="text"
                        android:ems="25"
                        android:maxLines="1"
                        android:scrollHorizontally="true"
                        android:singleLine="true" />
                </TableRow>
    
                <TableRow>
    
    
                        <RadioGroup
                            android:id="@+id/group1"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_column="1"
                            android:layout_gravity="left"
                            android:orientation="horizontal" >
    
                            <RadioButton
                                android:id="@+id/option1"
                                android:checked="true"
                                android:text="re"
                                android:textColor="#000000" />
    
                            <RadioButton
                                android:id="@+id/option2"
                                android:checked="false"
                                android:text="we"
                                android:textColor="#000000" />
                        </RadioGroup>
                        <TextView
                        android:id="@+id/dummy"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:paddingLeft="99dp" />
                        <Button
                            android:id="@+id/btnSearchLive"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="we" />
    
                </TableRow>
            </TableLayout>
    
            <TableLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/client"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:stretchColumns="1" >
    
                <TableRow>
    
                    <TextView
                        android:id="@+id/lotno"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:gravity="center_horizontal" />
                </TableRow>
    
                <TableRow>
    
                    <TextView
                        android:id="@+id/lottitle"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:gravity="center_horizontal" />
                </TableRow>
    
                <TableRow>
    
                    <ImageView android:contentDescription="@+id/lotimage"
                        android:id="@+id/lotimage"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:gravity="center_horizontal" />
                </TableRow>
    
                <TableRow>
    
                    <TextView
                        android:id="@+id/highbid"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:gravity="center_horizontal" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/bid"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:gravity="center_horizontal"
                        android:textStyle="bold" />
                </TableRow>
    
                <TableRow>
    
                    <TextView
                        android:id="@+id/lotopened"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:gravity="center_horizontal" />
                </TableRow>
            </TableLayout>
    
            <TableLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:id="@+id/loginwindow"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:stretchColumns="1" >
    
                <TableRow>
    
                    <TextView
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:text="as"
                        android:textColor="#000000" />
                </TableRow>
    
                <TableRow>
    
                    <EditText 
                        android:id="@+id/uname"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:layout_marginTop="2dip"
                        android:inputType="text"
                        android:ems="25"
                        android:maxLines="1"
                        android:scrollHorizontally="true"
                        android:singleLine="true"
                        android:textColor="#000000" />
                </TableRow>
    
                <TableRow>
    
                    <TextView
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:text="ca"
                        android:textColor="#000000" />
                </TableRow>
    
                <TableRow>
    
                    <EditText
                        android:id="@+id/pword"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:layout_marginTop="2dip"
                        android:autoText="true"
                        android:ems="25"
                        android:maxLines="1"
                        android:password="true"
                        android:scrollHorizontally="true"
                        android:singleLine="true" />
                </TableRow>
    
                <TableRow>
    
                    <Button
                        android:id="@+id/btndoLogin"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_column="1"
                        android:layout_gravity="right"
                        android:text="as" />
                </TableRow>
            </TableLayout>
            <SlidingDrawer
                        android:id="@+id/drawer"
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_alignParentBottom="true"
                        android:layout_gravity="right"
                        android:content="@+id/content"
                        android:handle="@+id/handle" >
    
                        <TextView
                            android:id="@+id/handle"
                            android:layout_width="30dp"
                            android:layout_height="20dp"
                            android:background="#777777"
                            android:text="Hold"
                            android:textColor="#ffffff"
                            android:visibility="gone" >
                        </TextView>
    
                          <LinearLayout
                            android:id="@+id/content"
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:background="#123123"
                            android:gravity="center_vertical"
                            android:orientation="vertical" >
            <WebView
                android:id="@+id/tab4"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" />
    
            <WebView
                android:id="@+id/tab5"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" />
    
            <WebView
                android:id="@+id/wv1"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" />
            </LinearLayout>
               </SlidingDrawer>
        </FrameLayout>
        </TabHost>
    </LinearLayout>
    </ScrollView>
    

    just add the sliding drawer inside the framelayout and in the java code just add the webview inside the sliding drawer its the perfect solution .

    Just add this in Java.

    import android.app.Activity;
    import android.os.Bundle;
    import android.widget.SlidingDrawer;

    public class New extends Activity {
    
        private SlidingDrawer slidingDrawer;
    
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            // TODO Auto-generated method stub
            super.onCreate(savedInstanceState);
    setContentView(R.layout.test);
    slidingDrawer = (SlidingDrawer) findViewById(R.id.drawer);
    slidingDrawer.close();
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple android app to play videos. I have a main screen
In my application I have several activities, the main screen has 4 buttons that
Say, if we already have aScreen that points to the main screen, by UIScreen
Hi all i have an ordered list that is getting indented as the screen
Basically I have a main screen that comes up with a background image and
I have an app using a ListView as a main screen. Each row displays
If I have a login screen and then the activity which displays the main
I have main table called 'Employee' and another slave table called 'EmployeeTypes' that has
I have an application that has a good look on screens, but has a
I have 3 screens(xmls): screen 1 is main menu, screen 2 is main game

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.