Tab Content is Displayed Over Tab of Tabs Instead of Below

by plutonianandroid » Sun, 01 May 2011 03:33:58 GMT


Sponsored Links
  am having a layout problem. My tab content is displayed directly
over the tabs instead of underneath the tabs.

<?xml version="1.0" encoding="utf-8"?>
<TabHost android:id="@android:id/tabhost" xmlns:android="http://
schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TabWidget android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical"/>
<FrameLayout android:id="@android:id/tabcontent"
android:padding="5dp"
android:layout_height="fill_parent"
android:layout_width="fill_parent">

<LinearLayout android:id="@+id/tagView"

xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_width="fill_parent">
<TextView
android:id="@+id/tagIDTextView" android:text="@string/
tagid_lbl" android:layout_height="wrap_content"
android:layout_width="wrap_content"></TextView>
<EditText android:text="EditText"
android:layout_height="wrap_content" android:id="@+id/upcEditText"
android:layout_width="wrap_content" android:editable="false"></
EditText>
<Button android:onClick="startScan"
android:layout_height="wrap_content" android:text="@string/
tagid_btn_lbl" android:id="@+id/tagIDButton"
android:layout_width="wrap_content"></Button>
<TextView android:id="@+id/gpsTextView"
android:text="@string/
gps_txt" android:layout_height="wrap_content"
android:layout_width="wrap_content"></TextView>
<EditText android:text="EditText"
android:layout_height="wrap_content" android:id="@+id/gpsEditText"
android:layout_width="fill_parent" android:editable="false"></
EditText>
<Button
android:layout_height="wrap_content"
android:text="@string/gps_btn_lbl" android:id="@+id/gpsButton"
android:layout_width="wrap_content"></Button>
<ImageView
android:layout_width="wrap_content" android:id="@+id/
imageView1" android:layout_height="wrap_content"
android:src="@drawable/icon"></ImageView>
<Button android:onClick="collectData"
android:layout_height="wrap_content" android:text="@string/
collect_btn_lbl" android:id="@+id/button1"
android:layout_width="wrap_content"></Button>
</LinearLayout>

<LinearLayout
xmlns:



Other Threads

1. Webkit WebView soft error

I have a weird error in webkit webview and its soft error.

In my html view two image items appear reverse order horizontially


The only thing I can reason is to take off the align=left off every
image item except the first one although no other image item is in
reverse order.

I have only tested in emulator thus far


Anybody else run into the same quirk?
--~--~---------~--~----~------------~-------~--~----~

2. How to replicate GUI of Android settings menu

Hi!

I want to make my settings menu look like the one in Android where
they have a heading and a multiline text below the heading for each
listitem. Anyone got the source code for that GUI? :-)
--~--~---------~--~----~------------~-------~--~----~

3. delete carriers table in TelephonyProvider

4. BitmapFactory.decode*() => bug ?

5. Does anyone need an Android Developer Job??

6. How do i get a transparent background for icons/shortcuts?

7. android porting on target pxa270 (need help!!!!!!!...could not proceed further)