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. how to get android phone to read out words

it's not as complex as speech recognition, but i just want to somehow
make my android app read out pre-written lines.  is there a way to do
that?

thanks.

-- 

2. Call order of multiple registered callbacks

Hi all,

Is the call order for multiple registered callbacks defined in some
way, or is it just random?  I assumed that callbacks will be called in
the order that they are registered, but this seems to not be the
case.  For example, I have two callbacks registered to be notified of
changes in the OnSharedPreferenceChangeListener.  But the order in
which the callbacks are called is not always in the order I registered
them.  Is this a general pattern with callbacks or just a bug in the
implementation of the Preferences?  I couldn't find anything in the
documentation.

Thanks.

-- 

3. Webview segfault causes process to restart and in rare cases take the Android platform down and turn the phone off

4. Error generating final archive: invalid entry size

5. ADB connect 192.168.16.2:5555 link drops

6. Is it legal to use an invalid Map API key?

7. valantine images