Android Question Material Design 3 - Using a ToolBar as ActionBar

beeblomarv

Member
Licensed User
Longtime User
While trying to use : ACToolBarExample2_0.zip on https://www.b4x.com/android/forum/threads/material-design-3-using-a-toolbar-as-actionbar.49053/

I am getting this error:

B4A version: 5.80
Parsing code. (0.00s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Generating R file. Error
res\values\themes.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
res\values\themes.xml:6: error: Error: No resource found that matches the given name: attr 'colorAccent'.
res\values\themes.xml:4: error: Error: No resource found that matches the given name: attr 'colorPrimary'.
res\values\themes.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.
res\values\themes.xml:8: error: Error: No resource found that matches the given name: attr 'windowActionBar'.
res\values\themes.xml:9: error: Error: No resource found that matches the given name: attr 'windowActionModeOverlay'.
res\values\themes.xml:7: error: Error: No resource found that matches the given name: attr 'windowNoTitle'.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…