question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change black background color for IntroActivity

See original GitHub issue

I did not want to have black background for IntroActivity and I couldn’t find any setBackgroundColor, so I created such method:

    private void setActivityBackgroundColor() {
        View container = (View) findViewById(R.id.view_pager).getParent();
        container.setBackgroundColor(Color.TRANSPARENT);
    }

Maybe it would be useful someone else to have such method too.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
cortinicocommented, Jan 9, 2019

Hey @mxp7064 @ViliusKraujutis

With #628 you should be able to override the background color in your app. You just need to define a color in your colors.xml file called appintro_default_background_color and define your default color.

0reactions
cortinicocommented, Feb 18, 2019

@softmarshmallow Which version of AppIntro are you using? Please note that the fix I mentioned was merged with #628 and is only available on master, we haven’t released a new version yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Change the Background Color in Photoshop (Fast ...
In this quick Photoshop tutorial, I'll be teaching you a handy trick to change the background color of an image in just 5...
Read more >
Turn on Dark theme & color inversion - Google Help
You can change your display to a dark background using a dark theme or color inversion. Dark theme applies to the Android system...
Read more >
How to set background color of an Activity to white ...
If you need to dynamically update the background value, see the following: Exercise: Change background color, by SeekBar.
Read more >
Color Contrast - Exploratorium
Experiment with different colors to see which background colors make foreground colors appear lighter and which make them appear darker. Color contrast also ......
Read more >
Add or change the background color of cells - Microsoft Support
Under Theme Colors or Standard Colors, pick the color you want. Font color picker. To use a custom color, click More Colors, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found