编辑点评:Material Components组件目录软件
Android模块化且可自定义的材质设计UI组件,全称Material Components简称为MDC,M3 Catalog是可以轻松浏览查看目录效果的软件,支持搜索功能,可以根据自己的喜好来查看效果,主题风格,字体大小等,喜欢谷歌MDC风格的朋友,想要接入此组件的可以看看。

组件介绍
按钮 (MaterialButton)
<com.google.android.material.button.MaterialButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_label"
app:icon="@drawable/ic_add_24dp"
app:iconGravity="textStart"
app:iconPadding="8dp"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"/>
特性:
内置文本和图标按钮
多种样式:填充按钮、描边按钮、文本按钮
波纹效果自动支持
卡片 (MaterialCardView)
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="4dp"
app:strokeColor="@color/colorPrimary"
app:strokeWidth="1dp">
<!-- 卡片内容 -->
</com.google.android.material.card.MaterialCardView>
底部导航 (BottomNavigationView)
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:menu="@menu/bottom_nav_menu"
app:labelVisibilityMode="labeled"
app:itemIconTint="@drawable/bottom_nav_color_selector"
app:itemTextColor="@drawable/bottom_nav_color_selector"/>
导航抽屉 (NavigationView)
<com.google.android.material.navigation.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
app:headerLayout="@layout/nav_header"
app:menu="@menu/drawer_menu"
app:itemIconTint="@color/nav_item_icon_color"
app:itemTextColor="@color/nav_item_text_color"/>
文本字段 (TextInputLayout)
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:counterEnabled="true"
app:counterMaxLength="20"
app:helperText="请输入用户名"
app:errorEnabled="true"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="用户名"/>
</com.google.android.material.textfield.TextInputLayout>
复选框 (CheckBox) 和单选按钮 (RadioButton)
<com.google.android.material.checkbox.MaterialCheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="同意条款"
app:buttonTint="@color/checkbox_color_selector"/>
<com.google.android.material.radiobutton.MaterialRadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="选项A"
app:buttonTint="@color/radio_button_color_selector"/>
底部动作条 (BottomSheet)
val bottomSheet = MyBottomSheetFragment()
bottomSheet.show(supportFragmentManager, bottomSheet.tag)
滑动刷新 (SwipeRefreshLayout)
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
M3 Catalog app特色
官方支持:由Google Material Design团队维护
设计一致性:确保应用符合最新Material Design规范
开发效率:减少自定义UI的工作量
持续更新:跟随Material Design的演进
M3 Catalog是什么
M3 Catalog全称Material Components(MDC)是Google官方推出的跨平台UI组件库,提供了Android、iOS、Web和Flutter等多个平台的实现。MDC-Android专门为Android开发者提供:
符合Material Design规范的预制UI组件
主题系统和颜色定制方案

现成的动效和交互模式
可访问性支持
为什么选择M3 Catalog组件
大幅减少UI开发时间
确保应用设计一致性
轻松实现复杂的交互和动效
内置支持可访问性和国际化
更新日志
1.14.0更新
更新为35。compileSdkVersion
更新为23。minSdkVersion
图书馆现已构建AGP 8.11.1和Gradle 8.13版本。
Catalog
将目录中的搜索视图全屏(9b413fc)
更新列表文档和演示,以更清楚地说明与列表滑动中增长元素对应的主要动作,适用于a11y(5cb1500))
修正演示中导航抽屉切换的初始内容描述(67bd159)
修复MultiSectionListDemoFragment以正确读取视图类型(4dba971)
在 FAB 上添加提示和展开/收缩按钮(dd70ef9)
CollapsingToolbarLayout
修复折叠时多行标题变化时跳转的问题(d227870)
Divider
M3E(81373b7)隐藏搜索视图分隔器)
FloatingActionButton
覆盖 setContentDescription 以设置 API 26+ (f1193e3) 上的工具提示文本)
Lists
更新标签样式的状态颜色,并更新演示,使 ListItemCardView 子节点能够复制并传递其父状态(845a0e3)
支持ListItemLayout中的开始/结束揭示重力(504300d))
MaterialButton
增加对备用图标的支持(fa56dd6 4bb9acd)
修正可勾选按钮的点击声(499350d))
MaterialDatePicker
在图标按钮上添加提示(1fd35bc)
SideSheet
当viewRef被废止后,只有runAfterLayout lambda(88717fc)才访问时,防止NullPointerException。)
TextInputLayout
聚焦辅助文本(85c910f)
TimePicker
修复分屏(71d88f5)中ClockFaceView裁剪的问题)
Tokens
将令牌版本更新为31.0.0 (57f3cdb)
TopAppBar
在 CollapsingTextHelper(58ad14e)中,使字母间距依赖于文本大小)
Other
将MDC库版本更新至1.14.0-alpha09(eeb036e)
更新翻译字符串(40d1be5)
更新字符串翻译 (00e5eda)
Update minSdkVersion to 23 (cd3f114)


美图秀秀免费无限制vip版
百度阅读APP手机版下载
中国移动官方营业厅
美团外卖app官方版
抖音极速版app正版
手机百度app官方版
新浪微博Weibo手机版
手机淘宝app客户端
中国电信网上营业厅
b站哔哩哔哩app手机版












microG服务框架软件v0.3.12.250932-hw 华为版
microG伴侣app0.3.12.40226 通用版
izdaxAi翻译appv1.1.0 最新版
拼豆图纸创作appv1.0.3 最新版
嗔嗔appv1.0.0 官方最新版
Mangogo车载机器人v1.0.3 安卓版
小七软件库最新下载安装v1.5.0 最新版
AI写小说appv1.2.0 最新版
不死鸟模块v0.1.2 最新版
ReLSPosed框架v1.0.2 最新版
Stellar软件v1.0.11 安卓最新版
你好盒子桌面最新版本v2.2.85 电视版
贺岁红包派appv2.0.2 最新版
反编译APP去广告版v2.1.0 安卓版
冒小泡高情商回复v1.9.2 最新版
FK蓝鸟vip模块v1.0 免费版
我要验牌语音盒在线v1.02 安卓版
极速抢红包神器appv2.9.6 最新版
轻蜂游戏加速器免费版v1.1.0 官方版
灵缇游戏加速器v6.0.2 官方版
老王磁力引擎v3.2.0 官方版
大小: 5.4M
















海外视频app排行榜
AI小说创作软件免费
谷歌安装器下载
第三方谷歌应用商店
免费追剧软件
光速虚拟机安卓正版
夸克网盘安卓版
华为应用市场官方正版
精品下载站app官方版
猎豹清理大师国际版app
51虚拟机最新版
vmos pro最新版2026免费版
虚拟大师VMOS Pro官方正版
搜狗输入法免费版
WiFi万能钥匙app正版
热门评论
最新评论