You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Can I change the .png of the background and the sun programatically? #37
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.
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.
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"/>
Activity
warko-san commentedon Jan 6, 2017
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 commentedon Jan 23, 2017
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 commentedon Jan 23, 2017
For now no. Only by editing the source.
saecmca commentedon 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"/>