aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorpacien2018-08-05 21:04:19 +0200
committerpacien2018-08-05 21:04:19 +0200
commit0961e674fd7738d7a7ff6d76179677bc3779d535 (patch)
tree0e1ea7d674626a99466296c9cd92a5c11780c3b0 /app/src/main/res
parent464adf4257097bac9975485969d19162ee25a33e (diff)
downloadtincapp-0961e674fd7738d7a7ff6d76179677bc3779d535.tar.gz
Replace deprecated progress dialog
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/common_progress_dialog.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/main/res/layout/common_progress_dialog.xml b/app/src/main/res/layout/common_progress_dialog.xml
new file mode 100644
index 0000000..a55834d
--- /dev/null
+++ b/app/src/main/res/layout/common_progress_dialog.xml
@@ -0,0 +1,40 @@
1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4 * tinc app, an Android binding and user interface for the tinc mesh VPN daemon
5 * Copyright (C) 2017-2018 Pacien TRAN-GIRARD
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19-->
20
21<LinearLayout
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
25 android:gravity="center_vertical"
26 android:orientation="horizontal"
27 android:padding="20dp">
28
29 <ProgressBar
30 style="?android:attr/progressBarStyle"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"/>
33
34 <TextView
35 android:id="@+id/common_progress_dialog_text"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:layout_marginStart="20dp"/>
39
40</LinearLayout>