Last active
April 6, 2016 14:32
-
-
Save wviana/0f0e62a9f2f56a545ee0f9de58671783 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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