summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/custom/res/drawable/ic_motd.pngbin0 -> 44157 bytes
-rw-r--r--app/src/custom/res/drawable/motd_img.xml13
-rw-r--r--app/src/main/res/drawable/motd_img.xml18
-rw-r--r--app/src/main/res/layout/f_motd.xml14
4 files changed, 32 insertions, 13 deletions
diff --git a/app/src/custom/res/drawable/ic_motd.png b/app/src/custom/res/drawable/ic_motd.png
new file mode 100644
index 00000000..27f9a7f0
--- /dev/null
+++ b/app/src/custom/res/drawable/ic_motd.png
Binary files differ
diff --git a/app/src/custom/res/drawable/motd_img.xml b/app/src/custom/res/drawable/motd_img.xml
new file mode 100644
index 00000000..d27db1a0
--- /dev/null
+++ b/app/src/custom/res/drawable/motd_img.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+ <!--
+ *****************************************************
+ Used to create the image to be shown in the motd fragment
+ example: <item android:drawable="@drawable/mybackground" />
+ *****************************************************
+ -->
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/ic_motd"
+ android:gravity="fill_horizontal|fill_vertical"/>
+</layer-list>
+
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