Matteo Granatiero Active Member Licensed User Longtime User Apr 24, 2018 #1 Previously I had added the 2 colors for the Layout in the Manifest Editor. Now changing them, they are changed but in some controls as the Spinner remains the background of the list the old color. I checked everywhere if the old color was still inserted but there is no trace. How can I solve?
Previously I had added the 2 colors for the Layout in the Manifest Editor. Now changing them, they are changed but in some controls as the Spinner remains the background of the list the old color. I checked everywhere if the old color was still inserted but there is no trace. How can I solve?
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2018 #2 Hard to say. Have you added any resource files to Objects\res ? Upvote 0
Matteo Granatiero Active Member Licensed User Longtime User Apr 25, 2018 #3 Erel said: Hard to say. Have you added any resource files to Objects\res ? Click to expand... No, just the app icon in the folder :drawable the folder "values" contains the file "theme.xml".. it's that the problem? Upvote 0
Erel said: Hard to say. Have you added any resource files to Objects\res ? Click to expand... No, just the app icon in the folder :drawable the folder "values" contains the file "theme.xml".. it's that the problem?
DonManfred Expert Licensed User Longtime User Apr 25, 2018 #4 Matteo Granatiero said: No, just the app icon in the folder :drawable Click to expand... So the Answer is YES; Not NO. Make sure to set the file to readonly if you dont want to get it removed when compiling. Or add a 2nd Resource and put the File here. You need to reference the other Resource with #additionalres: [path] Upvote 0
Matteo Granatiero said: No, just the app icon in the folder :drawable Click to expand... So the Answer is YES; Not NO. Make sure to set the file to readonly if you dont want to get it removed when compiling. Or add a 2nd Resource and put the File here. You need to reference the other Resource with #additionalres: [path]
Matteo Granatiero Active Member Licensed User Longtime User Apr 25, 2018 #5 DonManfred said: So the Answer is YES; Not NO. Make sure to set the file to readonly if you dont want to get it removed when compiling. Or add a 2nd Resource and put the File here. You need to reference the other Resource with #additionalres: [path] Click to expand... I put the theme file read-only and the situation does not change. I did not understand the second method Upvote 0
DonManfred said: So the Answer is YES; Not NO. Make sure to set the file to readonly if you dont want to get it removed when compiling. Or add a 2nd Resource and put the File here. You need to reference the other Resource with #additionalres: [path] Click to expand... I put the theme file read-only and the situation does not change. I did not understand the second method
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2018 #6 The best way to handle the theme files is with the CreateResource in the manifest editor. See this example: AppCompat with ToolBar - minimal example Note that no file is manually added to the res folders. Upvote 0
The best way to handle the theme files is with the CreateResource in the manifest editor. See this example: AppCompat with ToolBar - minimal example Note that no file is manually added to the res folders.