Drone3D-Team/Drone3D

View on GitHub
app/src/main/res/layout/mission_selection_item.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021  Drone3D-Team
  ~ The license can be found in LICENSE at root of the repository
  -->

<androidx.constraintlayout.widget.ConstraintLayout 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">



    <androidx.cardview.widget.CardView
        android:id="@+id/mapping_selection_item_button"
        android:layout_width="250dp"
        android:minHeight="50dp"
        android:layout_height="wrap_content"
        android:layout_margin="10sp"
        android:foreground="?attr/selectableItemBackground"
        app:cardElevation="10dp"
        app:cardCornerRadius="14dp"
        android:onClick="goToItineraryCreate"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        >
        <TextView
            style="@style/simpleTextViewStyle"
            android:id="@+id/mapping_selection_item_text"
            android:layout_margin="3dp"
            android:fontFamily="sans-serif"
            android:textSize="18sp"
            android:drawablePadding="6dp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />
    </androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>