Change black background color for IntroActivity
See original GitHub issueI 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:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 yourcolors.xml
file calledappintro_default_background_color
and define your default color.@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.