Profile cover photo
Profile photo
Roberto Zubieta
87 followers -
Available in five delicious flavors!!!!
Available in five delicious flavors!!!!

87 followers
About
Posts

0xcC2e2201c3D8713D66010B44a07Faba0edD7b6f6
Add a comment...

0x5eacdb15fd15836cf7b77ab952fa56cc8a3e4bb4
Add a comment...

0xa49308C4D3Eb4ECB22896eDec3f2d303AA8F720B
Add a comment...

0x2edc83fdfc7e9ff0d0735ebea1fb610a6c47ab34
Add a comment...

0xcEA0fC611906EaEbBb3F3eeE02F2c6fa27861A69
Add a comment...

0xCe300fdcc6eA71c82AFd227d7F0E2c121AE616b1
Add a comment...

Post has attachment

Post has attachment
This is the best parody I have read in a while.
Add a comment...

Post has attachment
It might be difficult to tell this now, but in the 90s, Sega was a god in the world of gaming. In 1993, when Sega controlled a whopping 65% of the console market, they seemed invincible...and they must have felt that way too, because they dedicated an unprecedented 70 million dollars to a top-secret development called Project Berkeley. Their goal? To make a supergame unlike any the world had ever seen.

Finally someone explains me what #Shenmue is. Now I weep, for I never have touched a Dreamcast.
Feature: Shenmue Who?
Feature: Shenmue Who?
noobdigest.squarespace.com
Add a comment...

Post has shared content
Someone asked me today how to add ink ripple¹ touch feedback to an image without having to add additional views to your hierarchy which would hurt performance or memory use.  Here's a couple of approaches: 

1. Wrap the drawable in a RippleDrawable² before setting it on the ImageView:

Drawable image = …
RippleDrawable rippledImage = new RippleDrawable(ColorStateList.valueOf(rippleColor), image, null);
imageView.setImageDrawable(rippledImage);

2. Extend ImageView and add a foreground attribute to it (like FrameLayout has³).  See this example⁴ from +Chris Banes of adding it to a LinearLayout.  If you do this then make sure you pass through the touch co-ordinates so that the ripple starts from the correct point:

   @Override
    public void drawableHotspotChanged(float x, float y) {
        super.drawableHotspotChanged(x, y);
        if (foreground != null) {
            foreground.setHotspot(x, y);
        }
    }

I prefer the second approach as you can declaratively set a ripple drawable as the foreground asset in your layout and not have to worry about adding it once the image loads, somewhat simplifying your code and playing nicely with image loading libs like Picasso.  The first approach can work well in combination with Palette to set a ripple color derived from the image.

#AndroidDev  

¹ http://www.google.com/design/spec/animation/responsive-interaction.html#responsive-interaction-surface-reaction
² https://developer.android.com/reference/android/graphics/drawable/RippleDrawable.html
³ https://developer.android.com/reference/android/widget/FrameLayout.html#attr_android:foreground
https://gist.github.com/chrisbanes/9091754
Animated Photo
Add a comment...
Wait while more posts are being loaded