Android : programmatically adding a layout to phonegap as banner

on Saturday, April 18, 2015


i have layout like this





<ir.adad.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
token="hadi" />



and i want to add it to my phone-gap application onCreate method. so far i have written the code and extend Droidgap but i don't know how to turn my above code to java code for adding this layout to my app


0 comments:

Post a Comment