blob: d41b01155772fa81a93c911eb87fef928779c57e (
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
<com.sothree.slidinguppanel.SlidingUpPanelLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:sothree="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/slide_up_panel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
sothree:umanoPanelHeight="?attr/actionBarSize"
sothree:umanoShadowHeight="4dp"
sothree:umanoDragView="@+id/slide_up_swipe_target">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.Toolbar
android:id="@+id/main_toolbar"
android:layout_height="?attr/actionBarSize"
android:layout_width="match_parent"
android:background="?attr/actionbarBackgroundColor"
android:elevation="4dp"
android:theme="?attr/actionbarThemeStyle"
app:popupTheme="?attr/actionbarPopupStyle"/>
<include layout="@layout/abstract_fragment_container"/>
</FrameLayout>
<LinearLayout
android:id="@+id/slide_up_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/slide_up_swipe_target"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/actionbarBackgroundColor">
<android.support.v7.widget.Toolbar
android:id="@+id/now_playing_toolbar"
android:layout_height="?attr/actionBarSize"
android:layout_width="match_parent"
android:elevation="4dp"
android:visibility="gone"
app:theme="?attr/actionbarThemeStyle"
app:popupTheme="?attr/actionbarPopupStyle"/>
<LinearLayout
android:id="@+id/bottom_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
style="@style/BasicButton"
android:orientation="horizontal"
android:elevation="4dp">
<github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/album_art"
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:layout_gravity="left|center"
android:scaleType="fitStart"/>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:orientation="vertical"
android:paddingLeft="8dip">
<TextView
android:id="@+id/track_name"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:singleLine="true"
android:text="@string/main.title"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"
style="?attr/actionbarTitleStyle">
<requestFocus android:focusable="true"
android:focusableInTouchMode="true"
android:duplicateParentState="true" />
</TextView>
<TextView
android:id="@+id/artist_name"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:singleLine="true"
android:text="@string/main.artist"
style="?attr/actionbarSubtitleStyle"/>
</LinearLayout>
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="0dp"
android:layout_weight="1">
<ImageButton
style="@style/PlaybackControl.BottomBar"
android:id="@+id/download_previous"
android:src="?attr/actionbar_backward"
android:padding="2dp"/>
<ImageButton
style="@style/PlaybackControl.BottomBar"
android:id="@+id/download_start"
android:src="?attr/actionbar_start"/>
<ImageButton
style="@style/PlaybackControl.BottomBar"
android:id="@+id/download_next"
android:src="?attr/actionbar_forward"
android:padding="2dp"/>
</LinearLayout>
</LinearLayout>
</FrameLayout>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/now_playing_fragment_container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:clickable="true"/>
</LinearLayout>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
|