Quitado el fondo blanco de los pictogramas...veremos otras opciones

parent 2c0ab989
...@@ -202,6 +202,7 @@ public class PanelAdapter extends ArrayAdapter { ...@@ -202,6 +202,7 @@ public class PanelAdapter extends ArrayAdapter {
*/ */
/* FIN BORDE */ /* FIN BORDE */
/*
Drawable d = null; Drawable d = null;
imageView.setImageDrawable(d); imageView.setImageDrawable(d);
imageView.setAdjustViewBounds(true); imageView.setAdjustViewBounds(true);
...@@ -209,8 +210,9 @@ public class PanelAdapter extends ArrayAdapter { ...@@ -209,8 +210,9 @@ public class PanelAdapter extends ArrayAdapter {
imageView.setBackgroundColor(Color.WHITE); //providing color to the background. imageView.setBackgroundColor(Color.WHITE); //providing color to the background.
imageView.setPadding(3, 3, 3, 3);//providing padding to the image. imageView.setPadding(3, 3, 3, 3);//providing padding to the image.
imageView.setLayoutParams(new Gallery.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); imageView.setLayoutParams(new Gallery.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT));
*/
//imageView.setImageAlpha(255); imageView.setImageAlpha(255);
imageView.setImageBitmap(bmp1); imageView.setImageBitmap(bmp1);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment