OSDN Git Service

Repackaged com.andrew.apollo to com.cyngn.eleven
[android-x86/packages-apps-Eleven.git] / res / layout / audio_player_controls.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2012 Andrew Neal
4  
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8  
9        http://www.apache.org/licenses/LICENSE-2.0
10  
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16 -->
17 <merge xmlns:android="http://schemas.android.com/apk/res/android" >
18
19     <FrameLayout
20         android:layout_width="0dp"
21         android:layout_height="match_parent"
22         android:layout_weight="1" >
23
24         <com.cyngn.eleven.widgets.ShuffleButton
25             android:id="@+id/action_button_shuffle"
26             android:layout_width="@dimen/audio_player_controls_end_button_width"
27             android:layout_height="@dimen/audio_player_controls_end_button_height"
28             android:layout_gravity="center"
29             android:contentDescription="@string/accessibility_shuffle"
30             android:scaleType="centerInside"
31             android:src="@drawable/btn_playback_shuffle" />
32     </FrameLayout>
33
34     <FrameLayout
35         android:layout_width="0dp"
36         android:layout_height="match_parent"
37         android:layout_weight="1" >
38
39         <com.cyngn.eleven.widgets.RepeatingImageButton
40             android:id="@+id/action_button_previous"
41             android:layout_width="@dimen/audio_player_controls_main_button_width"
42             android:layout_height="@dimen/audio_player_controls_main_button_height"
43             android:layout_gravity="center"
44             android:scaleType="centerInside"
45             android:src="@drawable/btn_playback_previous" />
46     </FrameLayout>
47
48     <FrameLayout
49         android:layout_width="0dp"
50         android:layout_height="match_parent"
51         android:layout_weight="1" >
52
53         <com.cyngn.eleven.widgets.PlayPauseButton
54             android:id="@+id/action_button_play"
55             android:layout_width="@dimen/audio_player_controls_main_button_width"
56             android:layout_height="@dimen/audio_player_controls_main_button_height"
57             android:layout_gravity="center"
58             android:contentDescription="@string/accessibility_play"
59             android:focusable="true"
60             android:scaleType="centerInside"
61             android:src="@drawable/btn_playback_play" />
62     </FrameLayout>
63
64     <FrameLayout
65         android:layout_width="0dp"
66         android:layout_height="match_parent"
67         android:layout_weight="1" >
68
69         <com.cyngn.eleven.widgets.RepeatingImageButton
70             android:id="@+id/action_button_next"
71             android:layout_width="@dimen/audio_player_controls_main_button_width"
72             android:layout_height="@dimen/audio_player_controls_main_button_height"
73             android:layout_gravity="center"
74             android:scaleType="centerInside"
75             android:src="@drawable/btn_playback_next" />
76     </FrameLayout>
77
78     <FrameLayout
79         android:layout_width="0dp"
80         android:layout_height="match_parent"
81         android:layout_weight="1" >
82
83         <com.cyngn.eleven.widgets.RepeatButton
84             android:id="@+id/action_button_repeat"
85             android:layout_width="@dimen/audio_player_controls_end_button_width"
86             android:layout_height="@dimen/audio_player_controls_end_button_height"
87             android:layout_gravity="center"
88             android:contentDescription="@string/accessibility_repeat"
89             android:focusable="true"
90             android:scaleType="centerInside"
91             android:src="@drawable/btn_playback_repeat" />
92     </FrameLayout>
93
94 </merge>