Back to project page androidui.
The source code is released under:
MIT License
If you think the Android project androidui 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 course.examples.UI.TabLayout; //from w w w . j a va2 s . c om import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.ImageView; public class ImageViewActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent i = getIntent(); ImageView imageView = new ImageView(getApplicationContext()); imageView .setImageResource(i.getIntExtra(GridFragment.EXTRA_RES_ID, -1)); setContentView(imageView); } }