D
Deleted member 103
Guest
Hi,
here again a problem with Customdialog2.
Does it have to be so or can something be changed in the library?
My Code:
View with "<uses-sdk android:minSdkVersion="9" />"
View with "<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22"/>"
I know I change my code as well, but that does not look so good.
View with "<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22"/>"
here again a problem with Customdialog2.
Does it have to be so or can something be changed in the library?
My Code:
B4X:
Sub ShowHistory
Dim cd As CustomDialog2
Dim wbview As WebView
wbview.Initialize("")
wbview.LoadHtml(File.GetText(File.DirAssets, mLanguage.getStr("HistoryFile")))
wbview.ZoomEnabled = False
cd.AddView(wbview,85%x,60%y)
cd.Show(Application.LabelName,"OK","","",LoadBitmap(File.DirAssets,"icon_48_48.png"))
End Sub
View with "<uses-sdk android:minSdkVersion="9" />"
View with "<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22"/>"
I know I change my code as well, but that does not look so good.
B4X:
Sub ShowHistory
Dim cd As CustomDialog2
Dim wbview As WebView
wbview.Initialize("")
wbview.LoadHtml(File.GetText(File.DirAssets, mLanguage.getStr("HistoryFile")))
wbview.ZoomEnabled = False
cd.AddView(wbview,60%x,60%y)
cd.Show(Application.LabelName,"OK","","",LoadBitmap(File.DirAssets,"icon_48_48.png"))
End Sub
View with "<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22"/>"