Replace /res/
with /lib/
in your custom layout nampespace.
xmlns:android="http://schemas.android.com/apk/res/android"
in your case, would be:
xmlns:yourApp="http://schemas.android.com/apk/lib/com.yourAppPackege.yourClass"
More Related Contents:
- Embedding ads within Recyclerview
- How can I get device ID for Admob
- Admob Error in Eclipse for android:configChanges
- Why are permissions being automatically added to my AndroidManifest when including Google Play Services library
- admob getting an ad response. ErrorCode: 0 Failed to load ad:0
- onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory when using admob with adwhirl
- Mopub ads not showing
- Not enough space to show ad (AdMob)
- Interstitial Admob ads: “IllegalStateException: Only fullscreen activities can request orientation”
- Admob implementation Error
- Cordova does not create AndroidManifest.xml
- Admob on Multiple Activities?
- Implementing admob for different activities
- Is there any way to Show Google Admob in Android Recycler View
- Admob ads not loading – Failed to load ad: 0
- Admob shows Test ads but not real ads
- How to create our own Listener interface in android?
- Context.startForegroundService() did not then call Service.startForeground()
- Simple Android RecyclerView example
- How to build an executable for Android shell
- How to send and receive data SMS messages
- Android intercept paste\copy\cut on editText
- Add a search filter on RecyclerView with Cards?
- how to display map in android with marker
- (Deprecated) Fragment onOptionsItemSelected not being called
- Use an aar library cause missing dependencies using api in Gradle 4.x
- How to use notifyDataSetChanged() in thread
- How to change the star images of the RatingBar?
- Android Emulator: This app won’t run without Google Play services
- Java.lang.ClassNotFoundException after Android studio update