Hi Friends
I decided to work with a tab layout application. Program consist of 3 tabs and a button. I like to place the button below the tab. But it appears with tabs. I am placing code what i use, please give me a solution to resolve this problem
main.xml
also find attachment of the application screen
thanks in advance
I decided to work with a tab layout application. Program consist of 3 tabs and a button. I like to place the button below the tab. But it appears with tabs. I am placing code what i use, please give me a solution to resolve this problem
main.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<TabHost android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@android:id/tabhost"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<TabWidget
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@android:id/tabs"
/>
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@android:id/tabcontent"
android:layout_alignParentBottom="true"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/content"
android:orientation="vertical"
android:paddingTop="60px"
/>
<Button android:text="Button" android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true"></Button>
</FrameLayout>
</TabHost>
also find attachment of the application screen
thanks in advance

