Bug? Load xml view

tuhatinhvn

Active Member
Licensed User
Longtime User
I am writing a B4A library for Startapp In App Ads Plugin but i can not know how to make this (StartAPp SDK)

To add the Automatic Banner, add the following view inside your Activity layout XML:
<com.startapp.android.publish.banner.Banner
android:id="@+id/startAppBanner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>

I think i will create a xml and copy to folder res/layout/startapp.xml(or ads.xml,etc....) mark it read-only

But i dont know much about java code to load it in a library B4A. And content of this xml??
I dont know anything about linerlayout or relativelayout,....

Anyone can help?
 
Top