Material Smart App Rating Dialog for Android

Material Smart Rating App

Material Smart app rate dialog for Android which takes user rating into consideration. If the user rates the app below the defined threshold rating, the dialog will change into a feedback form. Otherwise, It will take the user to the Google PlayStore.

Features

  • Auto fetches the app icon to appear on top of the dialog
  • Make the dialog appear on a defined app session
  • Opens Feedback form if the user rates below the minimum threshold
  • Extracts the accent color from your app’s theme
  • Customizable title, positive button, and negative button texts
  • Customizable button colors and backgrounds
  • Override dialog redirection to Google Play or Feedback form according to your needs

If you want the dialog builder method and move the code to the setOnClickListener() method of your Activity class.

Installation

Add jitpack in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}

Step 2. Add the dependency

	dependencies {
	
	         implementation 'com.github.vimalcvs:Material-Smart-Rating:1.0.6'
	}

How to use

Use the dialog as it is setOnClickListener() Just like MainActivity.java

        LinearLayout linearLayout = findViewById(R.id.rate_ok);
        linearLayout.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
	    
                ///Rate Dialog
                RateDialogManager.showRateDialog(MainActivity.this, savedInstanceState);

            }
        });

Add Icon

Add email drawable/ic_rate_feedback.png to your drawable file. Auto fetches the app icon to appear on top of the dialog.

    ...drawable/ic_rate_feedback.png
    ...drawable/ic_rate_star.png

Add Email

Add email res/values/ to your strings.xml file. Auto fetch the app email id.

....
<resources>
    <string name="email">technovimalin@gmail.com</string>
....

Add Button Color

Add email res/values/ to your color.xml file. Auto fetch the Button Color.

....
   <resources>
    <color name="rate_icon_color">#0d7eff</color>
    <color name="rate_button_color">#006cbc</color>
	  
    <color name="rate_active_color">#edbd31</color>
    <color name="rate_normal_color">#959595</color>
....
Dark Mode

Material-Smart-Rating (this link opens in a new window) by vimalcvs (this link opens in a new window)

😍⭐⭐Material Smart Rating App – An Android library that encourages users to rate the app on Google Play.⭐⭐😘

Credits

This project was initiated by TechnoVimal.in. You can contribute to this project by submitting issues or/and by forking this repo and sending a pull request.

TechnoVimalhttps://technovimal.in
Hey, I’m Vimal K. Vishwakarma, A part Time Blogger, Youtuber & Affiliate Marketer and Founder of TechnoVimal.in, SarkariBhaiya.com and YouTube Channel. TechnoVimal is a website that provides you authentic information about SEO, SEM, blogging, affiliate marketing, social media marketing, and how to earn money through blogging.

DEALS

GET STARTED

Wondershare Filmora 9 Free Download with | Activation Keys Code 2021

Wondershare Filmora 9 Free download the latest version for Windows. The program and all files are checked and installed manually before loading....

SBI Bank Account में Mobile Number Register कैसे करे

रजिस्टर्ड मोबाइल नंबर Bank में जाकर अपने SBI Account को बदलने में काफी समय लगता है। SBI इंटरनेट बैंकिंग या SBI ATM मशीन...

How to open SBI Zero Balance Saving Account Apply Online

दोस्तों आज के इस आर्टिकल में हम जाने वाले है की State Bank of India (SBI) में आप अपना बैंक खाता कैसे...

YoWhatsApp APK Download (Official) Latest Version 15.20.2 – Anti-Ban

Yo WhatsApp APK Download Latest Version for Android: Yousef YoWhatsApp entered the field of WhatsApp MODs with a tremendous plan. He is...

UP Scholarship Status 2021 – Latest updates, Check Scholarship Status through PFMS

यूपी छात्रवृत्ति की स्थिति - यूपी छात्रवृत्ति पोर्टल (ऑनलाइन छात्रवृत्ति और शुल्क वापसी प्रणाली) की प्रमुख विशेषताओं में से एक है जो...

POPULAR NOW

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here