TabLayout

This commit is contained in:
jens 2021-07-07 21:01:43 +02:00
parent 21d9351b2b
commit ba2f96713d
2 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,6 @@ import com.jens.automation2.receivers.NfcReceiver;
@SuppressLint("NewApi")
public class ActivityMainTabLayout extends TabActivity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{

View File

@ -9,11 +9,14 @@
android:layout_height="match_parent">
<TabWidget
android:id="@android:id/tabs"
android:layout_weight="0"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
android:layout_height="wrap_content"/>
</LinearLayout>
</TabHost>