Android Ads code that is required in every app of Vasundhara Infotech Vasundhara Infotech LLP
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.vickypathak123:Android-More-Apps:latest_build_version'
}
// All Ad-Ids are Optional
MoreApps.with(mActivity)
.setAppPackageName("YOUR_PROJECT_PACKAGE_NAME")
.setShareMessage("YOUR_APP_SHARE_MESSAGE")
.setTextColor(Color.BLUE)
.setThemeColor(Color.RED)
.setShareIcon(R.drawable.ic_share_blue) // Optional
.setBackIcon(R.drawable.ic_new_header_back) // Optional
.launch()
<com.example.app.appcenter.widgets.TopsMoreAppsView
android:id="@+id/moreAppView"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:app_package_name="YOUR_PROJECT_PACKAGE_NAME"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:text_gravity="CENTER"
app:theme_color="@color/colorAccent"
app:title_text="YOUR_VIEW_TITLE_TEXT"/>
app_package_name = "YOUR_PROJECT_PACKAGE_NAME"
text_gravity = "LEFT || CENTER || RIGHT"
title_text = "YOUR_VIEW_TITLE_TEXT" // Optional