Android Question Insert panel and disable others views

jinyistudio

Active Member
Licensed User
Hi Everyones

I would insert a panel(fill full screen) as dialog but I don't know how to disable others views back of the panel(dialog) ? :(

B4X:
Sub btnSwitch_Click
   If Dimming Then
     ShowSwitchDialog
   End If
End Sub
Sub ShowSwitchDialog As Int
      Dim lv As LayoutValues
      Dim item As BltData
 
      If   Not(Dimming) Then
           Return
      End If
 
      If Not(swpl.IsInitialized) Then
          swpl.Initialize("swpl")
          lv = swpl.LoadLayout("BlueLT_switch")
          Activity.AddView(swpl,0,0,lv.Width,lv.Height)
    End If
    swpl.Visible = True
End Sub
 
Last edited:
Top