diff --git a/omniNotes/src/main/java/it/feio/android/omninotes/MainActivity.java b/omniNotes/src/main/java/it/feio/android/omninotes/MainActivity.java
index b39f8fc9fb..527f69deef 100755
--- a/omniNotes/src/main/java/it/feio/android/omninotes/MainActivity.java
+++ b/omniNotes/src/main/java/it/feio/android/omninotes/MainActivity.java
@@ -30,6 +30,7 @@
import static it.feio.android.omninotes.utils.ConstantsBase.INTENT_NOTE;
import static it.feio.android.omninotes.utils.ConstantsBase.PREF_PASSWORD;
+import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
@@ -43,6 +44,7 @@
import androidx.fragment.app.FragmentManager;
import androidx.drawerlayout.widget.DrawerLayout;
import android.view.MenuItem;
+import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import androidx.appcompat.widget.Toolbar;
@@ -109,6 +111,21 @@ protected void onCreate (Bundle savedInstanceState) {
}
+ public void rate(View view){
+ startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("http://play.google.com/store/apps/details?id="+getPackageName())));
+ }
+
+ public void share(View view){
+
+ Intent shareintent =new Intent();
+ shareintent.setAction(Intent.ACTION_SEND);
+ shareintent.putExtra(Intent.EXTRA_TEXT,"http://play.google.com/store/apps/details?id="+getPackageName());
+ shareintent.setType("text/plain");
+ startActivity(shareintent);
+
+ //startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("http://play.google.com/store/apps/details?id="+getPackageName())));
+ }
+
@Override
protected void onResume () {
super.onResume();
diff --git a/omniNotes/src/main/res/drawable/ic_baseline_share_24.xml b/omniNotes/src/main/res/drawable/ic_baseline_share_24.xml
new file mode 100644
index 0000000000..2f13bb3e25
--- /dev/null
+++ b/omniNotes/src/main/res/drawable/ic_baseline_share_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/omniNotes/src/main/res/drawable/ic_baseline_star_24.xml b/omniNotes/src/main/res/drawable/ic_baseline_star_24.xml
new file mode 100644
index 0000000000..33832947ef
--- /dev/null
+++ b/omniNotes/src/main/res/drawable/ic_baseline_star_24.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/omniNotes/src/main/res/layout/fragment_navigation_drawer.xml b/omniNotes/src/main/res/layout/fragment_navigation_drawer.xml
index fd41228924..57b5f3e12e 100644
--- a/omniNotes/src/main/res/layout/fragment_navigation_drawer.xml
+++ b/omniNotes/src/main/res/layout/fragment_navigation_drawer.xml
@@ -16,10 +16,11 @@
-->
+ xmlns:pixlui="http://schemas.android.com/apk/com.neopixl.pixlui"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:background="@color/navigation_bg">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+