Java Android studio布局
是否可以在一个Android studio应用程序中使用不同的布局。例如,um计划在我的启动屏幕中使用线性布局,在我的登录和注册中使用相对布局,而我的家庭活动我使用约束布局。在一个应用程序中可以使用不同的布局。您甚至可以在一个布局文件中使用各种布局:Java Android studio布局,java,android-studio,Java,Android Studio,是否可以在一个Android studio应用程序中使用不同的布局。例如,um计划在我的启动屏幕中使用线性布局,在我的登录和注册中使用相对布局,而我的家庭活动我使用约束布局。在一个应用程序中可以使用不同的布局。您甚至可以在一个布局文件中使用各种布局: 活动\u login.xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:width="
活动\u login.xml
:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:width="wrap_content"
android:height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:width="wrap_content"
android:height="wrap_content">
.. Views / Nested layouts ..
</RelativeLayout>
</LinearLayout>
.. 视图/嵌套布局。。
更多关于布局的信息可以找到YEs, 我t是