Add new layout and listener for the sudoku import DialogFragment

This commit is contained in:
uykek 2020-07-06 09:35:13 +02:00
parent 26b649e904
commit ca71badd39
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,4 @@
package org.secuso.privacyfriendlysudoku.ui.listener;
public interface IImportDialogFragmentListener {
}

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageButton
android:id="@+id/ver3_copy_sudoku_to_clipboard_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="?attr/actionModeCopyDrawable" />
<EditText
android:id="@+id/ver3_display_sudoku_text_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:ems="10"
android:inputType="textPersonName"
app:layout_constraintBottom_toBottomOf="@+id/ver3_copy_sudoku_to_clipboard_button"
app:layout_constraintEnd_toStartOf="@+id/ver3_copy_sudoku_to_clipboard_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/ver3_copy_sudoku_to_clipboard_button"
app:layout_constraintVertical_bias="0.0" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>