Back to project page guerrillaprose.
The source code is released under:
GNU General Public License
If you think the Android project guerrillaprose 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 de.handler.mobile.android.bachelorapp.app.ui; //w ww .j ava 2s.c o m import android.graphics.Typeface; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import org.androidannotations.annotations.AfterViews; import org.androidannotations.annotations.EActivity; import org.androidannotations.annotations.ViewById; import de.handler.mobile.android.bachelorapp.app.R; @EActivity(R.layout.activity_big_picture) public class BigPictureActivity extends BaseActivity { @ViewById(R.id.activity_big_picture_image_view) ImageView imageView; @ViewById(R.id.activity_big_picture_text_view) TextView imageArtist; @ViewById(R.id.activity_big_picture_image_view_flickr_credits) TextView imageFlickrCredits; @ViewById(R.id.activity_big_picture_title_textview) TextView titleText; @AfterViews void init() { setupActionBar(); imageView.setAdjustViewBounds(true); imageView.setImageBitmap(app.getTitleImage()); // Create custom typeface Typeface myTypeface = Typeface.createFromAsset(getAssets(), "fonts/Roboto-Thin.ttf"); imageArtist.setTypeface(myTypeface); titleText.setTypeface(myTypeface); imageArtist.setText(app.getTitleImageAuthor()); if (app.isImageFromFlickr()) { imageFlickrCredits.setVisibility(View.VISIBLE); } } }