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: 201

DonManfred

Expert
Licensed User
Longtime User
as you are not using appcompat in zoomer. Try to remove appcompat from Main too
 
Upvote 0
Top