如何在图像视图上自动保存文本?

时间:2013-10-07 10:37:05

标签: android performance android-intent

我想在图像视图中保存文本,图像视图上的不同字体在不同位置根据用户使用不同的字体?

 public class FullImageActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.fullimage);

    // get intent data
    Intent i = getIntent();

    // Selected image id
    int position = i.getExtras().getInt("id");
    ImageAdapter imageAdapter = new ImageAdapter(this);

    ImageView imageView = (ImageView) findViewById(R.id.fullimage);
    imageView.setImageResource(imageAdapter.mThumbIds[position]);
  }

}

0 个答案:

没有答案