diff options
author | Maksim <MoNTE48@mail.ua> | 2020-04-15 16:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 16:27:40 +0200 |
commit | 62ae7adab2bebde04864c12543caefbffab24963 (patch) | |
tree | 1cad2b08c94c2de26a39124f3b3dd0d513cbcc99 /build/android/app/src/main/res/layout | |
parent | 8ae8c1600a66c724565ce7a70e0e5f542f12e38e (diff) | |
download | minetest-62ae7adab2bebde04864c12543caefbffab24963.tar.gz minetest-62ae7adab2bebde04864c12543caefbffab24963.tar.bz2 minetest-62ae7adab2bebde04864c12543caefbffab24963.zip |
Android: add Android Studio support, completely redone java part (#9066)
Diffstat (limited to 'build/android/app/src/main/res/layout')
-rw-r--r-- | build/android/app/src/main/res/layout/activity_main.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/build/android/app/src/main/res/layout/activity_main.xml b/build/android/app/src/main/res/layout/activity_main.xml new file mode 100644 index 000000000..e6f461f14 --- /dev/null +++ b/build/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> |