Commit a3bc3ffa9f52640112eb083324cad9dcc2d30562

Authored by Imanol-Mikel Barba Sabariego
1 parent c49bd53f

Iconos puestos

src/com/upc/pbe/upcnews/ResourceAdapter.java
... ... @@ -48,13 +48,13 @@ public class ResourceAdapter extends ArrayAdapter<String> {
48 48 //Si es un m3u8, posem el text en verd i l'icono de video
49 49 if(text.endsWith(".m3u8")) {
50 50 row.setTextColor(Color.parseColor("#5FB404"));
51   - rowImage.setImageResource(R.drawable.mediacontroller_ff_left);
  51 + rowImage.setImageResource(R.drawable.movie);
52 52 }
53 53 //Si no, posem el text en blau i l'icono de directori
54 54 else{
55 55 row.setTypeface(null,Typeface.NORMAL);
56 56 row.setTextColor(((Activity)context).getResources().getColor(R.color.BlueAndroid));
57   - rowImage.setImageResource(R.drawable.mediacontroller_ff_right);
  57 + rowImage.setImageResource(R.drawable.folder);
58 58 }
59 59 return container;
60 60 }
... ...