How to ask user for rate the app manually in android

void rateThisApp() { final SweetAlertDialog pDialog = new SweetAlertDialog(HomeActivity.this, SweetAlertDialog.WARNING_TYPE); pDialog.getProgressHelper().setBarColor(R.color.colorPrimaryDark); pDialog.setTitleText(“If you like then please 5 star.”); pDialog.setConfirmText(“Rate 5 star”); pDialog.setConfirmClickListener(sDialog -> { sDialog.dismissWithAnimation();…

Android custom navigation menu icon

Generally the default navigation drawer code is DrawerLayout drawer = findViewById(R.id.drawer_layout); ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); drawer.addDrawerListener(toggle); toggle.syncState(); NavigationView navigationView…

Android Add Animations Left Right Top Bottom Translation.

Animation animSlideDown = AnimationUtils.loadAnimation(getActivity(), R.anim.bottom_to_top); yourLayout.startAnimation(animSlideDown); Animations. Just create an animation file inside anim folder under the res. app->res->anim bottom_to_top.xml <?xml version=”1.0″ encoding=”utf-8″?><set xmlns:android=”http://schemas.android.com/apk/res/android”> <translate…