aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/login_webview.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-03 00:22:10 -0700
committerAllan Wang <me@allanwang.ca>2017-06-03 00:22:10 -0700
commit5796566137995c8d244720f87ba85bce0e0d2f00 (patch)
tree1736e12182c7cf2769ad953029dc6a645b803802 /app/src/main/res/layout/login_webview.xml
parentbc197ad5769ee792d930ac5b634e1e9000230689 (diff)
downloadfrost-5796566137995c8d244720f87ba85bce0e0d2f00.tar.gz
frost-5796566137995c8d244720f87ba85bce0e0d2f00.tar.bz2
frost-5796566137995c8d244720f87ba85bce0e0d2f00.zip
css updates and beginning login migration
Diffstat (limited to 'app/src/main/res/layout/login_webview.xml')
-rw-r--r--app/src/main/res/layout/login_webview.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/src/main/res/layout/login_webview.xml b/app/src/main/res/layout/login_webview.xml
new file mode 100644
index 00000000..35b5f681
--- /dev/null
+++ b/app/src/main/res/layout/login_webview.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/swipe_refresh"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ImageView
+ android:id="@+id/profile"
+ android:layout_width="144dp"
+ android:layout_height="144dp"
+ android:layout_centerInParent="true"
+ android:layout_marginBottom="8dp"
+ android:contentDescription="Profile Picture"
+ android:scaleType="centerInside"/>
+
+ <android.support.v7.widget.AppCompatTextView
+ android:id="@+id/textview"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_below="@id/profile"
+ android:visibility="gone" />
+
+ <com.pitchedapps.frost.web.LoginWebView
+ android:id="@+id/login_webview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:visibility="invisible" />
+ </RelativeLayout>
+</android.support.v4.widget.SwipeRefreshLayout> \ No newline at end of file