summaryrefslogtreecommitdiff
path: root/main/src/ui/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2020-05-27 13:39:55 +0200
committerArne Schwabe <arne@rfc2549.org>2020-05-27 17:01:23 +0200
commit00b10ed048cc1f6490e7ca3e0530dd4471ca5a40 (patch)
tree0ffe2af2125fc0a05b05d8e3f55ab40a950724a6 /main/src/ui/res
parent45d8e94d3b8421018fa86a8ca1439210fedbd8de (diff)
Implement internal webview for authenticating when OPEN_URL is used
Diffstat (limited to 'main/src/ui/res')
-rw-r--r--main/src/ui/res/layout/webview_internal.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/src/ui/res/layout/webview_internal.xml b/main/src/ui/res/layout/webview_internal.xml
new file mode 100644
index 00000000..f1bf17c8
--- /dev/null
+++ b/main/src/ui/res/layout/webview_internal.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright (c) 2012-2020 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
+<LinearLayout android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:orientation="vertical"
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <TextView
+ android:id="@+id/url_textview"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ tools:text="https://foo.bar.baz" />
+
+ <WebView
+ android:id="@+id/internal_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ />
+
+</LinearLayout>