I am writing a B4A library for Startapp In App Ads Plugin but i can not know how to make this (StartAPp SDK) - LoAD A VIEW TO MY ACTIVITY (This view is have xml code as below)
I know that layout of B4A is file BAL have diffirent structure than xml layout
I think i will create a xml and copy to folder res/layout/startapp.xml(or ads.xml,etc....) mark it read-only
then write code java in library to load this view to my B4A activity
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?
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 know that layout of B4A is file BAL have diffirent structure than xml layout
I think i will create a xml and copy to folder res/layout/startapp.xml(or ads.xml,etc....) mark it read-only
then write code java in library to load this view to my B4A activity
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?