Skip to content

Commit b8ffa8c

Browse files
author
Chris Bellew
committed
Added new files.
1 parent 22ddd26 commit b8ffa8c

File tree

7 files changed

+1041
-27
lines changed

7 files changed

+1041
-27
lines changed

res/drawable-hdpi/help_icon.png

6.31 KB
Loading

res/layout/main.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent"
5+
android:background="@color/black"
6+
android:textColor="@color/white"
7+
android:orientation="vertical" >
8+
9+
<ListView
10+
android:id="@+id/listView1"
11+
android:layout_height="wrap_content"
12+
android:layout_width="match_parent">
13+
</ListView>
14+
15+
<CheckBox
16+
android:id="@+id/resumeCheckbox"
17+
android:layout_width="wrap_content"
18+
android:layout_height="wrap_content"
19+
android:onClick="resumeChecked"
20+
android:layout_marginBottom="30dp"
21+
android:layout_marginTop="10dp"
22+
android:layout_below="@+id/listView1"
23+
android:text="@string/resume_if_in_progress"
24+
android:textColor="@color/white" />
25+
26+
<Button
27+
android:id="@+id/helpUsageButton"
28+
android:layout_width="wrap_content"
29+
android:layout_height="wrap_content"
30+
android:onClick="showUsageExamples"
31+
android:layout_centerInParent="true"
32+
android:text="@string/help_usage_button" />
33+
34+
35+
</RelativeLayout>

res/layout/main_without_server.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

res/layout/now_playing_movie.xml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ScrollView
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:layout_width="fill_parent"
5+
android:layout_height="fill_parent"
6+
android:layout_alignParentLeft="true"
7+
android:id="@+id/background"
8+
android:layout_alignParentTop="true" >
9+
10+
<RelativeLayout
11+
12+
android:layout_width="fill_parent"
13+
android:layout_height="wrap_content" >
14+
<TextView
15+
android:id="@+id/nowPlayingOnClient"
16+
android:layout_width="wrap_content"
17+
android:layout_height="wrap_content"
18+
android:layout_alignParentLeft="true"
19+
android:layout_alignParentTop="true"
20+
android:layout_marginLeft="15dp"
21+
android:layout_marginTop="17dp"
22+
android:textColor="@color/white"
23+
android:text="@string/now_playing_on" />
24+
25+
<TextView
26+
android:id="@+id/nowPlayingTitle"
27+
android:layout_width="wrap_content"
28+
android:layout_height="wrap_content"
29+
android:layout_alignLeft="@+id/nowPlayingOnClient"
30+
android:layout_alignParentRight="true"
31+
android:layout_below="@+id/nowPlayingOnClient"
32+
android:layout_marginTop="16dp"
33+
android:textSize="24sp"
34+
android:textStyle="bold"
35+
android:text="" />
36+
37+
<TextView
38+
android:id="@+id/nowPlayingGenre"
39+
android:layout_width="wrap_content"
40+
android:layout_height="wrap_content"
41+
android:layout_alignLeft="@+id/nowPlayingTitle"
42+
android:layout_alignParentRight="true"
43+
android:layout_below="@+id/nowPlayingTitle"
44+
android:text="" />
45+
46+
<TextView
47+
android:id="@+id/nowPlayingYear"
48+
android:layout_width="wrap_content"
49+
android:layout_height="wrap_content"
50+
android:layout_alignLeft="@+id/nowPlayingGenre"
51+
android:layout_alignParentRight="true"
52+
android:layout_below="@+id/nowPlayingGenre"
53+
android:text="" />
54+
55+
<TextView
56+
android:id="@+id/nowPlayingDuration"
57+
android:layout_width="wrap_content"
58+
android:layout_height="wrap_content"
59+
android:layout_alignLeft="@+id/nowPlayingYear"
60+
android:layout_alignParentRight="true"
61+
android:layout_below="@+id/nowPlayingYear"
62+
android:text="" />
63+
64+
<TextView
65+
android:id="@+id/nowPlayingSummary"
66+
android:layout_width="wrap_content"
67+
android:layout_height="wrap_content"
68+
android:layout_alignLeft="@+id/nowPlayingDuration"
69+
android:layout_alignParentRight="true"
70+
android:layout_below="@+id/nowPlayingDuration"
71+
android:layout_marginTop="68dp"
72+
android:text="" />
73+
74+
</RelativeLayout>
75+
76+
77+
</ScrollView>

res/layout/now_playing_show.xml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ScrollView
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:layout_width="fill_parent"
5+
android:layout_height="fill_parent"
6+
android:id="@+id/background"
7+
android:layout_alignParentLeft="true"
8+
android:layout_alignParentTop="true" >
9+
<RelativeLayout
10+
android:layout_width="fill_parent"
11+
android:layout_height="wrap_content" >
12+
<TextView
13+
android:id="@+id/nowPlayingOnClient"
14+
android:layout_width="wrap_content"
15+
android:layout_height="wrap_content"
16+
android:layout_alignParentLeft="true"
17+
android:layout_alignParentTop="true"
18+
android:layout_marginLeft="15dp"
19+
android:layout_marginTop="17dp"
20+
android:textColor="@color/white"
21+
android:text="@string/now_playing_on" />
22+
23+
<TextView
24+
android:id="@+id/nowPlayingShowTitle"
25+
android:layout_width="wrap_content"
26+
android:layout_height="wrap_content"
27+
android:layout_alignLeft="@+id/nowPlayingOnClient"
28+
android:layout_alignParentRight="true"
29+
android:layout_below="@+id/nowPlayingOnClient"
30+
android:layout_marginTop="16dp"
31+
android:textSize="24sp"
32+
android:textStyle="bold"
33+
android:text="" />
34+
35+
<TextView
36+
android:id="@+id/nowPlayingEpisodeTitle"
37+
android:layout_width="wrap_content"
38+
android:layout_height="wrap_content"
39+
android:layout_alignLeft="@+id/nowPlayingShowTitle"
40+
android:layout_alignParentRight="true"
41+
android:layout_below="@+id/nowPlayingShowTitle"
42+
android:textSize="24sp"
43+
android:text="" />
44+
45+
<TextView
46+
android:id="@+id/nowPlayingYear"
47+
android:layout_width="wrap_content"
48+
android:layout_height="wrap_content"
49+
android:layout_alignLeft="@+id/nowPlayingEpisodeTitle"
50+
android:layout_alignParentRight="true"
51+
android:layout_below="@+id/nowPlayingEpisodeTitle"
52+
android:text="" />
53+
54+
<TextView
55+
android:id="@+id/nowPlayingDuration"
56+
android:layout_width="wrap_content"
57+
android:layout_height="wrap_content"
58+
android:layout_alignLeft="@+id/nowPlayingYear"
59+
android:layout_alignParentRight="true"
60+
android:layout_below="@+id/nowPlayingYear"
61+
android:text="" />
62+
63+
<TextView
64+
android:id="@+id/nowPlayingSummary"
65+
android:layout_width="wrap_content"
66+
android:layout_height="wrap_content"
67+
android:layout_alignLeft="@+id/nowPlayingDuration"
68+
android:layout_alignParentRight="true"
69+
android:layout_below="@+id/nowPlayingDuration"
70+
android:layout_marginTop="68dp"
71+
android:text="" />
72+
73+
74+
</RelativeLayout>
75+
76+
77+
</ScrollView>

res/layout/play_media.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent"
5+
android:orientation="vertical" >
6+
7+
8+
9+
</LinearLayout>

0 commit comments

Comments
 (0)