summaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-11-22 19:15:06 +0000
committercyberta <cyberta@riseup.net>2022-11-22 19:15:06 +0000
commitc3613c8521edb8f3e979331d2396977808581eeb (patch)
tree15aeeb09e1948466ae11b3591c7be89bb6de7bf9 /app/src/main/res/drawable
parent5bec8a2ab69cd3d457756ca43fa28b880f95befa (diff)
parent2d20c8e269a502945e981662abe1f7818090a618 (diff)
Merge branch 'motd' into 'master'
Motd Closes #9082 See merge request leap/bitmask_android!213
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r--app/src/main/res/drawable/background_motd.xml9
-rw-r--r--app/src/main/res/drawable/motd_img.xml18
2 files changed, 27 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/background_motd.xml b/app/src/main/res/drawable/background_motd.xml
new file mode 100644
index 00000000..519e0233
--- /dev/null
+++ b/app/src/main/res/drawable/background_motd.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle"
+ >
+ <gradient android:startColor="@color/black_high_transparent"
+ android:endColor="@color/white_transparent"
+ android:angle="90"
+ />
+</shape> \ No newline at end of file
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