1 files added
1 files modified
| | |
| | | buildFeatures { |
| | | viewBinding true |
| | | } |
| | | sourceSets { |
| | | main { |
| | | //声明layout子文件夹 |
| | | res.srcDirs = [ |
| | | 'src/main/res/layout/item', |
| | | //下面两个是固定兼容写法 |
| | | 'src/main/res/layout', |
| | | 'src/main/res' |
| | | ] |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | dependencies { |
New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" > |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |