googleads-mobile-android-native-templates
googleads-mobile-android-native-templates copied to clipboard
I'm using the following method to set the typeface color. However, **withPrimaryTextTypefaceColor()** and **withSecondaryTextTypefaceColor()** don't seem to be working. ``` val styles = NativeTemplateStyle.Builder() .withMainBackgroundColor(ColorDrawable(resources.getColor(R.color.colorWhite))) .withPrimaryTextSize(16f) .withPrimaryTextTypefaceColor(resources.getColor(R.color.colorRed)) .withPrimaryTextTypeface(ResourcesCompat.getFont(requireContext(), R.font.lato_regular)) .withSecondaryTextSize(14f)...
If I convert the xml atributes to androidX, the visit website button get squeezed.
HI, https://support.google.com/admob/answer/6329638?hl=en "Only the ad titles, URLs, CTA, and image assets can be clickable (no clickable "white" space)." when i use templates, I can click everywhere in ads. Please confirm!
How to change native ads color with app color theme
Should exist a native template like banner or smart banner in admob banners. We only have here like e.g large banner and very big banner I think i would be...
I have cloned this repo and added `nativetemplates` folder as a module as shown here https://developers.google.com/admob/android/native/templates Then after adding the following in app-level `build.gradle` file, (need to remove extra `)`...
As guide for Native Template suggest this repo doesn't support androidx, as now Native Ads are open for all users, kindly add support for androidx. Native Template Guide https://developers.google.com/admob/android/native/templates
It shows that the ad-attribution on the templates isn't at the top, as opposed to what's required: https://support.google.com/admob/answer/6329638?hl=en&visit_id=638590532906705919-568851271&rd=1#:~:text=Ad%20attribution%20must%20be%20displayed%20at%20the%20top%20of%20the%20ad. https://developers.google.com/admob/android/native/templates And here they look very weird, as if we can press...