diff options
author | cyberta <cyberta@riseup.net> | 2022-11-22 13:37:53 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-11-30 12:42:45 +0100 |
commit | 1a4d5e2df6eb4e47448355cc3372be9016d02f85 (patch) | |
tree | e33baf413a6562d727eed16d9871ae08161989c8 /app/src/main/res/drawable | |
parent | c3613c8521edb8f3e979331d2396977808581eeb (diff) |
implement splash screen - for now without progress bar animation
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/bitmask_text.png | bin | 0 -> 2878 bytes | |||
-rw-r--r-- | app/src/main/res/drawable/footer_text_drawable.xml | 19 | ||||
-rw-r--r-- | app/src/main/res/drawable/leap_footer_en.png | bin | 0 -> 1339 bytes | |||
-rw-r--r-- | app/src/main/res/drawable/splash_page.xml | 13 |
4 files changed, 28 insertions, 4 deletions
diff --git a/app/src/main/res/drawable/bitmask_text.png b/app/src/main/res/drawable/bitmask_text.png Binary files differnew file mode 100644 index 00000000..9a13b150 --- /dev/null +++ b/app/src/main/res/drawable/bitmask_text.png diff --git a/app/src/main/res/drawable/footer_text_drawable.xml b/app/src/main/res/drawable/footer_text_drawable.xml new file mode 100644 index 00000000..801746df --- /dev/null +++ b/app/src/main/res/drawable/footer_text_drawable.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:gravity="fill_horizontal"> + + <shape android:shape="rectangle" + xmlns:android="http://schemas.android.com/apk/res/android"> + <solid android:color="@android:color/white"/> + </shape> + </item> + <item + android:gravity="center" + android:top="@dimen/footer_text_padding" + android:bottom="@dimen/footer_text_padding" + > + <bitmap android:src="@drawable/leap_footer_en"/> + </item> +</layer-list> diff --git a/app/src/main/res/drawable/leap_footer_en.png b/app/src/main/res/drawable/leap_footer_en.png Binary files differnew file mode 100644 index 00000000..4881eb29 --- /dev/null +++ b/app/src/main/res/drawable/leap_footer_en.png diff --git a/app/src/main/res/drawable/splash_page.xml b/app/src/main/res/drawable/splash_page.xml index 1740da58..92ae59ef 100644 --- a/app/src/main/res/drawable/splash_page.xml +++ b/app/src/main/res/drawable/splash_page.xml @@ -1,13 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> - <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/ic_splash_background" android:gravity="fill_horizontal|fill_vertical"/> - <item> + <item + android:top="@dimen/splash_text_top_padding" + > <bitmap - android:src="@drawable/logo" - android:gravity="center" /> + android:src="@drawable/bitmask_text" + android:gravity="center_horizontal|top" /> </item> + <item + android:drawable="@drawable/footer_text_drawable" + android:gravity="bottom|fill_horizontal" /> </layer-list>
\ No newline at end of file |