mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-01 10:33:45 +00:00
56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?cardBackground">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@+id/button_container"
|
|
android:layout_gravity="center">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
<com.google.android.material.imageview.ShapeableImageView
|
|
android:layout_width="90dp"
|
|
android:layout_height="90dp"
|
|
app:srcCompat="@drawable/ic_download"
|
|
app:tint="?android:colorAccent"/>
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/head_message"
|
|
style="?fontHeadline6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/margin_base"
|
|
android:gravity="center"
|
|
android:text="@string/download_map_title" />
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/download_message"
|
|
style="?fontBody2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/margin_base"
|
|
android:layout_marginTop="@dimen/margin_base"
|
|
android:layout_marginEnd="@dimen/margin_base"
|
|
android:gravity="center"
|
|
android:textColor="?android:textColorSecondary"
|
|
tools:text="@string/download_resources" />
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<include
|
|
android:id="@+id/button_container"
|
|
layout="@layout/button_with_progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true" />
|
|
</RelativeLayout>
|
|
|