Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

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

Open SeloSlav opened this issue 8 years ago • 4 comments

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

SeloSlav avatar Dec 24 '16 17:12 SeloSlav

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.

warko-san avatar Jan 06 '17 10:01 warko-san

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.

SeloSlav avatar Jan 23 '17 09:01 SeloSlav

For now no. Only by editing the source.

PenzK avatar Jan 23 '17 13:01 PenzK

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"/>

saecmca avatar Feb 02 '18 08:02 saecmca