Commit e579aee986afa31495fafb7274be905a3a69eb33

Authored by Imanol-Mikel Barba Sabariego
1 parent 3a797c96

--no commit message

gen/com/upc/pbe/upcnews/R.java
... ... @@ -21,17 +21,16 @@ public final class R {
21 21 public static final class id {
22 22 public static final int AbsoluteLayout1=0x7f090006;
23 23 public static final int LinearLayout1=0x7f090001;
24   - public static final int button=0x7f090008;
25   - public static final int itemhelp=0x7f09000d;
26   - public static final int itemprefs=0x7f09000c;
  24 + public static final int button=0x7f090007;
  25 + public static final int itemhelp=0x7f09000c;
  26 + public static final int itemprefs=0x7f09000b;
27 27 public static final int listView1=0x7f090003;
28   - public static final int menu_settings=0x7f09000b;
29   - public static final int rowTextView=0x7f09000a;
  28 + public static final int menu_settings=0x7f09000a;
  29 + public static final int rowTextView=0x7f090009;
30 30 public static final int textView1=0x7f090004;
31 31 public static final int textView2=0x7f090005;
32   - public static final int textViewRoute=0x7f090007;
33 32 public static final int textViewTitle=0x7f090002;
34   - public static final int textViewXml=0x7f090009;
  33 + public static final int textViewXml=0x7f090008;
35 34 public static final int videoView1=0x7f090000;
36 35 }
37 36 public static final class layout {
... ...
src/com/upc/pbe/upcnews/MainActivity.java
... ... @@ -11,7 +11,7 @@ import android.view.Menu;
11 11 import android.view.MenuItem;
12 12 import android.view.View;
13 13 import android.view.View.OnClickListener;
14   -import android.widget.Button;
  14 +import android.widget.ImageButton;
15 15 import android.widget.TextView;
16 16 import android.widget.Toast;
17 17  
... ... @@ -21,7 +21,7 @@ public class MainActivity extends Activity implements OnClickListener {
21 21 WifiManager wifi;
22 22  
23 23 Directoris dir;
24   - Button buttonDescarrega;
  24 + ImageButton buttonDescarrega;
25 25 String file = "ejemplo.xml";
26 26 String folder = "Environment.getExternalStorageDirectory.getPath()";
27 27 TextView showText, showRoute;
... ... @@ -32,10 +32,9 @@ public class MainActivity extends Activity implements OnClickListener {
32 32 super.onCreate(savedInstanceState);
33 33 setContentView(R.layout.main_activity);
34 34 Log.d(TAG, "onCreated");
35   - buttonDescarrega = (Button) findViewById(R.id.button);
  35 + buttonDescarrega = (ImageButton) findViewById(R.id.button);
36 36 buttonDescarrega.setOnClickListener(this);
37 37 showText = (TextView) findViewById(R.id.textViewXml);
38   - showRoute = (TextView) findViewById(R.id.textViewRoute);
39 38 this.getUrl();
40 39  
41 40 new Thread() {
... ...