mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-28 00:43:38 +00:00
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>
30 lines
1.1 KiB
XML
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> |