summaryrefslogtreecommitdiffstats
path: root/tests/OneMedia/res/layout/activity_one_player.xml
blob: ce2d64144715803ff4e53a0194ed3da1e465ba67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 Google Inc. All Rights Reserved. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center_horizontal"
        android:orientation="vertical">
    <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/app_name"
            style="@style/Title" />
    <EditText
            android:id="@+id/content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="textUri"
            android:hint="@string/media_content_hint"
            android:gravity="center"
            android:textSize="24sp" />
    <EditText
            android:id="@+id/next_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:inputType="textNoSuggestions"
            android:hint="@string/media_next_hint"
            android:gravity="center"
            android:textSize="24sp" />
    <CheckBox
            android:id="@+id/has_video"
            android:layout_marginRight="8dip"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/has_video" />
    <ImageView
            android:id="@+id/art"
            android:layout_width="match_parent"
            android:layout_height="96dp"
            android:scaleType="centerCrop"
            android:visibility="gone"
            />
    <Button
            android:id="@+id/art_picker"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/art_picker"
            />
    <LinearLayout
            android:id="@+id/controls"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal" >
        <Button
                android:id="@+id/start_button"
                style="@style/BottomBarButton"
                android:layout_width="0dip"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/start_button" />
        <Button
                android:id="@+id/play_button"
                style="@style/BottomBarButton"
                android:layout_width="0dip"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/play_button" />
    </LinearLayout>
    <Button
            android:id="@+id/route_button"
            style="@style/BottomBarButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/route_button" />
    <TextView
            android:id="@+id/status"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

</LinearLayout>