Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: third_party/android_media/java/res/layout/media_controller.xml

Issue 1008603003: Move MediaController.java upstream to Chromium repository. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix commit message Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16 <!-- This file is taken from the Android codebase.
17 samples/Support4Demos/res/layout/media_controller.xml
18 -->
19
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:orientation="vertical">
24
25 <LinearLayout
26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
28 android:gravity="center"
29 android:paddingTop="4dip"
30 android:orientation="horizontal">
31
32 <ImageButton
33 android:id="@+id/prev"
34 android:contentDescription="@null"
35 style="@android:style/MediaButton.Previous" />
36 <ImageButton
37 android:id="@+id/rew"
38 android:contentDescription="@null"
39 style="@android:style/MediaButton.Rew" />
40 <ImageButton
41 android:id="@+id/pause"
42 android:contentDescription="@null"
43 style="@android:style/MediaButton.Play" />
44 <ImageButton
45 android:id="@+id/ffwd"
46 android:contentDescription="@null"
47 style="@android:style/MediaButton.Ffwd" />
48 <ImageButton
49 android:id="@+id/next"
50 android:contentDescription="@null"
51 style="@android:style/MediaButton.Next" />
52
53 </LinearLayout>
54
55 <LinearLayout
56 android:id="@+id/mediacontroller_progress_container"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content"
59 android:orientation="horizontal">
60
61 <TextView android:id="@+id/time_current"
62 android:textSize="14sp"
63 android:textStyle="bold"
64 android:paddingTop="4dip"
65 android:paddingStart="4dip"
66 android:layout_gravity="center_horizontal"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:paddingEnd="4dip"
70 android:textColor="@color/cast_media_controller_text" />
71
72 <SeekBar
73 android:id="@+id/mediacontroller_progress_bar"
74 style="?android:attr/progressBarStyleHorizontal"
75 android:layout_width="0dip"
76 android:layout_weight="1"
77 android:layout_height="32dip" />
78
79 <TextView android:id="@+id/time"
80 android:textSize="14sp"
81 android:textStyle="bold"
82 android:paddingTop="4dip"
83 android:paddingEnd="4dip"
84 android:layout_gravity="center_horizontal"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:paddingStart="4dip"
88 android:textColor="@color/cast_media_controller_text" />
89 </LinearLayout>
90
91 </LinearLayout>
92
OLDNEW
« no previous file with comments | « third_party/android_media/android_media.gyp ('k') | third_party/android_media/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698