Commit a3bc3ffa9f52640112eb083324cad9dcc2d30562
1 parent
c49bd53f
Iconos puestos
Showing
1 changed file
with
2 additions
and
2 deletions
src/com/upc/pbe/upcnews/ResourceAdapter.java
@@ -48,13 +48,13 @@ public class ResourceAdapter extends ArrayAdapter<String> { | @@ -48,13 +48,13 @@ public class ResourceAdapter extends ArrayAdapter<String> { | ||
48 | //Si es un m3u8, posem el text en verd i l'icono de video | 48 | //Si es un m3u8, posem el text en verd i l'icono de video |
49 | if(text.endsWith(".m3u8")) { | 49 | if(text.endsWith(".m3u8")) { |
50 | row.setTextColor(Color.parseColor("#5FB404")); | 50 | row.setTextColor(Color.parseColor("#5FB404")); |
51 | - rowImage.setImageResource(R.drawable.mediacontroller_ff_left); | 51 | + rowImage.setImageResource(R.drawable.movie); |
52 | } | 52 | } |
53 | //Si no, posem el text en blau i l'icono de directori | 53 | //Si no, posem el text en blau i l'icono de directori |
54 | else{ | 54 | else{ |
55 | row.setTypeface(null,Typeface.NORMAL); | 55 | row.setTypeface(null,Typeface.NORMAL); |
56 | row.setTextColor(((Activity)context).getResources().getColor(R.color.BlueAndroid)); | 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 | return container; | 59 | return container; |
60 | } | 60 | } |