<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
android:id="@+id/ll"
android:orientation="vertical"
>
<FrameLayout
android:layout_weight="1"
android:layout_gravity="top"
android:layout_width="match_parent"
android:layout_height="match_parent"></FrameLayout>
<RadioGroup
android:id="@+id/rg"
android:background="#88A29D9D"
android:orientation="horizontal"
android:layout_gravity="bottom"
android:layout_width="match_parent"
android:layout_height="50dp">
<RadioButton
android:id="@+id/rd1"
android:drawableTop="@drawable/tp"
android:layout_weight="1"
android:text="联系人"
android:textColor="@drawable/text"
android:button="@null"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height=
Android Studio FragmentManager
最新推荐文章于 2024-05-29 17:42:02 发布
本文详细探讨了Android Studio中Fragment Manaager的使用,包括其在Activity中的角色、Fragment的添加、替换和移除操作,以及如何处理Fragment的生命周期和回退栈管理。通过实例解析,帮助开发者更好地理解和掌握Fragment Manager在实际开发中的应用。
摘要由CSDN通过智能技术生成