mirror of https://codeberg.org/gitnex/GitNex.git
87 lines
2.9 KiB
XML
87 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/linearLayoutMainFrame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/primaryBackgroundColor"
|
|
android:orientation="horizontal"
|
|
android:padding="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/labelTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/labelId"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/labelColor"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
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>
|
|
|