Skip to content

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

Open

Description

@SeloSlav

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

Activity

  1. warko-san commented on Jan 6, 2017

    @warko-san
    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.

  2. SeloSlav commented on Jan 23, 2017

    @SeloSlav
    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.

  3. PenzK commented on Jan 23, 2017

    @PenzK

    For now no. Only by editing the source.

  4. saecmca commented on Feb 2, 2018

    @saecmca

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions