| | |
| | | <data> |
| | | <variable |
| | | name="bean" |
| | | type="com.application.zhangshi_app_android.bean.DailyConsumeRecordBean" /> |
| | | type="com.application.zhangshi_app_android.bean.DailyConsumeRecordBean" |
| | | /> |
| | | <variable |
| | | name="isFold" |
| | | type="boolean" |
| | | /> |
| | | </data> |
| | | |
| | | <androidx.cardview.widget.CardView |
| | |
| | | android:background="@drawable/ic_tourism_add" |
| | | /> |
| | | <ImageView |
| | | android:id="@+id/iv_fold" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:background="@drawable/ic_fold" |
| | | android:background="@{isFold?@drawable/ic_fold:@drawable/ic_unfold}" |
| | | android:layout_marginStart="10dp" |
| | | /> |
| | | </LinearLayout> |