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"
|
|
|
|
android:padding="10dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-06-01 17:53:56 +02:00
|
|
|
<TextView
|
2020-06-30 16:43:27 +02:00
|
|
|
android:id="@+id/labelTitle"
|
2020-06-01 17:53:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:visibility="gone" />
|
2020-06-01 17:53:56 +02:00
|
|
|
|
|
|
|
<TextView
|
2020-06-30 16:43:27 +02:00
|
|
|
android:id="@+id/labelId"
|
2020-06-01 17:53:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:visibility="gone" />
|
2020-06-01 17:53:56 +02:00
|
|
|
|
|
|
|
<TextView
|
2020-06-30 16:43:27 +02:00
|
|
|
android:id="@+id/labelColor"
|
2020-06-01 17:53:56 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-30 16:43:27 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:tint="@color/colorWhite"
|
|
|
|
app:srcCompat="@drawable/ic_label" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/labelName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textSize="16sp"
|
|
|
|
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"
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:src="@drawable/ic_dotted_menu_horizontal" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|