Commit 887effd3a780160fcd984a9fd546ad9100fc0181
1 parent
90111b81
--no commit message
Showing
4 changed files
with
30 additions
and
30 deletions
gen/com/upc/pbe/upcnews/R.java
@@ -18,8 +18,8 @@ public final class R { | @@ -18,8 +18,8 @@ public final class R { | ||
18 | public static final class id { | 18 | public static final class id { |
19 | public static final int AbsoluteLayout1=0x7f080005; | 19 | public static final int AbsoluteLayout1=0x7f080005; |
20 | public static final int LinearLayout1=0x7f080002; | 20 | public static final int LinearLayout1=0x7f080002; |
21 | - public static final int button=0x7f080006; | ||
22 | - public static final int imageView1=0x7f080009; | 21 | + public static final int button=0x7f080008; |
22 | + public static final int imageView1=0x7f080006; | ||
23 | public static final int itemhelp=0x7f08000c; | 23 | public static final int itemhelp=0x7f08000c; |
24 | public static final int itemprefs=0x7f08000b; | 24 | public static final int itemprefs=0x7f08000b; |
25 | public static final int menu_settings=0x7f08000a; | 25 | public static final int menu_settings=0x7f08000a; |
@@ -27,7 +27,7 @@ public final class R { | @@ -27,7 +27,7 @@ public final class R { | ||
27 | public static final int textView2=0x7f080004; | 27 | public static final int textView2=0x7f080004; |
28 | public static final int textViewRoute=0x7f080007; | 28 | public static final int textViewRoute=0x7f080007; |
29 | public static final int textViewTitle=0x7f080000; | 29 | public static final int textViewTitle=0x7f080000; |
30 | - public static final int textViewXml=0x7f080008; | 30 | + public static final int textViewXml=0x7f080009; |
31 | public static final int text_out=0x7f080001; | 31 | public static final int text_out=0x7f080001; |
32 | } | 32 | } |
33 | public static final class layout { | 33 | public static final class layout { |
res/layout/dirs.xml
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | android:layout_width="wrap_content" | 9 | android:layout_width="wrap_content" |
10 | android:layout_height="wrap_content" | 10 | android:layout_height="wrap_content" |
11 | android:layout_gravity="left" | 11 | android:layout_gravity="left" |
12 | - android:textAppearance="?android:attr/textAppearanceLarge" /> | 12 | + android:textAppearance="?android:attr/textAppearanceMedium" /> |
13 | 13 | ||
14 | <!-- Vista en llista --> | 14 | <!-- Vista en llista --> |
15 | 15 |
res/layout/main_activity.xml
@@ -6,48 +6,48 @@ | @@ -6,48 +6,48 @@ | ||
6 | android:layout_height="match_parent" | 6 | android:layout_height="match_parent" |
7 | tools:ignore="Deprecated" > | 7 | tools:ignore="Deprecated" > |
8 | 8 | ||
9 | - <Button | ||
10 | - android:id="@+id/button" | ||
11 | - android:layout_width="258dp" | 9 | + <TextView |
10 | + android:id="@+id/textView1" | ||
11 | + android:layout_width="match_parent" | ||
12 | android:layout_height="wrap_content" | 12 | android:layout_height="wrap_content" |
13 | - android:layout_x="22dp" | ||
14 | - android:layout_y="396dp" | ||
15 | - android:text="@string/descarregar" /> | 13 | + android:layout_x="92dp" |
14 | + android:layout_y="22dp" | ||
15 | + android:text="@string/app_name" | ||
16 | + android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
17 | + | ||
18 | + <ImageView | ||
19 | + android:id="@+id/imageView1" | ||
20 | + android:layout_width="134dp" | ||
21 | + android:layout_height="134dp" | ||
22 | + android:layout_x="84dp" | ||
23 | + android:layout_y="50dp" | ||
24 | + android:src="@drawable/ic_launcher" /> | ||
16 | 25 | ||
17 | <TextView | 26 | <TextView |
18 | android:id="@+id/textViewRoute" | 27 | android:id="@+id/textViewRoute" |
19 | android:layout_width="250dp" | 28 | android:layout_width="250dp" |
20 | android:layout_height="22dp" | 29 | android:layout_height="22dp" |
21 | - android:layout_x="29dp" | ||
22 | - android:layout_y="362dp" | 30 | + android:layout_x="26dp" |
31 | + android:layout_y="328dp" | ||
23 | android:textSize="@android:dimen/thumbnail_height" /> | 32 | android:textSize="@android:dimen/thumbnail_height" /> |
24 | 33 | ||
25 | - <TextView | ||
26 | - android:id="@+id/textView1" | ||
27 | - android:layout_width="match_parent" | 34 | + <Button |
35 | + android:id="@+id/button" | ||
36 | + android:layout_width="258dp" | ||
28 | android:layout_height="wrap_content" | 37 | android:layout_height="wrap_content" |
29 | - android:layout_x="92dp" | ||
30 | - android:layout_y="22dp" | ||
31 | - android:text="@string/app_name" | ||
32 | - android:textAppearance="?android:attr/textAppearanceLarge" /> | 38 | + android:layout_x="24dp" |
39 | + android:layout_y="352dp" | ||
40 | + android:text="@string/descarregar" /> | ||
33 | 41 | ||
34 | <TextView | 42 | <TextView |
35 | android:id="@+id/textViewXml" | 43 | android:id="@+id/textViewXml" |
36 | android:layout_width="301dp" | 44 | android:layout_width="301dp" |
37 | android:layout_height="wrap_content" | 45 | android:layout_height="wrap_content" |
38 | - android:layout_x="24dp" | ||
39 | - android:layout_y="446dp" | 46 | + android:layout_x="28dp" |
47 | + android:layout_y="400dp" | ||
40 | android:gravity="clip_vertical" | 48 | android:gravity="clip_vertical" |
41 | android:hint="@string/hint" | 49 | android:hint="@string/hint" |
42 | android:scrollbarStyle="insideInset" | 50 | android:scrollbarStyle="insideInset" |
43 | android:scrollbars="vertical" /> | 51 | android:scrollbars="vertical" /> |
44 | 52 | ||
45 | - <ImageView | ||
46 | - android:id="@+id/imageView1" | ||
47 | - android:layout_width="134dp" | ||
48 | - android:layout_height="134dp" | ||
49 | - android:layout_x="84dp" | ||
50 | - android:layout_y="50dp" | ||
51 | - android:src="@drawable/ic_launcher" /> | ||
52 | - | ||
53 | </AbsoluteLayout> | 53 | </AbsoluteLayout> |
54 | \ No newline at end of file | 54 | \ No newline at end of file |
src/com/upc/pbe/upcnews/UpcApp.java
@@ -11,7 +11,7 @@ public class UpcApp extends Application implements OnSharedPreferenceChangeListe | @@ -11,7 +11,7 @@ public class UpcApp extends Application implements OnSharedPreferenceChangeListe | ||
11 | 11 | ||
12 | final static String TAG = "Application"; | 12 | final static String TAG = "Application"; |
13 | SharedPreferences prefs; | 13 | SharedPreferences prefs; |
14 | - String defaultUrl = "10.0.2.100"; | 14 | + String defaultUrl = "imanolbarba.myftp.biz"; |
15 | String url = null; | 15 | String url = null; |
16 | String desc; | 16 | String desc; |
17 | 17 |