mirror of https://github.com/M66B/FairEmail.git
parent
3e9ed34c68
commit
e040d12285
@ -1,73 +1,88 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<eu.faircode.email.ScrollViewEx xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="24dp">
|
android:padding="24dp"
|
||||||
|
android:scrollbarStyle="outsideOverlay">
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/tvDeepL"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="0dp"
|
android:layout_height="wrap_content">
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:labelFor="@+id/etKey"
|
|
||||||
android:text="DeepL"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
||||||
app:layout_constraintEnd_toStartOf="@id/ibInfo"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<ImageButton
|
<eu.faircode.email.FixedTextView
|
||||||
android:id="@+id/ibInfo"
|
android:id="@+id/tvDeepL"
|
||||||
android:layout_width="36dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="36dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
android:labelFor="@+id/etKey"
|
||||||
android:contentDescription="@string/title_info"
|
android:text="DeepL"
|
||||||
android:padding="6dp"
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
android:scaleType="fitCenter"
|
app:layout_constraintEnd_toStartOf="@id/ibInfo"
|
||||||
android:tooltipText="@string/title_info"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
app:layout_constraintTop_toTopOf="@id/tvDeepL"
|
|
||||||
app:srcCompat="@drawable/twotone_info_24" />
|
|
||||||
|
|
||||||
<eu.faircode.email.EditTextPlain
|
<ImageButton
|
||||||
android:id="@+id/etDomain"
|
android:id="@+id/ibInfo"
|
||||||
android:layout_width="0dp"
|
android:layout_width="36dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="36dp"
|
||||||
android:layout_marginTop="24dp"
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||||
android:hint="api-free.deepl.com"
|
android:contentDescription="@string/title_info"
|
||||||
android:imeOptions="actionDone"
|
android:padding="6dp"
|
||||||
android:inputType="text"
|
android:scaleType="fitCenter"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:tooltipText="@string/title_info"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="@id/tvDeepL"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvDeepL">
|
app:srcCompat="@drawable/twotone_info_24" />
|
||||||
|
|
||||||
<requestFocus />
|
<eu.faircode.email.EditTextPlain
|
||||||
</eu.faircode.email.EditTextPlain>
|
android:id="@+id/etDomain"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="24dp"
|
||||||
|
android:hint="api-free.deepl.com"
|
||||||
|
android:imeOptions="actionDone"
|
||||||
|
android:inputType="text"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/tvDeepL">
|
||||||
|
|
||||||
<eu.faircode.email.EditTextPlain
|
<requestFocus />
|
||||||
android:id="@+id/etKey"
|
</eu.faircode.email.EditTextPlain>
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="24dp"
|
|
||||||
android:hint="@string/title_translate_key"
|
|
||||||
android:imeOptions="actionDone"
|
|
||||||
android:inputType="text"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/etDomain">
|
|
||||||
|
|
||||||
<requestFocus />
|
<eu.faircode.email.EditTextPlain
|
||||||
</eu.faircode.email.EditTextPlain>
|
android:id="@+id/etKey"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:hint="@string/title_translate_key"
|
||||||
|
android:imeOptions="actionDone"
|
||||||
|
android:inputType="text"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/etDomain">
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<requestFocus />
|
||||||
android:id="@+id/tvUsage"
|
</eu.faircode.email.EditTextPlain>
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
<CheckBox
|
||||||
android:layout_marginTop="12dp"
|
android:id="@+id/cbSmall"
|
||||||
android:text="Usage"
|
android:layout_width="wrap_content"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginTop="12dp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/etKey" />
|
android:text="@string/title_translate_small"
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/etKey" />
|
||||||
|
|
||||||
|
<eu.faircode.email.FixedTextView
|
||||||
|
android:id="@+id/tvUsage"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:text="Usage"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/cbSmall" />
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
</eu.faircode.email.ScrollViewEx>
|
||||||
|
Loading…
Reference in new issue