Advertisement

Android将约束布局快速转换为线性布局

阅读量:

仅讨论如何将约束布局迅速转换为线性布局,而不改变默认布局设置

复制代码
    <?xml version="1.0" encoding="utf-8"?>
    <androidx.constraintlayout.widget.ConstraintLayout 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=".TestActivity">
    </androidx.constraintlayout.widget.ConstraintLayout>
    
    
      
      
      
      
      
      
      
      
    

迅速切换至线性布局模式,可直接对`xmlns:android="http://schemas.andr

全部评论 (0)

还没有任何评论哟~