G GEoffT Member Licensed User Longtime User Sep 6, 2017 #1 The first image shows the screen before the following code is obeyed. The second shows the difference between Samsung S4 and Huawei phones. As can be seen the underlying buttons show through on the Huawei but not on the Samsung. I can't find out why.....can anyone explain this please. B4X: Sub btnAddScore_Click et10s.Color= Colors.white etScore.Color = Colors.White etXs.Color = Colors.White etHits.color = Colors.White pnlAddScore.BringToFront pnlAddScore.Visible = True pnlAddScore.Enabled = True dpDate.AddToActivity(pnlAddScore,lblDate) Main.bowType="" spSetOfRounds.Visible=True spAddScore.Visible=False spBowType.SelectedIndex = 0 End Sub
The first image shows the screen before the following code is obeyed. The second shows the difference between Samsung S4 and Huawei phones. As can be seen the underlying buttons show through on the Huawei but not on the Samsung. I can't find out why.....can anyone explain this please. B4X: Sub btnAddScore_Click et10s.Color= Colors.white etScore.Color = Colors.White etXs.Color = Colors.White etHits.color = Colors.White pnlAddScore.BringToFront pnlAddScore.Visible = True pnlAddScore.Enabled = True dpDate.AddToActivity(pnlAddScore,lblDate) Main.bowType="" spSetOfRounds.Visible=True spAddScore.Visible=False spBowType.SelectedIndex = 0 End Sub
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2017 #2 Set the elevation of the panel to 2dip or more. Upvote 0
G GEoffT Member Licensed User Longtime User Sep 7, 2017 #3 Erel said: Set the elevation of the panel to 2dip or more. Click to expand... Thanks Erel. Upvote 0