Exemplo n.º 1
0
 public View getView(int position, View convertView, ViewGroup parent) {
   ImageView i = new ImageView(mContext);
   i.setFocusable(true);
   i.setFocusableInTouchMode(true);
   i.setImageResource(myCards[position]);
   i.setScaleType(ImageView.ScaleType.FIT_XY);
   i.setAdjustViewBounds(true);
   i.bringToFront();
   return i;
 }
Exemplo n.º 2
0
 protected void onPostExecute(Bitmap result) {
   bmImage.setImageBitmap(result);
   bmImage.setFocusable(false);
   bmImage.setFocusableInTouchMode(false);
 }