Back to project page Patio.
The source code is released under:
MIT License
If you think the Android project Patio listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.andressantibanez.android.patio; /*ww w .j a v a 2 s . c o m*/ import android.widget.ImageView; public class PatioThumbnail { private String mThumbnailPath; private ImageView mThumbnailView; public PatioThumbnail(String thumbnailPath, ImageView thumbnailView) { mThumbnailPath = thumbnailPath; mThumbnailView = thumbnailView; } public String getThumbnailPath() { return mThumbnailPath; } public ImageView getThumbnailView() { return mThumbnailView; } public void setSelected(boolean selected) { getThumbnailView().setSelected(selected); if(selected) { getThumbnailView().setAlpha(0.5f); } else { getThumbnailView().setAlpha(1.0f); } } public boolean isSelected() { return getThumbnailView().isSelected(); } }