diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2020-11-19 19:17:21 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2020-12-14 13:59:04 +0000 |
| commit | ea40ff6455c5624a95fc0f53a7c3e65e23c28c27 (patch) | |
| tree | 4e93abc29664e4a5371eb06f9059cfa25cd329b4 /android/src/main/res/layout | |
| parent | 78804209e7be8c1171402977f0489275faecf1bc (diff) | |
| download | mullvadvpn-ea40ff6455c5624a95fc0f53a7c3e65e23c28c27.tar.xz mullvadvpn-ea40ff6455c5624a95fc0f53a7c3e65e23c28c27.zip | |
Create `ConfirmPublicDnsDialogFragment`
Diffstat (limited to 'android/src/main/res/layout')
| -rw-r--r-- | android/src/main/res/layout/confirm_public_dns.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/android/src/main/res/layout/confirm_public_dns.xml b/android/src/main/res/layout/confirm_public_dns.xml new file mode 100644 index 0000000000..90d72e722b --- /dev/null +++ b/android/src/main/res/layout/confirm_public_dns.xml @@ -0,0 +1,32 @@ +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scrollbars="none"> + <LinearLayout android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="30dp" + android:background="@drawable/dialog_background" + android:orientation="vertical" + android:gravity="left" + android:elevation="2dp"> + <ImageView android:layout_width="44dp" + android:layout_height="44dp" + android:layout_marginTop="8dp" + android:layout_gravity="center" + android:src="@drawable/icon_alert" /> + <TextView android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="0" + android:layout_marginTop="16dp" + android:textColor="@color/white80" + android:textSize="@dimen/text_small" + android:text="@string/confirm_public_dns" /> + <Button android:id="@+id/confirm_button" + android:layout_marginVertical="@dimen/button_separation" + android:text="@string/add_anyway" + style="@style/RedButton" /> + <Button android:id="@+id/back_button" + android:text="@string/back" + style="@style/BlueButton" /> + </LinearLayout> +</ScrollView> |
