zl程序教程

您现在的位置是:首页 >  移动开发

当前栏目

Android CardView设置成普通的Framelayout详解手机开发

Android手机开发 详解 设置 普通 FrameLayout
2023-06-13 09:20:06 时间
 ?xml version="1.0" encoding="utf-8"? 

 android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" 

 xmlns:app="http://schemas.android.com/apk/res-auto" 

 xmlns:card_view="http://schemas.android.com/apk/res-auto" 

 android:layout_width="match_parent" 

 android:layout_height="wrap_content" 

 android:background="?attr/selectableItemBackground" 

 app:cardCornerRadius="0dp" 

 app:cardElevation="0dp" 

 app:cardPreventCornerOverlap="true" 

 app:cardUseCompatPadding="true" 

 card_view:contentPadding="0dp"