Skip to content

Instantly share code, notes, and snippets.

@wviana
Last active April 6, 2016 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wviana/0f0e62a9f2f56a545ee0f9de58671783 to your computer and use it in GitHub Desktop.
Save wviana/0f0e62a9f2f56a545ee0f9de58671783 to your computer and use it in GitHub Desktop.
<ImageView
android:id="@+id/details_foto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@drawable/foto_ex"
android:adjustViewBounds="true"
android:visibility="visible"
android:paddingTop="5dp"
/>
private void updatePhoto() {
foto.setVisibility(View.VISIBLE);
Picasso.with(getActivity())
.load(getPhotoRequestPath())
.into(foto, getStreetViewImage);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment