F fasilosman Active Member Licensed User Longtime User Sep 9, 2017 #1 Hi, I am using app compat toolbar as title bar. I could not find how to reduce the title text size. I could not find any options in properties. It may be simple. I am sorry. Can anyone help me.
Hi, I am using app compat toolbar as title bar. I could not find how to reduce the title text size. I could not find any options in properties. It may be simple. I am sorry. Can anyone help me.
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2017 #2 The Title property accepts a CharSequence. This means that you can use CSBuilder to customize it. Upvote 0
F fasilosman Active Member Licensed User Longtime User Sep 10, 2017 #3 Thank you Erel Erel said: The Title property accepts a CharSequence. This means that you can use CSBuilder to customize it. Click to expand... Upvote 0
Thank you Erel Erel said: The Title property accepts a CharSequence. This means that you can use CSBuilder to customize it. Click to expand...
F fasilosman Active Member Licensed User Longtime User Sep 10, 2017 #4 I tried CSBuilder as follows but it doesn't work. I also tried RichString relativesize but no effects B4X: Dim t As CSBuilder ACToolBarLight.Title = t.Initialize.Size(6).Append("HOT OFFERS") Upvote 0
I tried CSBuilder as follows but it doesn't work. I also tried RichString relativesize but no effects B4X: Dim t As CSBuilder ACToolBarLight.Title = t.Initialize.Size(6).Append("HOT OFFERS")
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2017 #5 Your code is wrong. Please go over the tutorial: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content Upvote 0
Your code is wrong. Please go over the tutorial: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content
F fasilosman Active Member Licensed User Longtime User Sep 10, 2017 #6 Erel said: Your code is wrong. Please go over the tutorial: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content Click to expand... Thank you. I missed "PopAll". Now working fine. Upvote 0
Erel said: Your code is wrong. Please go over the tutorial: https://www.b4x.com/android/forum/threads/charsequence-csbuilder-tutorial.76226/#content Click to expand... Thank you. I missed "PopAll". Now working fine.