fallback mode

This commit is contained in:
lucky 2022-02-14 04:45:37 +03:00
parent 539bb9397e
commit e8001df6ee
10 changed files with 71 additions and 6 deletions

View file

@ -20,6 +20,7 @@
android:id="@+id/scrollView"
android:layout_width="0dp"
android:layout_height="0dp"
android:padding="16dp"
android:layout_marginVertical="16dp"
app:layout_constraintBottom_toTopOf="@+id/toggle"
app:layout_constraintEnd_toEndOf="parent"
@ -42,6 +43,7 @@
<TextView
android:id="@+id/description2"
android:textSize="12sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/redirection_delay_description" />
@ -64,6 +66,33 @@
</com.google.android.material.textfield.TextInputLayout>
<Space
android:layout_marginVertical="8dp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginVertical="8dp"
android:background="?android:attr/listDivider" />
<CheckBox
android:id="@+id/fallback"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layoutDirection="rtl"
android:text="@string/fallback"
android:textSize="16sp" />
<TextView
android:id="@+id/description3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/fallback_description"
android:textSize="12sp" />
</LinearLayout>
</ScrollView>

View file

@ -8,4 +8,8 @@
<string name="destination_threema">Threema</string>
<string name="redirection_delay_description">Задержка до того, как звонок будет перенаправлен.</string>
<string name="popup_position">Позиция всплывающего окна</string>
<string name="fallback">Обратная совместимость</string>
<string name="fallback_description">Перенаправлять в WhatsApp/Viber, если другие недоступны.</string>
<string name="fallback_destination_whatsapp">WhatsApp</string>
<string name="fallback_destination_viber">Viber</string>
</resources>

View file

@ -8,4 +8,8 @@
<string name="destination_threema">Threema</string>
<string name="redirection_delay_description">Delay before a call will be redirected.</string>
<string name="popup_position">Popup position</string>
<string name="fallback">Fallback</string>
<string name="fallback_description">Redirect to WhatsApp/Viber if no other available.</string>
<string name="fallback_destination_whatsapp">WhatsApp</string>
<string name="fallback_destination_viber">Viber</string>
</resources>