mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 02:53:30 +00:00
Initial Commit
SIMTAK 1.0 Stable Version Developed to use with Armatak addon for ARMA 3 Copyright ©2024 Valmo Trindade All rights reserved. Take a look on the main project: https://github.com/valmojr/armatak
This commit is contained in:
67
app/src/main/res/layout/dialog_alert.xml
Normal file
67
app/src/main/res/layout/dialog_alert.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
app:cardElevation="0dp"
|
||||
app:strokeWidth="0dp"
|
||||
app:cardBackgroundColor="@color/white"
|
||||
app:cardCornerRadius="15dp">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="220dp"
|
||||
android:minHeight="120dp"
|
||||
android:paddingHorizontal="30dp">
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="35dp"
|
||||
style="@style/Theme.SIMTAK.Font.TitleMediumDarkGrey"
|
||||
tools:text="TesteDialog"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
<TextView
|
||||
android:id="@+id/message"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
style="@style/Theme.SIMTAK.Font.InfoLight"
|
||||
android:text="@string/tryAgain"
|
||||
app:layout_constraintTop_toBottomOf="@id/title"
|
||||
/>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/containerButtons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@id/message"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginTop="6dp"
|
||||
android:paddingBottom="17dp">
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnAccept"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"
|
||||
app:cornerRadius="0dp"
|
||||
style="@style/Widget.Material3.Button.TextButton"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnCancel"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:textSize="16sp"
|
||||
app:cornerRadius="0dp"
|
||||
style="@style/Widget.Material3.Button.TextButton"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/btnAccept"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
Reference in New Issue
Block a user