From a3bc3ffa9f52640112eb083324cad9dcc2d30562 Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Thu, 13 Dec 2012 04:14:06 +0000 Subject: [PATCH] Iconos puestos --- src/com/upc/pbe/upcnews/ResourceAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/upc/pbe/upcnews/ResourceAdapter.java b/src/com/upc/pbe/upcnews/ResourceAdapter.java index 2def7c8..b1bc697 100644 --- a/src/com/upc/pbe/upcnews/ResourceAdapter.java +++ b/src/com/upc/pbe/upcnews/ResourceAdapter.java @@ -48,13 +48,13 @@ public class ResourceAdapter extends ArrayAdapter { //Si es un m3u8, posem el text en verd i l'icono de video if(text.endsWith(".m3u8")) { row.setTextColor(Color.parseColor("#5FB404")); - rowImage.setImageResource(R.drawable.mediacontroller_ff_left); + rowImage.setImageResource(R.drawable.movie); } //Si no, posem el text en blau i l'icono de directori else{ row.setTypeface(null,Typeface.NORMAL); row.setTextColor(((Activity)context).getResources().getColor(R.color.BlueAndroid)); - rowImage.setImageResource(R.drawable.mediacontroller_ff_right); + rowImage.setImageResource(R.drawable.folder); } return container; } -- libgit2 0.22.2