以下是修正后的代码:

<TextView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id='+@id/tv_date'
    android:layout_width='match_parent'
    android:layout_height='match_parent'
    android:gravity='center'
    android:textSize='18sp' />

非常抱歉给你带来了困扰。以上是修正后的'calendar_item.xml'布局文件中的'TextView'代码。感谢你的耐心和理解。

Android TextView 代码示例 - 显示日期

原文地址: https://www.cveoy.top/t/topic/be21 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录