summaryrefslogtreecommitdiff
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
committerrubenwardy <rw@rubenwardy.com>2021-10-18 18:11:33 +0100
commit27f4195471fbbac33b5cdc19025ec5aa6c118a75 (patch)
tree193758bcafe425e7dcb9d77796ec3674eea182b6 /android/app/src/main/res/layout/activity_main.xml
parentb2596eda32a41a8008b6979d7a29e0c225421a3a (diff)
downloadminetest-27f4195471fbbac33b5cdc19025ec5aa6c118a75.tar.gz
minetest-27f4195471fbbac33b5cdc19025ec5aa6c118a75.tar.bz2
minetest-27f4195471fbbac33b5cdc19025ec5aa6c118a75.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>