Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix launch screen on android

ammarahm-ed28d293c49450
diff --git a/apps/mobile/android/app/src/main/res/drawable/notesnooktext.png b/apps/mobile/android/app/src/main/res/drawable/notesnooktext.png
new file mode 100644
index 000000000..bbf261e44
Binary files /dev/null and b/apps/mobile/android/app/src/main/res/drawable/notesnooktext.png differ
diff --git a/apps/mobile/android/app/src/main/res/layout/launch_screen.xml b/apps/mobile/android/app/src/main/res/layout/launch_screen.xml
index 4543dc4cd..d9841e825 100644
--- a/apps/mobile/android/app/src/main/res/layout/launch_screen.xml
+++ b/apps/mobile/android/app/src/main/res/layout/launch_screen.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout android:background="#0560FF" xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:background="#0560FF" xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
>
- <com.streetwriters.notesnook.MyTextView
- android:id="@+id/textview"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="Notesnook"
- android:textAlignment="center"
- android:textColor="#FFFFFF"
- android:textSize="40sp"
- android:textStyle="bold"
- android:typeface="serif" />
-
+ <ImageView
+ android:id="@+id/imageView"
+ android:layout_width="392dp"
+ android:layout_height="90dp"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentRight="false"
+ android:layout_alignParentBottom="false"
+ android:layout_marginHorizontal="80dp"
+ android:src="@drawable/notesnooktext" />
</RelativeLayout>
\ No newline at end of file