Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:cardBackgroundColor="@android:color/black"
- app:cardCornerRadius="20dp">
- <androidx.cardview.widget.CardView
- android:id="@+id/testy"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="3dp"
- app:cardCornerRadius="20dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/transparent"
- android:orientation="vertical"
- android:padding="10dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dp"
- android:background="@android:color/darker_gray"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="element1: mplampla" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="element2: mplampla" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dp"
- android:background="@android:color/darker_gray"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="top"
- android:text="element3:" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingStart="10dp"
- android:paddingTop="20dp"
- android:paddingEnd="10dp"
- android:paddingBottom="10dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item1: mplamplampla" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item2: mplamplampla" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item3: mplamplampla" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item4: mplamplampla" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item5:" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:baselineAligned="false"
- android:orientation="horizontal"
- android:weightSum="4">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:color/red"
- android:orientation="vertical"
- android:padding="5dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 1: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 2: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 3: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 4: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 5: mpla" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_weight="1"
- android:background="@android:color/holo_blue_bright"
- android:orientation="vertical"
- android:padding="5dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 1: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 2: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 3: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 4: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 5: mpla" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_weight="1"
- android:background="@android:color/holo_orange_dark"
- android:orientation="vertical"
- android:padding="5dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 1: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 2: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 3: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 4: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 5: mpla" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_weight="1"
- android:background="@android:color/holo_green_light"
- android:orientation="vertical"
- android:padding="5dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 1: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 2: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 3: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 4: mpla," />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="subItem 5: mpla" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:background="@android:color/darker_gray"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="top"
- android:text="element3:"
- android:visibility="invisible" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingStart="10dp"
- android:paddingTop="10dp"
- android:paddingEnd="10dp"
- android:paddingBottom="10dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item6: mplamplampla" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="start"
- android:text="item7: mplamplampla" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- </androidx.cardview.widget.CardView>
Add Comment
Please, Sign In to add comment