Commit e6cc84e6d7f2daa7da7757ef8ec7e2c359794e57
1 parent
74eea6c1
--no commit message
Showing
8 changed files
with
38 additions
and
29 deletions
gen/com/upc/pbe/upcnews/R.java
... | ... | @@ -13,11 +13,12 @@ public final class R { |
13 | 13 | public static final class drawable { |
14 | 14 | public static final int ic_action_search=0x7f020000; |
15 | 15 | public static final int ic_launcher=0x7f020001; |
16 | + public static final int ic_menu_name=0x7f020002; | |
16 | 17 | } |
17 | 18 | public static final class id { |
18 | 19 | public static final int AbsoluteLayout1=0x7f080005; |
19 | 20 | public static final int LinearLayout1=0x7f080002; |
20 | - public static final int button=0x7f080008; | |
21 | + public static final int button=0x7f080006; | |
21 | 22 | public static final int imageView1=0x7f080009; |
22 | 23 | public static final int itemhelp=0x7f08000c; |
23 | 24 | public static final int itemprefs=0x7f08000b; |
... | ... | @@ -26,7 +27,7 @@ public final class R { |
26 | 27 | public static final int textView2=0x7f080004; |
27 | 28 | public static final int textViewRoute=0x7f080007; |
28 | 29 | public static final int textViewTitle=0x7f080000; |
29 | - public static final int textViewXml=0x7f080006; | |
30 | + public static final int textViewXml=0x7f080008; | |
30 | 31 | public static final int text_out=0x7f080001; |
31 | 32 | } |
32 | 33 | public static final class layout { | ... | ... |
res/drawable-hdpi/ic_menu_name.png
0 → 100644
1.45 KB
res/drawable-ldpi/ic_menu_name.png
0 → 100644
676 Bytes
res/drawable-mdpi/ic_menu_name.png
0 → 100644
936 Bytes
res/drawable-xhdpi/ic_menu_name.png
0 → 100644
2.04 KB
res/layout/dirs.xml
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | android:id="@+id/textViewTitle" |
9 | 9 | android:layout_width="wrap_content" |
10 | 10 | android:layout_height="wrap_content" |
11 | - android:layout_gravity="right" | |
11 | + android:layout_gravity="left" | |
12 | 12 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
13 | 13 | |
14 | 14 | <!-- Vista en llista --> |
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | android:id="@+id/text_out" |
22 | 22 | android:layout_width="match_parent" |
23 | 23 | android:layout_height="wrap_content" |
24 | - android:layout_gravity="right" | |
24 | + android:layout_gravity="left" | |
25 | 25 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
26 | 26 | </ScrollView> |
27 | 27 | ... | ... |
res/layout/main_activity.xml
... | ... | @@ -5,41 +5,49 @@ |
5 | 5 | android:layout_width="wrap_content" |
6 | 6 | android:layout_height="match_parent" |
7 | 7 | tools:ignore="Deprecated" > |
8 | - | |
9 | - <TextView | |
10 | - android:id="@+id/textViewXml" | |
11 | - android:layout_width="301dp" | |
8 | + | |
9 | + <Button | |
10 | + android:id="@+id/button" | |
11 | + android:layout_width="258dp" | |
12 | 12 | android:layout_height="wrap_content" |
13 | - android:layout_x="11dp" | |
14 | - android:layout_y="81dp" | |
15 | - android:gravity="clip_vertical" | |
16 | - android:hint="@string/hint" | |
17 | - android:scrollbarStyle="insideInset" | |
18 | - android:scrollbars="vertical" /> | |
13 | + android:layout_x="22dp" | |
14 | + android:layout_y="396dp" | |
15 | + android:text="@string/descarregar" /> | |
19 | 16 | |
20 | 17 | <TextView |
21 | 18 | android:id="@+id/textViewRoute" |
22 | 19 | android:layout_width="250dp" |
23 | 20 | android:layout_height="22dp" |
24 | - android:layout_x="35dp" | |
25 | - android:layout_y="8dp" | |
21 | + android:layout_x="29dp" | |
22 | + android:layout_y="362dp" | |
26 | 23 | android:textSize="@android:dimen/thumbnail_height" /> |
27 | 24 | |
28 | - <Button | |
29 | - android:id="@+id/button" | |
30 | - android:layout_width="258dp" | |
25 | + <TextView | |
26 | + android:id="@+id/textView1" | |
27 | + android:layout_width="match_parent" | |
31 | 28 | android:layout_height="wrap_content" |
32 | - android:layout_x="31dp" | |
33 | - android:layout_y="30dp" | |
34 | - android:text="@string/descarregar" /> | |
35 | - | |
29 | + android:layout_x="92dp" | |
30 | + android:layout_y="22dp" | |
31 | + android:text="@string/app_name" | |
32 | + android:textAppearance="?android:attr/textAppearanceLarge" /> | |
33 | + | |
34 | + <TextView | |
35 | + android:id="@+id/textViewXml" | |
36 | + android:layout_width="301dp" | |
37 | + android:layout_height="wrap_content" | |
38 | + android:layout_x="24dp" | |
39 | + android:layout_y="446dp" | |
40 | + android:gravity="clip_vertical" | |
41 | + android:hint="@string/hint" | |
42 | + android:scrollbarStyle="insideInset" | |
43 | + android:scrollbars="vertical" /> | |
44 | + | |
36 | 45 | <ImageView |
37 | 46 | android:id="@+id/imageView1" |
38 | - android:layout_width="wrap_content" | |
39 | - android:layout_height="wrap_content" | |
40 | - android:layout_x="129dp" | |
41 | - android:layout_y="227dp" | |
42 | - android:scaleType="center" | |
47 | + android:layout_width="134dp" | |
48 | + android:layout_height="134dp" | |
49 | + android:layout_x="84dp" | |
50 | + android:layout_y="50dp" | |
43 | 51 | android:src="@drawable/ic_launcher" /> |
44 | 52 | |
45 | 53 | </AbsoluteLayout> |
46 | 54 | \ No newline at end of file | ... | ... |
res/values/strings.xml
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <string name="app_name">UPC_NEWS</string> |
4 | 4 | <string name="menu_settings">Settings</string> |
5 | 5 | <string name="title_activity_main">MainActivity</string> |
6 | - <string name="descarregar">Refresh</string> | |
6 | + <string name="descarregar">Start</string> | |
7 | 7 | <string name="hint">Click to Start Button.</string> |
8 | 8 | <string name="url">URL server</string> |
9 | 9 | <string name="urlhint">Set the route from the server (without http://)</string> | ... | ... |