Sub Pnl_Entete As Panel
Dim Pnl As Panel
Dim icon_gest_therm As ImageView
Dim lbl_titre As Label
Dim icon_quitter_appli As ImageView
Pnl.Initialize("")
Pnl.Color = Colors.Transparent
icon_gest_therm.Initialize("")
icon_gest_therm.Bitmap = LoadBitmap(File.DirAssets,"icon_gest_therm.png")
icon_gest_therm.Gravity = Gravity.FILL
Pnl.AddView(icon_gest_therm,0,0,40*Main.Coeff_X,40*Main.Coeff_y)
lbl_titre.Initialize("")
lbl_titre.Text = "Gestion du Thermostat"
lbl_titre.TextSize = 10
lbl_titre.Gravity = Gravity.CENTER
lbl_titre.Color=Colors.ARGB(0,0,255,0)
lbl_titre.TextColor = Colors.Green
Pnl.AddView(lbl_titre, 50*Main.Coeff_X, 0*Main.Coeff_Y, 100*Main.Coeff_X, 50*Main.Coeff_Y)
icon_quitter_appli.Initialize("quitter_appli")
icon_quitter_appli.Bitmap = LoadBitmap(File.DirAssets,"icon_quitter.png")
icon_quitter_appli.Gravity = Gravity.FILL
Pnl.AddView(icon_quitter_appli,420,0,40*Main.Coeff_X,40*Main.Coeff_y)
Return Pnl
End Sub