Android Question with ZoomageView can't hide Activity.Title fom main activity

birnesoft

Active Member
Licensed User
Longtime User
Activity :main (don't hide the title)
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
 

Attachments

  • zoomage.zip
    16.7 KB · Views: 217
Cookies are required to use this site. You must accept them to continue using the site. Learn more…