From 4a7af269e99951ec9aca804c1ec2447d9b210bcd Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Sun, 25 Nov 2012 23:24:43 +0000 Subject: [PATCH] He creat una classe per a visualitzar els directoris correctament i he modificat unes quantes coses més. Ara estic mirant lo de "poder clicar a un directori per a visuaitzar-lo" --- AndroidManifest.xml | 2 ++ gen/com/upc/pbe/upcnews/R.java | 52 +++++++++++++++++++++++++++++++++++----------------- res/layout/directori.xml | 26 ++++++++++++++++++++++++++ res/layout/dirs.xml | 26 ++++++++++++++++++++++++++ res/layout/help.xml | 20 ++++++++++++-------- res/layout/main_activity.xml | 13 +++++++++++-- res/values/strings.xml | 3 +++ src/com/upc/pbe/upcnews/Directoris.java | 36 ++++++++++++++++++++++++++++++++++++ src/com/upc/pbe/upcnews/Help.java | 24 ++++++++++++++++++++++++ src/com/upc/pbe/upcnews/MainActivity.java | 41 ++++++++++++++++++++--------------------- src/com/upc/pbe/upcnews/UpcApp.java | 10 ++++++++++ 11 files changed, 205 insertions(+), 48 deletions(-) create mode 100644 res/layout/directori.xml create mode 100644 res/layout/dirs.xml create mode 100644 src/com/upc/pbe/upcnews/Directoris.java create mode 100644 src/com/upc/pbe/upcnews/Help.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 712b6a6..a9a8ba7 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -25,6 +25,8 @@ + + \ No newline at end of file diff --git a/gen/com/upc/pbe/upcnews/R.java b/gen/com/upc/pbe/upcnews/R.java index f7f52ed..6804691 100644 --- a/gen/com/upc/pbe/upcnews/R.java +++ b/gen/com/upc/pbe/upcnews/R.java @@ -15,30 +15,48 @@ public final class R { public static final int ic_launcher=0x7f020001; } public static final class id { - public static final int AbsoluteLayout1=0x7f070000; - public static final int button=0x7f070003; - public static final int menu_settings=0x7f070004; - public static final int textViewRoute=0x7f070002; - public static final int textViewXml=0x7f070001; + public static final int AbsoluteLayout1=0x7f080005; + public static final int LinearLayout1=0x7f080003; + public static final int button=0x7f080008; + public static final int buttonPlay=0x7f080000; + public static final int imageView1=0x7f080009; + public static final int itemhelp=0x7f08000c; + public static final int itemprefs=0x7f08000b; + public static final int menu_settings=0x7f08000a; + public static final int textView1=0x7f080001; + public static final int textView2=0x7f080004; + public static final int textViewRoute=0x7f080007; + public static final int textViewXml=0x7f080006; + public static final int text_out=0x7f080002; } public static final class layout { - public static final int main_activity=0x7f030000; + public static final int directori=0x7f030000; + public static final int dirs=0x7f030001; + public static final int help=0x7f030002; + public static final int main_activity=0x7f030003; } public static final class menu { - public static final int activity_main=0x7f060000; + public static final int activity_main=0x7f070000; + public static final int menu=0x7f070001; } public static final class string { - public static final int app_name=0x7f040000; - public static final int descarregar=0x7f040003; - public static final int help=0x7f040008; - public static final int hint=0x7f040004; - public static final int menu_settings=0x7f040001; - public static final int prefs=0x7f040007; - public static final int title_activity_main=0x7f040002; - public static final int url=0x7f040005; - public static final int urlhint=0x7f040006; + public static final int app_name=0x7f050000; + public static final int desc=0x7f050009; + public static final int descarregar=0x7f050003; + public static final int dir=0x7f05000a; + public static final int directoris=0x7f05000b; + public static final int help=0x7f050008; + public static final int hint=0x7f050004; + public static final int menu_settings=0x7f050001; + public static final int prefs=0x7f050007; + public static final int title_activity_main=0x7f050002; + public static final int url=0x7f050005; + public static final int urlhint=0x7f050006; } public static final class style { - public static final int AppTheme=0x7f050000; + public static final int AppTheme=0x7f060000; + } + public static final class xml { + public static final int prefs=0x7f040000; } } diff --git a/res/layout/directori.xml b/res/layout/directori.xml new file mode 100644 index 0000000..c95865d --- /dev/null +++ b/res/layout/directori.xml @@ -0,0 +1,26 @@ + + + +