Android Question B4XDrawer-new activity without top action bar...

kisoft

Well-Known Member
Licensed User
Longtime User
Hello
I am using this solution...
However, I have a small problem when I add a new activity, it appears without the top action bar.
Despite these settings ...
B4X:
#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region
I found this only happening with AppCompat. Do I have to add something, change something ... I am not up to date lately and I might have missed something.
 

kisoft

Well-Known Member
Licensed User
Longtime User
You should add this to activity:
B4X:
#Extends: android.support.v7.app.AppCompatActivity
I added this ... I download the drawer example which works fine, I only add new activity and there is a problem.
 
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
I mean to add #extend to the new activity, it should be added to every activity you want top bar action appear.
I did it and it doesn't work either ... I posted a design that shows the problem.
 

Attachments

  • AppC.zip
    14.8 KB · Views: 128
Upvote 0

kisoft

Well-Known Member
Licensed User
Longtime User
I checked your example; you missed to add ACToolBarLight1 view in the designer for each activity
Thank you for your time, this is it ... I thought I had something mixed up with the B4A installation and the whole environment ...
 
Upvote 0
Top