peacemaker Expert Licensed User Longtime User Jun 9, 2018 #1 ...to be title and subtitle are both for sure visible, not like this Some code is required to adjust the height for various screen density ?
...to be title and subtitle are both for sure visible, not like this Some code is required to adjust the height for various screen density ?
J jtare Active Member Licensed User Longtime User Jun 9, 2018 #2 try to put this in the visual designer (under script-general) B4X: If ActivitySize > 6.5 Then ActionBar.Height = 64dip Else If Portrait Then ActionBar.Height = 56dip Else ActionBar.Height = 48dip End If End If More details https://www.b4x.com/android/forum/threads/material-design-3-using-a-toolbar-as-actionbar.49053/ Upvote 0
try to put this in the visual designer (under script-general) B4X: If ActivitySize > 6.5 Then ActionBar.Height = 64dip Else If Portrait Then ActionBar.Height = 56dip Else ActionBar.Height = 48dip End If End If More details https://www.b4x.com/android/forum/threads/material-design-3-using-a-toolbar-as-actionbar.49053/