Xicu Active Member Licensed User Longtime User Nov 4, 2019 #1 In my application in each activity a title bar appears. Since I have added the Multiphotopicker library(https://www.b4x.com/android/forum/threads/multiphotopicker.82923/#content), which requires the additional Appcompat library, the title bar has disappeared in all my activities If in each activity I incorporate the line '#Extends line: android.support.v7.app.AppCompatActivity' the title bar reappears. Is this the right solution?. I probably have a concept error, but: Is it possible not to use the AppCompat library in my activities displaying the original title bar, and keep the appcompat library only for multiphotopicker requirements?
In my application in each activity a title bar appears. Since I have added the Multiphotopicker library(https://www.b4x.com/android/forum/threads/multiphotopicker.82923/#content), which requires the additional Appcompat library, the title bar has disappeared in all my activities If in each activity I incorporate the line '#Extends line: android.support.v7.app.AppCompatActivity' the title bar reappears. Is this the right solution?. I probably have a concept error, but: Is it possible not to use the AppCompat library in my activities displaying the original title bar, and keep the appcompat library only for multiphotopicker requirements?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2019 #2 You should probably make the activity an AppCompatActivity. This requires two steps: 1. Add the #Extends attribute. 2. Set the theme with the manifest editor. See this example: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/ Upvote 0
You should probably make the activity an AppCompatActivity. This requires two steps: 1. Add the #Extends attribute. 2. Set the theme with the manifest editor. See this example: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/