deano2390 / MaterialShowcaseView

A Material Design themed ShowcaseView for Android
Apache License 2.0
2.72k stars 526 forks source link

Added support for changing font size #196

Open amodkanthe opened 4 years ago

amodkanthe commented 4 years ago

Support for changing font size

 new MaterialShowcaseView.Builder(getActivity())
                        .setTarget(mAirportNameTextView)
                        .setDismissOnTouch(true)
                        .setTitleTextSize(TypedValue.COMPLEX_UNIT_SP,18)
                        .setContentTextSize(TypedValue.COMPLEX_UNIT_SP,16)
                        .setTitleText(getString(R.string.coach_change_airport_primary))
                        .setContentText(getString(R.string.coach_change_airport_scondary))
                        .setMaskColour(getColor(R.color.coachAccentTrans))
                        .build()