Commit 326b70cd1b71dfa6313f5fa53139d04f02e6ded9
1 parent
12bddfe4
--no commit message
Showing
4 changed files
with
91 additions
and
112 deletions
gen/com/upc/pbe/upcnews/R.java
1 | -/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
2 | - * | ||
3 | - * This class was automatically generated by the | ||
4 | - * aapt tool from the resource data it found. It | ||
5 | - * should not be modified by hand. | ||
6 | - */ | ||
7 | - | ||
8 | -package com.upc.pbe.upcnews; | ||
9 | - | ||
10 | -public final class R { | ||
11 | - public static final class attr { | ||
12 | - } | ||
13 | - public static final class drawable { | ||
14 | - public static final int ic_action_search=0x7f020000; | ||
15 | - public static final int ic_launcher=0x7f020001; | ||
16 | - public static final int ic_menu_name=0x7f020002; | ||
17 | - } | ||
18 | - public static final class id { | ||
19 | - public static final int AbsoluteLayout1=0x7f080006; | ||
20 | - public static final int ImageView01=0x7f080008; | ||
21 | - public static final int ImageView1=0x7f080007; | ||
22 | - public static final int LinearLayout1=0x7f080001; | ||
23 | - public static final int button=0x7f08000b; | ||
24 | - public static final int itemhelp=0x7f08000f; | ||
25 | - public static final int itemprefs=0x7f08000e; | ||
26 | - public static final int listView1=0x7f080003; | ||
27 | - public static final int menu_settings=0x7f08000d; | ||
28 | - public static final int rowTextView=0x7f08000c; | ||
29 | - public static final int textView1=0x7f080004; | ||
30 | - public static final int textView2=0x7f080005; | ||
31 | - public static final int textViewRoute=0x7f080009; | ||
32 | - public static final int textViewTitle=0x7f080002; | ||
33 | - public static final int textViewXml=0x7f08000a; | ||
34 | - public static final int videoView1=0x7f080000; | ||
35 | - } | ||
36 | - public static final class layout { | ||
37 | - public static final int activity_video=0x7f030000; | ||
38 | - public static final int dirs=0x7f030001; | ||
39 | - public static final int help=0x7f030002; | ||
40 | - public static final int main_activity=0x7f030003; | ||
41 | - public static final int rowlayout=0x7f030004; | ||
42 | - } | ||
43 | - public static final class menu { | ||
44 | - public static final int activity_main=0x7f070000; | ||
45 | - public static final int activity_video=0x7f070001; | ||
46 | - public static final int menu=0x7f070002; | ||
47 | - } | ||
48 | - public static final class string { | ||
49 | - public static final int app_name=0x7f050000; | ||
50 | - public static final int button=0x7f05000c; | ||
51 | - public static final int button1=0x7f05000d; | ||
52 | - public static final int desc=0x7f050009; | ||
53 | - public static final int descarregar=0x7f050003; | ||
54 | - public static final int dir=0x7f05000a; | ||
55 | - public static final int directoris=0x7f05000b; | ||
56 | - public static final int hello_world=0x7f050010; | ||
57 | - public static final int help=0x7f050008; | ||
58 | - public static final int hint=0x7f050004; | ||
59 | - public static final int logodescription=0x7f05000f; | ||
60 | - public static final int menu_settings=0x7f050001; | ||
61 | - public static final int prefs=0x7f050007; | ||
62 | - public static final int title=0x7f05000e; | ||
63 | - public static final int title_activity_main=0x7f050002; | ||
64 | - public static final int title_activity_video=0x7f050011; | ||
65 | - public static final int url=0x7f050005; | ||
66 | - public static final int urlhint=0x7f050006; | ||
67 | - } | ||
68 | - public static final class style { | ||
69 | - public static final int AppTheme=0x7f060000; | ||
70 | - } | ||
71 | - public static final class xml { | ||
72 | - public static final int prefs=0x7f040000; | ||
73 | - } | ||
74 | -} | 1 | +/* AUTO-GENERATED FILE. DO NOT MODIFY. |
2 | + * | ||
3 | + * This class was automatically generated by the | ||
4 | + * aapt tool from the resource data it found. It | ||
5 | + * should not be modified by hand. | ||
6 | + */ | ||
7 | + | ||
8 | +package com.upc.pbe.upcnews; | ||
9 | + | ||
10 | +public final class R { | ||
11 | + public static final class attr { | ||
12 | + } | ||
13 | + public static final class dimen { | ||
14 | + public static final int TitleSize=0x7f050000; | ||
15 | + } | ||
16 | + public static final class drawable { | ||
17 | + public static final int ic_action_search=0x7f020000; | ||
18 | + public static final int ic_launcher=0x7f020001; | ||
19 | + public static final int ic_menu_name=0x7f020002; | ||
20 | + } | ||
21 | + public static final class id { | ||
22 | + public static final int AbsoluteLayout1=0x7f090006; | ||
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; | ||
27 | + public static final int listView1=0x7f090003; | ||
28 | + public static final int menu_settings=0x7f09000b; | ||
29 | + public static final int rowTextView=0x7f09000a; | ||
30 | + public static final int textView1=0x7f090004; | ||
31 | + public static final int textView2=0x7f090005; | ||
32 | + public static final int textViewRoute=0x7f090007; | ||
33 | + public static final int textViewTitle=0x7f090002; | ||
34 | + public static final int textViewXml=0x7f090009; | ||
35 | + public static final int videoView1=0x7f090000; | ||
36 | + } | ||
37 | + public static final class layout { | ||
38 | + public static final int activity_video=0x7f030000; | ||
39 | + public static final int dirs=0x7f030001; | ||
40 | + public static final int help=0x7f030002; | ||
41 | + public static final int main_activity=0x7f030003; | ||
42 | + public static final int rowlayout=0x7f030004; | ||
43 | + } | ||
44 | + public static final class menu { | ||
45 | + public static final int activity_main=0x7f080000; | ||
46 | + public static final int activity_video=0x7f080001; | ||
47 | + public static final int menu=0x7f080002; | ||
48 | + } | ||
49 | + public static final class string { | ||
50 | + public static final int app_name=0x7f060000; | ||
51 | + public static final int button=0x7f06000c; | ||
52 | + public static final int button1=0x7f06000d; | ||
53 | + public static final int desc=0x7f060009; | ||
54 | + public static final int descarregar=0x7f060003; | ||
55 | + public static final int dir=0x7f06000a; | ||
56 | + public static final int directoris=0x7f06000b; | ||
57 | + public static final int hello_world=0x7f060010; | ||
58 | + public static final int help=0x7f060008; | ||
59 | + public static final int hint=0x7f060004; | ||
60 | + public static final int menu_settings=0x7f060001; | ||
61 | + public static final int prefs=0x7f060007; | ||
62 | + public static final int startbuttondescription=0x7f06000f; | ||
63 | + public static final int title=0x7f06000e; | ||
64 | + public static final int title_activity_main=0x7f060002; | ||
65 | + public static final int title_activity_video=0x7f060011; | ||
66 | + public static final int url=0x7f060005; | ||
67 | + public static final int urlhint=0x7f060006; | ||
68 | + } | ||
69 | + public static final class style { | ||
70 | + public static final int AppTheme=0x7f070000; | ||
71 | + } | ||
72 | + public static final class xml { | ||
73 | + public static final int prefs=0x7f040000; | ||
74 | + } | ||
75 | +} |
res/layout/main_activity.xml
@@ -7,57 +7,31 @@ | @@ -7,57 +7,31 @@ | ||
7 | tools:ignore="Deprecated" > | 7 | tools:ignore="Deprecated" > |
8 | 8 | ||
9 | <TextView | 9 | <TextView |
10 | - android:id="@+id/textView1" | ||
11 | - android:layout_width="match_parent" | ||
12 | - android:layout_height="wrap_content" | ||
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="wrap_content" | ||
21 | - android:layout_height="wrap_content" | ||
22 | - android:layout_x="28dp" | ||
23 | - android:layout_y="12dp" | ||
24 | - android:contentDescription="@string/logodescription" | ||
25 | - android:src="@drawable/ic_launcher" /> | ||
26 | - | ||
27 | - <ImageView | ||
28 | - android:id="@+id/ImageView01" | ||
29 | - android:layout_width="wrap_content" | ||
30 | - android:layout_height="wrap_content" | ||
31 | - android:layout_x="223dp" | ||
32 | - android:layout_y="14dp" | ||
33 | - android:contentDescription="@string/logodescription" | ||
34 | - android:src="@drawable/ic_launcher" /> | ||
35 | - | ||
36 | - <TextView | ||
37 | android:id="@+id/textViewRoute" | 10 | android:id="@+id/textViewRoute" |
38 | android:layout_width="250dp" | 11 | android:layout_width="250dp" |
39 | android:layout_height="22dp" | 12 | android:layout_height="22dp" |
40 | android:layout_x="28dp" | 13 | android:layout_x="28dp" |
41 | android:layout_y="306dp" | 14 | android:layout_y="306dp" |
42 | android:textSize="@android:dimen/thumbnail_height" /> | 15 | android:textSize="@android:dimen/thumbnail_height" /> |
16 | + | ||
17 | + <ImageButton | ||
18 | + android:id="@+id/button" | ||
19 | + android:layout_width="171dp" | ||
20 | + android:layout_height="161dp" | ||
21 | + android:layout_x="78dp" | ||
22 | + android:layout_y="88dp" | ||
23 | + android:background="@drawable/ic_launcher" | ||
24 | + android:contentDescription="@string/startbuttondescription" /> | ||
43 | 25 | ||
44 | <TextView | 26 | <TextView |
45 | android:id="@+id/textViewXml" | 27 | android:id="@+id/textViewXml" |
46 | android:layout_width="wrap_content" | 28 | android:layout_width="wrap_content" |
47 | android:layout_height="wrap_content" | 29 | android:layout_height="wrap_content" |
48 | - android:layout_x="24dp" | ||
49 | - android:layout_y="384dp" | 30 | + android:layout_x="43dp" |
31 | + android:layout_y="276dp" | ||
50 | android:gravity="clip_vertical" | 32 | android:gravity="clip_vertical" |
51 | android:hint="@string/hint" | 33 | android:hint="@string/hint" |
52 | android:scrollbarStyle="insideInset" | 34 | android:scrollbarStyle="insideInset" |
53 | android:scrollbars="vertical" /> | 35 | android:scrollbars="vertical" /> |
54 | 36 | ||
55 | - <Button | ||
56 | - android:id="@+id/button" | ||
57 | - android:layout_width="258dp" | ||
58 | - android:layout_height="wrap_content" | ||
59 | - android:layout_x="15dp" | ||
60 | - android:layout_y="334dp" | ||
61 | - android:text="@string/descarregar" /> | ||
62 | - | ||
63 | </AbsoluteLayout> | 37 | </AbsoluteLayout> |
64 | \ No newline at end of file | 38 | \ No newline at end of file |
res/values/dimens.xml
0 → 100644
res/values/strings.xml
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | <string name="button">Button</string> | 15 | <string name="button">Button</string> |
16 | <string name="button1">Play</string> | 16 | <string name="button1">Play</string> |
17 | <string name="title">Resource List</string> | 17 | <string name="title">Resource List</string> |
18 | - <string name="logodescription">Logo Image</string> | 18 | + <string name="startbuttondescription">Click to Start</string> |
19 | <string name="hello_world">Hello world!</string> | 19 | <string name="hello_world">Hello world!</string> |
20 | <string name="title_activity_video">VideoActivity</string> | 20 | <string name="title_activity_video">VideoActivity</string> |
21 | 21 |