2024-10-07 22:47:30 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2025-04-15 12:36:18 -04:00
|
|
|
android:id="@+id/headerText"
|
2024-10-07 22:47:30 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2025-04-15 12:36:18 -04:00
|
|
|
android:text="@string/app_header"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
2024-10-07 22:47:30 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2025-04-15 12:36:18 -04:00
|
|
|
android:layout_marginTop="16dp"/>
|
2024-10-07 22:47:30 -04:00
|
|
|
|
2025-04-15 12:36:18 -04:00
|
|
|
<!-- Main Upload Options Section -->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/uploadOptionsCard"
|
|
|
|
|
android:layout_width="match_parent"
|
2024-10-07 22:47:30 -04:00
|
|
|
android:layout_height="wrap_content"
|
2025-04-15 12:36:18 -04:00
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
|
app:cardElevation="4dp"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/headerText">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/upload_options_title"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/selectFileButton"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/select_file_button"
|
|
|
|
|
android:drawableStart="@android:drawable/ic_menu_search"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/uploadDumpstateButton"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:text="@string/upload_dumpstate_button"
|
|
|
|
|
android:drawableStart="@android:drawable/ic_menu_save"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<!-- Dumpstate Section -->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/dumpstateCard"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
|
app:cardElevation="4dp"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/uploadOptionsCard">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/dumpstate_section_title"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/dumpstateStatusText"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:text="@string/looking_for_dumpstate"
|
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
<!-- Selected File Section -->
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/selectedFileCard"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
|
app:cardElevation="4dp"
|
2024-10-07 22:47:30 -04:00
|
|
|
android:visibility="gone"
|
2025-04-15 12:36:18 -04:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/dumpstateCard">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/selected_file_section_title"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:textStyle="bold"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/selectedFileText"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:text="@string/no_file_selected"
|
|
|
|
|
android:textSize="16sp"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/uploadSelectedFileButton"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/upload_selected_file"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
2025-04-14 21:37:18 -04:00
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:visibility="gone"
|
2025-04-15 12:36:18 -04:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/selectedFileCard"
|
2025-04-14 21:37:18 -04:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
android:layout_marginTop="16dp"/>
|
2024-10-07 22:47:30 -04:00
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|