【发布时间】:2018-05-09 05:42:51
【问题描述】:
如何为CalendarView 创建宽度和高度相等的布局? ImageView 的相同问题的答案不适用于 CalendarView:
ImageView - have height match width?
当前布局:
<CalendarView
android:id="@+id/calendarView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
【问题讨论】:
标签: android layout calendarview