| | |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginHorizontal="8dp" |
| | | android:layout_marginVertical="4dp" |
| | | app:cardCornerRadius="8dp" |
| | | app:cardElevation="2dp"> |
| | | android:layout_marginHorizontal="0dp" |
| | | android:layout_marginVertical="1dp" |
| | | app:cardCornerRadius="0dp" |
| | | app:cardElevation="0dp"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="horizontal" |
| | | android:padding="16dp"> |
| | | android:padding="16dp" |
| | | android:background="@android:color/white"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/categoryIcon" |
| | | android:layout_width="40dp" |
| | | android:layout_height="40dp" |
| | | android:layout_gravity="center_vertical" |
| | | android:layout_marginEnd="16dp" |
| | | android:src="@drawable/ic_add" |
| | | /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:id="@+id/categoryNameText" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/contentText" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="4dp" |
| | | android:textColor="@android:color/darker_gray" |
| | | android:textColor="@android:color/black" |
| | | android:textSize="14sp" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="4dp" |
| | | android:textColor="@android:color/darker_gray" |
| | | android:textColor="@android:color/black" |
| | | android:textSize="12sp" /> |
| | | |
| | | </LinearLayout> |
| | | |
| | | <ImageView |
| | | android:id="@+id/statusIcon" |
| | | android:layout_width="24dp" |
| | | android:layout_height="24dp" |
| | | android:layout_gravity="center_vertical" |
| | | android:src="@drawable/ic_add" |
| | | /> |
| | | |
| | | </LinearLayout> |
| | | |