2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-06-30 16:43:27 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/linearLayoutMainFrame"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:orientation="horizontal"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:padding="16dp">
|
2020-06-30 16:43:27 +02:00
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/labelView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:cardCornerRadius="5dp"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:contentPaddingBottom="3dp"
|
|
|
|
app:contentPaddingLeft="10dp"
|
|
|
|
app:contentPaddingRight="10dp"
|
|
|
|
app:contentPaddingTop="3dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/labelIcon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
2021-04-13 16:19:42 +02:00
|
|
|
app:tint="@color/colorWhite"
|
2020-06-30 16:43:27 +02:00
|
|
|
app:srcCompat="@drawable/ic_label" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/labelName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:layout_marginStart="10dp"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:textColor="@color/colorWhite"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:textSize="14sp"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/labelsOptionsMenu"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical|end"
|
|
|
|
android:contentDescription="@string/labelMenuContentDesc"
|
2021-05-01 00:01:22 +02:00
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:src="@drawable/ic_dotted_menu_horizontal" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|