summaryrefslogtreecommitdiff
path: root/app/src/custom
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-11-13 00:19:24 +0100
committercyberta <cyberta@riseup.net>2022-11-22 01:48:38 +0100
commitd38845aedd6e7df50b5ffbb0627107a4eced95bd (patch)
treeed1c627fb88ee51532b0c3e8f1cdf72e7d2418d1 /app/src/custom
parent1a9004432b1733ae30f9cc8ebb85a70af8d93d34 (diff)
allow set motd image in custom branded versions
Diffstat (limited to 'app/src/custom')
-rw-r--r--app/src/custom/res/drawable/ic_motd.pngbin0 -> 44157 bytes
-rw-r--r--app/src/custom/res/drawable/motd_img.xml13
2 files changed, 13 insertions, 0 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>
+