2024-01-12 18:34:43 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2024-01-14 14:09:04 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2024-01-12 18:34:43 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2024-01-14 14:09:04 +01:00
|
|
|
android:minWidth="350dp"
|
2024-01-12 18:34:43 +01:00
|
|
|
tools:context=".ui.modules.captcha.CaptchaDialog">
|
|
|
|
|
2024-01-14 14:09:04 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="20dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/captcha_dialog_title"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/captcha_close"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/captcha_refresh"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/captcha_refresh"
|
|
|
|
style="@style/Widget.Material3.Button.IconButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:contentDescription="@string/logviewer_refresh"
|
|
|
|
app:icon="@drawable/ic_refresh"
|
|
|
|
app:iconTint="?colorOnSurface"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/captcha_close"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/captcha_close"
|
|
|
|
style="@style/Widget.Material3.Button.IconButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:contentDescription="@string/all_close"
|
|
|
|
app:icon="@drawable/ic_all_close_circle"
|
|
|
|
app:iconTint="?colorOnSurface"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2024-01-12 18:34:43 +01:00
|
|
|
<WebView
|
|
|
|
android:id="@+id/captcha_webview"
|
|
|
|
android:layout_width="match_parent"
|
2024-01-14 14:09:04 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/captcha_close" />
|
2024-01-12 18:34:43 +01:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|