How to change the file style.xml Delphi firemonkey

Asked

Viewed 785 times

1

I wonder how to change this file style.xml to change the notification bar of android in standard material design (http://antonioleiva.com/material-design-everywhere/).

That is I want to change the theme, but whenever I change this file it goes back to what it was before I want my application to receive this theme:

<style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
<!-- Here we setting appcompat’s actionBarStyle -->
<item name="actionBarStyle">@style/MyActionBarStyle</item>

<!-- ...and here we setting appcompat’s color theming attrs -->
<item name="colorPrimary">@color/my_awesome_red</item>
<item name="colorPrimaryDark">@color/my_awesome_darker_red</item>

<!-- The rest of your attributes -->

  • Are you sure this is Delphi ?

  • yes in Delphi has these files in the project folder, but when it is specifically manipulated it is changed to the default again. I believe I have an option in the ide to change that, but so far I haven’t found it. So much so that Androidmanifest.template.xml can be changed to add admob

  • I tried to do something similar to this http://www.theclub.com.br/restricted/revisas/201409/delp1409.aspx but to no avail

  • maybe it’s just the file configuration in Deployment. Try changing the files there

  • did not see if the possibility change by deployement, I tried to check an option not to change the contents the project does not compile, I tried to inform another style.xml file and disable the pattern also when compiles from the error, I do not remember the error when I get home given the error. and an important issue is the interface the ide enables a great app development but no use if interface is outdated

  • I will speak from my own experience that I spent in the company I am : do not use Delphi for android , you will be delayed in technologies , the Apis for Java are much better, have years of studies, many contributors , the Delphi is already the opposite ,has very little help over the internet, and anywhere else, and many problems you haven’t seen yet and will come across.

  • I understand, thanks for the feedback (Y)

  • @Jeffersonmelloolynyki, did you manage to solve this style.xml... I have the same problem, I change the Androidmanifest.xml file and when I recompile it changes the information all over again.

  • @Jeffersonrudolf unfortunately no, I gave it up

  • @Jeffersonmelloolynyki, there is no way, I change, when I go to deploy, starts to conflict in the files generated from xml. There must be a way to change the xml and recompile it without problems. Which one you use?

  • I was using xe10, but I tried everything, I posted the doubt in the forum of Embarcadero and nothing, nobody knew how to solve... I ended up having to make the app in java in android studio that was very simple

Show 6 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.