aboutsummaryrefslogtreecommitdiff
path: root/android/app/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
authorNeroBurner <pyro4hell@gmail.com>2021-06-21 21:51:42 +0200
committerGitHub <noreply@github.com>2021-06-21 20:51:42 +0100
commita7143c2a8c48b234d78ec666193b942ae0b62ca3 (patch)
treec6ba5317ba853536d25709f80aadc4036c14dfd3 /android/app/src/main/res/layout/activity_main.xml
parent7fdbf3f231976257a1c246c6ebcdbc5bb8fa5571 (diff)
downloadhax-minetest-server-a7143c2a8c48b234d78ec666193b942ae0b62ca3.tar.gz
hax-minetest-server-a7143c2a8c48b234d78ec666193b942ae0b62ca3.zip
Move build/android directory to root of project (#11283)
Diffstat (limited to 'android/app/src/main/res/layout/activity_main.xml')
-rw-r--r--android/app/src/main/res/layout/activity_main.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/android/app/src/main/res/layout/activity_main.xml b/android/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 000000000..e6f461f14
--- /dev/null
+++ b/android/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,30 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/activity_main"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/bg">
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ style="@style/CustomProgressBar"
+ android:layout_width="match_parent"
+ android:layout_height="30dp"
+ android:layout_centerInParent="true"
+ android:layout_marginLeft="90dp"
+ android:layout_marginRight="90dp"
+ android:indeterminate="false"
+ android:max="100"
+ android:visibility="gone" />
+
+ <TextView
+ android:id="@+id/textView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/progressBar"
+ android:layout_centerInParent="true"
+ android:background="@android:color/transparent"
+ android:text="@string/loading"
+ android:textColor="#FEFEFE"
+ android:visibility="gone" />
+
+</RelativeLayout>