toby Well-Known Member Licensed User Longtime User Apr 24, 2021 #1 . Instead of using AppCompat with ToolBar, I'm trying a simple way of having a scrolling page title by (1)unchecking Show Activity.Title checkbox in Visual Designer and (2)adding a BBScrollingLabel to the top of the activity. One problem I'm having is that the Activity Title is stilling showing despite what I changed in the Visual Designer. I tested it on 3 different phones (Google Pixel 4A Android 11, Samsung Galaxy A11 Android 10, and Zenfone 4 Android 8) with same results. This feature worked for me in some other projects, but not always, in the past. So I think I did something incorrectly. How do I really hide the Activity Title in code? The attached test app is the BBScrollingLabel example that comes with the library. The only thing I changed is, as mentioned above, the Show Activity Title checkbox is unchecked now. Attachments BBScrollingLabelTitle.zip BBScrollingLabelTitle.zip 11.5 KB · Views: 532
. Instead of using AppCompat with ToolBar, I'm trying a simple way of having a scrolling page title by (1)unchecking Show Activity.Title checkbox in Visual Designer and (2)adding a BBScrollingLabel to the top of the activity. One problem I'm having is that the Activity Title is stilling showing despite what I changed in the Visual Designer. I tested it on 3 different phones (Google Pixel 4A Android 11, Samsung Galaxy A11 Android 10, and Zenfone 4 Android 8) with same results. This feature worked for me in some other projects, but not always, in the past. So I think I did something incorrectly. How do I really hide the Activity Title in code? The attached test app is the BBScrollingLabel example that comes with the library. The only thing I changed is, as mentioned above, the Show Activity Title checkbox is unchecked now.
M Mahares Expert Licensed User Longtime User Apr 24, 2021 #2 In activity attributes: Code: #IncludeTitle: false Upvote 0
toby Well-Known Member Licensed User Longtime User Apr 24, 2021 #3 Thank you @Mahares! I knew that I missed something very basic. Apparently, the change in the Visual Designer has no effect. Upvote 0
Thank you @Mahares! I knew that I missed something very basic. Apparently, the change in the Visual Designer has no effect.
ilan Expert Licensed User Longtime User Apr 24, 2021 #4 toby said: Apparently, the change in the Visual Designer has no effect. Click to expand... uncheck "Show Title" in Visual Designer. Upvote 0
toby said: Apparently, the change in the Visual Designer has no effect. Click to expand... uncheck "Show Title" in Visual Designer.
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2021 #5 ilan said: uncheck "Show Title" in Visual Designer. Click to expand... This has no real effect. It is only used to show a better representation of the activity during design. Upvote 0
ilan said: uncheck "Show Title" in Visual Designer. Click to expand... This has no real effect. It is only used to show a better representation of the activity during design.
ilan Expert Licensed User Longtime User Apr 25, 2021 #6 Erel said: This has no real effect. It is only used to show a better representation of the activity during design. Click to expand... sorry misunderstood him Upvote 0
Erel said: This has no real effect. It is only used to show a better representation of the activity during design. Click to expand... sorry misunderstood him