Files
comaps/android/app/src/main/res/layout/button_new_item.xml
Séverin Lemaignan d168855ef5 [android] add support for editing charging stations details
While here, uncluttered a little the charging station editor,
removing fields like the POI address which is basically irrelevant for
charging stations.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-10-12 20:17:06 +02:00

30 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: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>