summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/motd_img.xml18
-rw-r--r--app/src/main/res/layout/f_motd.xml14
2 files changed, 19 insertions, 13 deletions
diff --git a/app/src/main/res/drawable/motd_img.xml b/app/src/main/res/drawable/motd_img.xml
new file mode 100644
index 00000000..4a330b8f
--- /dev/null
+++ b/app/src/main/res/drawable/motd_img.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:drawable="@drawable/background_main"
+ android:gravity="fill_horizontal|fill_vertical"/>
+
+ <item
+ android:top="50dp"
+ android:bottom="50dp"
+ android:left="50dp"
+ android:right="50dp"
+ >
+ <bitmap
+ android:src="@drawable/logo"
+ android:gravity="center" />
+ </item>
+
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/layout/f_motd.xml b/app/src/main/res/layout/f_motd.xml
index 3202e95b..6e763c75 100644
--- a/app/src/main/res/layout/f_motd.xml
+++ b/app/src/main/res/layout/f_motd.xml
@@ -66,18 +66,6 @@
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.4" />
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/motd_icon"
- android:layout_width="120dp"
- android:layout_height="120dp"
- app:layout_constraintTop_toTopOf="@id/guideline_sv_top"
- app:layout_constraintBottom_toTopOf="@+id/guideline_sv_center"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- android:src="@drawable/donation_img"
- android:scaleType="fitXY"
- android:visibility="gone" />
-
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/motd_icon_circle"
android:layout_width="120dp"
@@ -86,7 +74,7 @@
app:layout_constraintBottom_toTopOf="@+id/guideline_sv_center"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
- android:src="@drawable/donation_img"
+ android:src="@drawable/motd_img"
android:visibility="visible"
/>
<androidx.appcompat.widget.AppCompatTextView