several minor issues about pcb:

upload imgs from pcb when online fixed
cross icon bigger
white backgroud when disabled
parent dc8cc940
......@@ -66,7 +66,7 @@ public class ImgDownloader extends AsyncTask<Vector<Img>, Void, Img> {
try {
for (Img img: imgs) {
if (!img.exists_bitmap(this.context) || this.force_download) try {
if (!img.exists_bitmap(this.context) || this.force_download || this.source==source.local) try {
this.activityManager.getMemoryInfo(mi);
if (this.source==source.remote) {
String surl = context.getResources().getString(R.string.server) + "/" + img.get_url();
......
......@@ -51,8 +51,8 @@ public class CustomList extends ArrayAdapter<String>{
txtTitle.setText(name_surname[position]);
//imageView.setImageResource(R.drawable.user);
imageView.setImageBitmap(images.elementAt(position));
if (images.size()>0) imageView.setImageBitmap(images.elementAt(position));
else imageView.setImageResource(R.drawable.anonymous_student);
return rowView;
}
}
......@@ -47,7 +47,7 @@ public class PictoItemViewGenerator {
.getDrawable(R.drawable.picto_grid_item_border));
}
} else {
if (!picto.is_invisible() && !picto.is_disabled()) {
if (!picto.is_invisible()) {
layoutWrapper.setAlpha(1.00f);
}
......
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