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