Activity :main (don't hide the title)
Activity :zoomer (this works fine)
B4X:
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: false
#End Region
#Extends: android.support.v7.app.AppCompatActivity
Sub Process_Globals
End Sub
Sub Globals
Dim destPath As String
End Sub
Sub Activity_Create(FirstTime As Boolean)
destPath = Starter.rp.GetSafeDirDefaultExternal("")
If File.Exists(destPath,"empire.jpg") = False Then
File.Copy(File.DirAssets,"empire.jpg",destPath,"empire.jpg")
End If
zoomer.filename= File.Combine(destPath,"empire.jpg")
StartActivity(zoomer)
End Sub
Activity :zoomer (this works fine)
B4X:
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: false
#End Region
Sub Process_Globals
Dim filename As String
End Sub
Sub Globals
Private ZoomageView1 As ZoomageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("zoomer")
ZoomageView1.ImageURI=filename
End Sub