Code Monkey home page Code Monkey logo

Comments (5)

mnive93 avatar mnive93 commented on August 16, 2024 2

Hello,
There seems to be an issue with colorPrimary and colorPrimaryDark. @chenyuan
In your colors.xml override these colors

 <color name="customactivityoncrash_primary">Your color primary</color>
 <color name="customactivityoncrash_primary_dark">Your color primary dark</color>

In your themes.xml do this

<style name="CustomActivityOnCrashTheme" parent="AppTheme" >
        <item name="android:label">Your app name</item>
        <item name="colorPrimary">@color/customactivityoncrash_primary</item>
        <item name="colorPrimaryDark">@color/customactivityoncrash_primary_dark</item>
    </style>

from customactivityoncrash.

Ereza avatar Ereza commented on August 16, 2024 1

Hi, latest version is now available on Maven Central. Let me know if you have any other issue!

from customactivityoncrash.

TheLGameS avatar TheLGameS commented on August 16, 2024

Did not work!

from customactivityoncrash.

Ereza avatar Ereza commented on August 16, 2024

Hi @chrischen-melb, sorry for the long delay in my response.

This should be fixed in the current development version since it now uses AppCompat. It will soon be published in version 2.0.0 of the library.

Please reopen this issue if this isn't fixed, and thanks for reporting the problem.

from customactivityoncrash.

sujatha2016 avatar sujatha2016 commented on August 16, 2024

I tried this but not working.
My apps primaryCOlor is white so I cannot see that button text Error Details due to this. Is there anyway we can achieve this.

I tried adding this style in styles.xml

<style name="CustomActivityOnCrashTheme" parent="AppTheme" >
      <item name="android:label">MyAppName</item>
      <item name="colorPrimary">@color/myColor</item>
      <item name="colorPrimaryDark">@color/myColorDark</item>
  </style>

I didn't see any options to set this to CoacBuilder.

from customactivityoncrash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.