diff --git a/gen/com/upc/pbe/upcnews/R.java b/gen/com/upc/pbe/upcnews/R.java
index 0911794..0ed4f8f 100644
--- a/gen/com/upc/pbe/upcnews/R.java
+++ b/gen/com/upc/pbe/upcnews/R.java
@@ -16,19 +16,23 @@ public final class R {
public static final int ic_menu_name=0x7f020002;
}
public static final class id {
- public static final int AbsoluteLayout1=0x7f080005;
- public static final int LinearLayout1=0x7f080002;
- public static final int button=0x7f080008;
- public static final int imageView1=0x7f080006;
- public static final int itemhelp=0x7f08000c;
- public static final int itemprefs=0x7f08000b;
- public static final int menu_settings=0x7f08000a;
- public static final int textView1=0x7f080003;
- public static final int textView2=0x7f080004;
- public static final int textViewRoute=0x7f080007;
- public static final int textViewTitle=0x7f080000;
- public static final int textViewXml=0x7f080009;
- public static final int text_out=0x7f080001;
+ public static final int AbsoluteLayout1=0x7f080008;
+ public static final int ImageView01=0x7f08000d;
+ public static final int ImageView1=0x7f08000c;
+ public static final int LinearLayout1=0x7f080000;
+ public static final int button=0x7f08000a;
+ public static final int button1=0x7f080002;
+ public static final int button2=0x7f080003;
+ public static final int button3=0x7f080004;
+ public static final int button4=0x7f080005;
+ public static final int itemhelp=0x7f080010;
+ public static final int itemprefs=0x7f08000f;
+ public static final int menu_settings=0x7f08000e;
+ public static final int textView1=0x7f080006;
+ public static final int textView2=0x7f080007;
+ public static final int textViewRoute=0x7f080009;
+ public static final int textViewTitle=0x7f080001;
+ public static final int textViewXml=0x7f08000b;
}
public static final class layout {
public static final int dirs=0x7f030000;
@@ -41,6 +45,8 @@ public final class R {
}
public static final class string {
public static final int app_name=0x7f050000;
+ public static final int button=0x7f05000c;
+ public static final int button1=0x7f05000d;
public static final int desc=0x7f050009;
public static final int descarregar=0x7f050003;
public static final int dir=0x7f05000a;
@@ -49,6 +55,7 @@ public final class R {
public static final int hint=0x7f050004;
public static final int menu_settings=0x7f050001;
public static final int prefs=0x7f050007;
+ public static final int title=0x7f05000e;
public static final int title_activity_main=0x7f050002;
public static final int url=0x7f050005;
public static final int urlhint=0x7f050006;
diff --git a/res/layout/dirs.xml b/res/layout/dirs.xml
index 410d72d..bc2db93 100644
--- a/res/layout/dirs.xml
+++ b/res/layout/dirs.xml
@@ -1,28 +1,43 @@
+
+
-
+
-
+ android:layout_height="wrap_content"
+ android:layout_marginTop="38dp" />
-
-
+
+
+
\ No newline at end of file
diff --git a/res/layout/main_activity.xml b/res/layout/main_activity.xml
index dabcbbd..d6e798f 100644
--- a/res/layout/main_activity.xml
+++ b/res/layout/main_activity.xml
@@ -15,14 +15,6 @@
android:text="@string/app_name"
android:textAppearance="?android:attr/textAppearanceLarge" />
-
-
+
+
+
+
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c391694..12af49f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -12,5 +12,8 @@
PlayDirectoryDirectoris
+ Button
+ Play
+ Directories found:
\ No newline at end of file
diff --git a/src/com/upc/pbe/upcnews/Directoris.java b/src/com/upc/pbe/upcnews/Directoris.java
index cec9a84..34930b2 100644
--- a/src/com/upc/pbe/upcnews/Directoris.java
+++ b/src/com/upc/pbe/upcnews/Directoris.java
@@ -3,39 +3,82 @@ package com.upc.pbe.upcnews;
import java.util.ArrayList;
import android.app.Activity;
+import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
-import android.widget.TextView;
+import android.view.Menu;
+import android.view.MenuItem;
+import android.view.View;
+import android.widget.Button;
public class Directoris extends Activity {
final static String TAG = "Directoris";
-
- TextView title;
- TextView textout;
String s;
+ ArrayList