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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:39:39+00:00 2026-06-14T17:39:39+00:00

here is my code , when i edit it inside eclipse and it shows

  • 0

here is my code , when i edit it inside eclipse and it shows the middle layout containing two buttons radia and television in graphical layout window. but when i run it on phone or tablet the middle layout disappears and is not shown.any kind of help please here is my code.

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:android1="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android1:orientation="vertical" >

<RelativeLayout
    android1:id="@+id/outerLay"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android1:background="@drawable/header" >

    <Button
        android1:id="@+id/logout"
        style="?android:attr/buttonStyleSmall"
        android1:layout_width="wrap_content"
        android1:layout_height="wrap_content"
        android1:layout_alignBottom="@+id/button6"
        android1:layout_alignParentLeft="true"
        android1:layout_alignParentTop="true"
        android1:background="@drawable/logout_a"
        android1:onClick="logoutClick"
        android1:textStyle="normal" />

    <Button
        android1:id="@+id/button6"
        style="?android:attr/buttonStyleSmall"
        android1:layout_width="wrap_content"
        android1:layout_height="wrap_content"
        android1:layout_alignParentRight="true"
        android1:layout_alignParentTop="true"
        android1:background="@drawable/search_a" />

    <LinearLayout
        android1:id="@+id/innerlay"
        android1:layout_width="wrap_content"
        android1:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android1:layout_alignBottom="@+id/button6"
        android1:layout_alignParentTop="true"
        android1:layout_centerHorizontal="true"
        android1:gravity="center"
        android1:orientation="horizontal" >

        <Button
            android1:id="@+id/television"
            style="?android:attr/buttonStyleSmall"
            android1:layout_width="wrap_content"
            android1:layout_height="wrap_content"
            android1:background="@drawable/television_a"
            android1:onClick="television" />

        <Button
            android1:id="@+id/radio"
            style="?android:attr/buttonStyleSmall"
            android1:layout_width="wrap_content"
            android1:layout_height="wrap_content"
            android1:background="@drawable/radio_b"
            android1:onClick="radio" />
    </LinearLayout>
</RelativeLayout>

<ListView
    android:id="@+id/listView1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >
</ListView>

  • 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-14T17:39:40+00:00Added an answer on June 14, 2026 at 5:39 pm

    here in relative layout

    Instead of

    android:layout_width="match_parent"
    

    you can use

    android:layout_width="fill_parent"
    

    i hope this will work…

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

Sidebar

Related Questions

EDIT - The code looks strange here, so I suggest viewing the files directly
Edit my code to make it work please. Edited for latest version. Here is
Here is my spaggeti code $(#table_exams tbody tr).click(function () { window.location.hash=# +$(this).attr(exam_ID); window.location.href=/medilab/prototypes/exams/edit?examId= +
I have this html code that i want to edit with jQuery. Here is
I built my own custom video player (edit: find example code here ) with
Here's my goal: have a table of data with edit/delete buttons. The edit buttons
The script is on jsfiddle here : CODE What it does at the moment
Ok the error is showing up somewhere in this here code if($error==false) { $query
Here is code my jqgrid editing through form. $(#DataEnergy).jqGrid('navGrid', '#pagergrid', {}, //options {editdata: {
Here my code, I need to insert into mysql database I have mysql,php,android 1)

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.