岱左吧

代做作业_国开电大作业代做_奥鹏作业代写_各科作业辅导

国开电大《Android核心开发技术》教学实践2代做答案分享

admin    2021-12-26    865

微信号:wuyouhw
添加微信好友, 获取更多信息
复制微信号

请注意:本答案为友情分享,本网站不对本答案正确性提供担保,如国开电大其他科目代做,请联系本站客服。


<?xml version="1.0" encoding="utf-8"?>

<TabHost xmlns:android="http://schemas.android.com/apk/res/android"

    android:id="@android:id/tabhost"

    android:layout_width="fill_parent"

    android:layout_height="fill_parent">

<LinearLayout

        android:layout_width="fill_parent"

        android:layout_height="fill_parent"

        android:background="#FFFFFFFF"

        android:orientation="vertical">

<FrameLayout

            android:layout_width="fill_parent"

            android:layout_height="fill_parent"

            android:layout_weight="1"

<FrameLayout

                android:id="@android:id/tabcontent"

                android:layout_width="match_parent"

                android:layout_height="fill_parent">

<fragment

                    android:id="@+id/fragment_main"

                    android:name="com.example.tabmenu.MainFragment"

                    android:layout_width="fill_parent"

                    android:layout_height="fill_parent" />

<fragment

                    android:id="@+id/fragment_mycenter"

                    android:name="com.example.tabmenu.MyCenterFragment"

                    android:layout_width="fill_parent"

                    android:layout_height="fill_parent" />

<fragment

                    android:id="@+id/fragment_search"

                    android:name="com.example.tabmenu.SearchFragment"

                    android:layout_width="fill_parent"

                    android:layout_height="fill_parent" />

</FrameLayout>

</FrameLayout>

<TabWidget

            android:id="@android:id/tabs"

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:layout_weight="0.0"

            android:visibility="gone" />

<LinearLayout

            android:layout_width="fill_parent"

            android:layout_height="3dp"

            android:background="@drawable/fbutton_color_emerald">

</LinearLayout>

<RadioGroup

            android:id="@+id/radiogroup"

            android:layout_width="fill_parent"

            android:layout_height="wrap_content"

            android:layout_gravity="bottom"

            android:background="@drawable/fbutton_color_turquoise"

            android:gravity="center_vertical"

            android:orientation="horizontal">

<!-- android:background="@drawable/bk_footer" -->

<RadioButton

                android:id="@+id/radio_search"

                style="@style/main_tab_bottom"

                android:layout_weight="1"

                android:background="@drawable/footer_itembg_selector"

                android:drawableTop="@drawable/footer_search_selector"

                android:text="搜索" />

<RadioButton

                android:id="@+id/radio_main"

                style="@style/main_tab_bottom"

                android:layout_weight="1"

                android:background="@drawable/footer_itembg_selector"

                android:button="@null"

                android:checked="true"

                android:drawableTop="@drawable/footer_main_selector"

                android:text="首页" />

<RadioButton

                android:id="@+id/radio_mycenter"

                style="@style/main_tab_bottom"

                android:layout_weight="1"

                android:background="@drawable/footer_itembg_selector"

                android:drawableTop="@drawable/footer_mycenter_selector"

                android:text="个人中心" />

</RadioGroup>

</LinearLayout>

</TabHost>

 

 

 


本文链接:https://daizuozuoye8.com/?id=413

转载声明:本站发布文章及版权归原作者所有,转载本站文章请注明文章来源!

上一篇   下一篇

相关文章

请发表您的评论

复制成功
微信号: wuyouhw
添加微信好友, 获取更多信息
我知道了
添加微信
微信号: wuyouhw
添加微信好友, 获取更多信息
一键复制加过了
微信号:wuyouhw添加微信