Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I change the .png of the background and the sun programatically? #37

Open
SeloSlav opened this issue Dec 24, 2016 · 4 comments
Open

Comments

@SeloSlav
Copy link

Is it possible to change the graphics programatically? I want to build via gradle...

@warko-san
Copy link
Contributor

Hi, @santafebound! As description says, you can customize animation only by changing:
sun.png - Sun image
sky.png - background image
buildings.png - foreground image
in your project. No other possibilities.

@SeloSlav
Copy link
Author

Cool, but is there a way to do this programatically if I've only included the project via gradle? I don't have the source in my project is what I'm saying.

@PenzK
Copy link

PenzK commented Jan 23, 2017

For now no. Only by editing the source.

@saecmca
Copy link

saecmca commented Feb 2, 2018

I try this custom foreground but it shows recyclerview overlapping. how to solve this
<com.yalantis.phoenix.PullToRefreshView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/pull_to_refresh"
android:foreground="@drawable/buildings"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants