<?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:layout_width="match_parent" android:layout_height="220dp" android:background="@color/lib_dialog_bg_color" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="1" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="2" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="3" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="@dimen/lib_dp_1" android:layout_weight="1"> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="4" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="5" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="6" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="@dimen/lib_dp_1" android:layout_weight="1"> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="7" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="8" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="9" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="@dimen/lib_dp_1" android:layout_marginBottom="2dp" android:layout_weight="1" android:orientation="horizontal"> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="." android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="0" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView android:layout_width="0dp" android:layout_height="match_parent" android:layout_margin="2dp" android:layout_weight="1" app:cardCornerRadius="@dimen/lib_dp_5"> <Button style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="match_parent" android:layout_height="match_parent" android:insetTop="0dp" android:insetBottom="0dp" android:text="DEL" android:textColor="@color/black" android:textSize="20sp" /> </androidx.cardview.widget.CardView> </LinearLayout> </LinearLayout>