Commit c3a6401f36818be25a05cc382ccfaac63f2af8de

Authored by Imanol-Mikel Barba Sabariego
1 parent 827f4218

--no commit message

AndroidManifest.xml
... ... @@ -34,7 +34,7 @@
34 34 </activity>
35 35 <activity android:name=".Help" >
36 36 </activity>
37   - <activity android:name=".Directoris" >
  37 + <activity android:name=".Directoris" >
38 38 </activity>
39 39 <activity android:name=".VideoActivity" >
40 40 </activity>
... ...
gen/com/upc/pbe/upcnews/R.java
... ... @@ -11,10 +11,12 @@ public final class R {
11 11 public static final class attr {
12 12 }
13 13 public static final class color {
  14 + public static final int Whyte_POwaH=0x7f050001;
14 15 public static final int backgroundmain=0x7f050000;
15 16 }
16 17 public static final class dimen {
17 18 public static final int TitleSize=0x7f060000;
  19 + public static final int lesize=0x7f060001;
18 20 }
19 21 public static final class drawable {
20 22 public static final int ic_action_search=0x7f020000;
... ...
res/drawable-hdpi/ic_ledarklogo.png

6.5 KB | W: | H:

136 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-hdpi/ic_startbutton.png

8.24 KB | W: | H:

189 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-ldpi/ic_ledarklogo.png

2.37 KB | W: | H:

136 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-ldpi/ic_startbutton.png

2.77 KB | W: | H:

189 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-mdpi/ic_ledarklogo.png

3.61 KB | W: | H:

136 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-mdpi/ic_startbutton.png

4.39 KB | W: | H:

189 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-xhdpi/ic_ledarklogo.png

9.46 KB | W: | H:

136 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/drawable-xhdpi/ic_startbutton.png

12.7 KB | W: | H:

189 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
res/layout/dirs.xml
... ... @@ -3,23 +3,26 @@
3 3 android:id="@+id/LinearLayout1"
4 4 android:layout_width="match_parent"
5 5 android:layout_height="match_parent"
  6 + android:background="@color/backgroundmain"
6 7 android:gravity="center_horizontal"
7 8 android:orientation="vertical" >
8 9  
9 10 <!-- Vista en llista -->
10   -
  11 +
11 12 <TextView
12 13 android:id="@+id/textViewTitle"
13 14 android:layout_width="wrap_content"
14 15 android:layout_height="wrap_content"
15 16 android:layout_marginLeft="14dp"
16 17 android:text="@string/title"
17   - android:textAppearance="?android:attr/textAppearanceMedium" />
18   -
  18 + android:textAppearance="?android:attr/textAppearanceMedium"
  19 + android:textColor="@color/Whyte_POwaH" />
  20 +
19 21 <ListView
20 22 android:id="@+id/listView1"
21 23 android:layout_width="match_parent"
22 24 android:layout_height="wrap_content"
  25 + android:background="@color/backgroundmain"
23 26 android:clickable="true"
24 27 android:visibility="visible" >
25 28  
... ...
res/layout/main_activity.xml
... ... @@ -18,7 +18,10 @@
18 18 android:background="@drawable/startbuttontoggle"
19 19 android:contentDescription="@string/startbuttondescription"
20 20 android:focusable="false"
21   - android:focusableInTouchMode="false" />
  21 + android:focusableInTouchMode="false"
  22 + android:maxHeight="@dimen/lesize"
  23 + android:maxWidth="@dimen/lesize"
  24 + android:scaleType="fitCenter" />
22 25  
23 26 <TextView
24 27 android:id="@+id/textViewXml"
... ... @@ -30,6 +33,8 @@
30 33 android:gravity="clip_vertical"
31 34 android:hint="@string/hint"
32 35 android:scrollbarStyle="insideInset"
33   - android:scrollbars="vertical" />
  36 + android:scrollbars="vertical"
  37 + android:textColorHint="@color/Whyte_POwaH"
  38 + android:textStyle="bold" />
34 39  
35 40 </RelativeLayout>
36 41 \ No newline at end of file
... ...
res/layout/rowlayout.xml
1   -<TextView xmlns:android="http://schemas.android.com/apk/res/android"
2   - android:id="@+id/rowTextView"
3   - android:layout_width="fill_parent"
4   - android:layout_height="wrap_content"
5   - android:padding="10dp"
6   - android:textSize="16sp" >
  1 +<TextView xmlns:android="http://schemas.android.com/apk/res/android"
  2 + android:id="@+id/rowTextView"
  3 + android:layout_width="fill_parent"
  4 + android:layout_height="wrap_content"
  5 + android:background="@color/backgroundmain"
  6 + android:padding="10dp"
  7 + android:textColor="@color/Whyte_POwaH"
  8 + android:textSize="16sp" >
  9 +
7 10 </TextView>
8 11 \ No newline at end of file
... ...
res/values/colors.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <resources>
3 3 <color name="backgroundmain">#000000</color>
  4 + <color name="Whyte_POwaH">#FFFFFF</color>
4 5  
5 6 </resources>
6 7 \ No newline at end of file
... ...
res/values/dimens.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <resources>
3 3 <dimen name="TitleSize">50px</dimen>
  4 + <dimen name="lesize">256dip</dimen>
4 5 </resources>
... ...
res/values/styles.xml
1 1 <resources>
2 2  
3   - <style name="AppTheme" parent="android:Theme.Light" />
  3 + <style name="AppTheme" parent="android:Theme.Light.NoTitleBar" />
4 4  
5 5 </resources>
6 6 \ No newline at end of file
... ...
src/com/upc/pbe/upcnews/Directoris.java
... ... @@ -113,7 +113,7 @@ public class Directoris extends Activity implements OnItemClickListener
113 113 ArrayList<ParentList> m3u8parsed = p.parseFile(playlist);
114 114 Log.d(TAG, "parsing completed");
115 115 HLS h = new HLS(m3u8parsed);
116   - h.start();
  116 + // h.start();
117 117  
118 118 }
119 119 catch (ErrorException e)
... ...
src/com/upc/pbe/upcnews/HLS.java
... ... @@ -23,10 +23,10 @@ public class HLS {
23 23 for(video = 0; video < videos.size(); video++)
24 24 {
25 25 ArrayList<Video> qualities = videos.get(video).getLists();
26   - while(i > videos.get(quality).getLists())
  26 + /*while(i > videos.get(quality).getLists())
27 27 {
28 28 Segment seg = videos.get(video).getLists().get(quality).getSegments().get(i);
29   - }
  29 + }*/
30 30 }
31 31 }
32 32 }
... ...