Files
comaps/android/app/src/main/res/layout/button_new_item.xml
2025-11-26 10:53:42 +01:00

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/button_new_item"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_margin="4dp"
android:clickable="true"
android:focusable="true"
app:cardBackgroundColor="?cardBackground"
app:cardCornerRadius="12dp"
app:cardElevation="2dp"
tools:showIn="@layout/item_charging_sockets">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="12dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_marginTop="4dp"
android:text="+"
android:textSize="40sp"
android:textStyle="bold"
tools:ignore="HardcodedText" />
</RelativeLayout>
</com.google.android.material.card.MaterialCardView>