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

Make a foreground image fill space without being truncated #1

Open
cbestromain opened this issue Jul 28, 2016 · 0 comments
Open

Make a foreground image fill space without being truncated #1

cbestromain opened this issue Jul 28, 2016 · 0 comments

Comments

@cbestromain
Copy link

I want to use 2 image, 1 in foreground and 1 in background. I add them in drawable folder, then I modify xml like this :

         android:layout_width="100dp"
        android:layout_height="100dp"
        app:sv_scratch_background_drawable="@drawable/scratch_win"
        app:sv_scratch_foreground_drawable="@drawable/scratch"
        app:sv_scratch_foreground_repeat="true"

this is my original "scratch"
original

As we can see on the next screenshoots, the background image looks great, but not the foreground image. Any idea why? Is a normal behaviour (maybe you just want put repeatable texture as foreground) and is there a way to modify this?

bug1
bug2

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

No branches or pull requests

1 participant