Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
380c8c61
authored
Feb 09, 2016
by
Miguel Ángel García Cumbreras
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Quitado el fondo blanco de los pictogramas...veremos otras opciones
parent
2c0ab989
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
android/Pictogram/app/src/main/java/com/yottacode/pictogram/gui/PanelAdapter.java
android/Pictogram/app/src/main/java/com/yottacode/pictogram/gui/PanelAdapter.java
View file @
380c8c61
...
@@ -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
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment