so27 Active Member Licensed User Longtime User Sep 23, 2017 #1 Okay it works very well. If I change the activity with Code: B4X: StartActivity("Name") then the notification bar remains white, instead of in the main activity that is colored. What could that be? Or several activity are not easily possible with AppCompat and the ACToolbar?
Okay it works very well. If I change the activity with Code: B4X: StartActivity("Name") then the notification bar remains white, instead of in the main activity that is colored. What could that be? Or several activity are not easily possible with AppCompat and the ACToolbar?
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2017 #2 Have you added the #Extend line to the second activity? Upvote 0
so27 Active Member Licensed User Longtime User Sep 24, 2017 #3 Is that so wrong in the 2nd activity? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2017 #4 Try to reproduce it in a small project and upload it. Upvote 0
so27 Active Member Licensed User Longtime User Sep 24, 2017 #5 Project unfortunately 200kb too big . I saved it in the cloud... Here is the project... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2017 #6 I'm sorry but I'm missing several libraries. Try to reproduce it in a small project with only AppCompat library and two activities. Upvote 0
I'm sorry but I'm missing several libraries. Try to reproduce it in a small project with only AppCompat library and two activities.
DonManfred Expert Licensed User Longtime User Sep 24, 2017 #7 so27 said: Is that so wrong in the 2nd activity? Click to expand... This line must be on any Activity which you want to be AppCompat. So the answer is no. Upvote 0
so27 said: Is that so wrong in the 2nd activity? Click to expand... This line must be on any Activity which you want to be AppCompat. So the answer is no.
so27 Active Member Licensed User Longtime User Sep 24, 2017 #8 Okay, I've found the problem. Erel and DonManfred thanks for your help. I removed the following from the manifest file. Then it works fine. B4X: <item name="android:statusBarColor">@android:color/transparent</item> Last edited: Sep 24, 2017 Upvote 0
Okay, I've found the problem. Erel and DonManfred thanks for your help. I removed the following from the manifest file. Then it works fine. B4X: <item name="android:statusBarColor">@android:color/transparent</item>