Repo created
BIN
res/drawable-hdpi-v11/appwidget_bg.9.png
Normal file
|
After Width: | Height: | Size: 489 B |
BIN
res/drawable-hdpi-v8/stat_notify_music.png
Normal file
|
After Width: | Height: | Size: 973 B |
BIN
res/drawable-hdpi-v9/stat_notify_music.png
Normal file
|
After Width: | Height: | Size: 942 B |
BIN
res/drawable-hdpi/appwidget_bg.9.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
res/drawable-hdpi/bg_stripes_dark.png
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
res/drawable-hdpi/btn_notification_collapse.png
Normal file
|
After Width: | Height: | Size: 371 B |
BIN
res/drawable-hdpi/btn_playback_next.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-hdpi/btn_playback_pause.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-hdpi/btn_playback_play.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-hdpi/btn_playback_previous.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-hdpi/btn_playback_repeat.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-hdpi/btn_playback_repeat_all.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
res/drawable-hdpi/btn_playback_repeat_one.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/btn_playback_shuffle.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-hdpi/btn_playback_shuffle_all.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/btn_switch_queue.png
Normal file
|
After Width: | Height: | Size: 435 B |
BIN
res/drawable-hdpi/ic_action_favorite.png
Normal file
|
After Width: | Height: | Size: 874 B |
BIN
res/drawable-hdpi/ic_action_pinn_to_home.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-hdpi/ic_action_search.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
res/drawable-hdpi/ic_action_shop.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
res/drawable-hdpi/playlist_tile_normal.9.png
Normal file
|
After Width: | Height: | Size: 285 B |
BIN
res/drawable-hdpi/scrubber_primary_holo.9.png
Normal file
|
After Width: | Height: | Size: 152 B |
BIN
res/drawable-hdpi/scrubber_secondary_holo.9.png
Normal file
|
After Width: | Height: | Size: 150 B |
BIN
res/drawable-hdpi/scrubber_track_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 167 B |
BIN
res/drawable-hdpi/stat_notify_music.png
Normal file
|
After Width: | Height: | Size: 957 B |
BIN
res/drawable-hdpi/view_pager_background_texture.png
Normal file
|
After Width: | Height: | Size: 115 B |
BIN
res/drawable-mdpi-v11/appwidget_bg.9.png
Normal file
|
After Width: | Height: | Size: 345 B |
BIN
res/drawable-mdpi/appwidget_bg.9.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
res/drawable-mdpi/bg_stripes_dark.png
Normal file
|
After Width: | Height: | Size: 97 B |
BIN
res/drawable-mdpi/btn_notification_collapse.png
Normal file
|
After Width: | Height: | Size: 286 B |
BIN
res/drawable-mdpi/btn_playback_next.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-mdpi/btn_playback_pause.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-mdpi/btn_playback_play.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-mdpi/btn_playback_previous.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-mdpi/btn_playback_repeat.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-mdpi/btn_playback_repeat_all.png
Normal file
|
After Width: | Height: | Size: 655 B |
BIN
res/drawable-mdpi/btn_playback_repeat_one.png
Normal file
|
After Width: | Height: | Size: 731 B |
BIN
res/drawable-mdpi/btn_playback_shuffle.png
Normal file
|
After Width: | Height: | Size: 640 B |
BIN
res/drawable-mdpi/btn_playback_shuffle_all.png
Normal file
|
After Width: | Height: | Size: 736 B |
BIN
res/drawable-mdpi/btn_switch_queue.png
Normal file
|
After Width: | Height: | Size: 315 B |
BIN
res/drawable-mdpi/ic_action_favorite.png
Normal file
|
After Width: | Height: | Size: 585 B |
BIN
res/drawable-mdpi/ic_action_pinn_to_home.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-mdpi/ic_action_search.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
res/drawable-mdpi/ic_action_shop.png
Normal file
|
After Width: | Height: | Size: 887 B |
BIN
res/drawable-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
res/drawable-mdpi/playlist_tile_normal.9.png
Normal file
|
After Width: | Height: | Size: 220 B |
BIN
res/drawable-mdpi/scrubber_primary_holo.9.png
Normal file
|
After Width: | Height: | Size: 141 B |
BIN
res/drawable-mdpi/scrubber_secondary_holo.9.png
Normal file
|
After Width: | Height: | Size: 138 B |
BIN
res/drawable-mdpi/scrubber_track_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 161 B |
BIN
res/drawable-mdpi/stat_notify_music.png
Normal file
|
After Width: | Height: | Size: 651 B |
BIN
res/drawable-mdpi/view_pager_background_texture.png
Normal file
|
After Width: | Height: | Size: 115 B |
BIN
res/drawable-nodpi/app_widget_large.png
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
res/drawable-nodpi/app_widget_large_alternate.png
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
res/drawable-nodpi/app_widget_recents.png
Normal file
|
After Width: | Height: | Size: 172 KiB |
BIN
res/drawable-nodpi/app_widget_recents_stack_preview.png
Normal file
|
After Width: | Height: | Size: 349 KiB |
BIN
res/drawable-nodpi/app_widget_small.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
res/drawable-nodpi/background_holo_dark.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
res/drawable-nodpi/default_artwork.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
res/drawable-nodpi/header_temp.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
res/drawable-nodpi/theme_preview.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
19
res/drawable-v14/pager_background.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/view_pager_background_texture"
|
||||
android:tileMode="repeat" />
|
||||
19
res/drawable-v14/tpi_background.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/bg_stripes_dark"
|
||||
android:tileMode="repeat" />
|
||||
BIN
res/drawable-xhdpi-v11/appwidget_bg.9.png
Normal file
|
After Width: | Height: | Size: 536 B |
BIN
res/drawable-xhdpi/appwidget_bg.9.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
res/drawable-xhdpi/bg_stripes_dark.png
Normal file
|
After Width: | Height: | Size: 123 B |
BIN
res/drawable-xhdpi/btn_notification_collapse.png
Normal file
|
After Width: | Height: | Size: 435 B |
BIN
res/drawable-xhdpi/btn_playback_next.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-xhdpi/btn_playback_pause.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xhdpi/btn_playback_play.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-xhdpi/btn_playback_previous.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
res/drawable-xhdpi/btn_playback_repeat.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
res/drawable-xhdpi/btn_playback_repeat_all.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xhdpi/btn_playback_repeat_one.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
res/drawable-xhdpi/btn_playback_shuffle.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
res/drawable-xhdpi/btn_playback_shuffle_all.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-xhdpi/btn_switch_queue.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
res/drawable-xhdpi/ic_action_favorite.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
res/drawable-xhdpi/ic_action_pinn_to_home.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-xhdpi/ic_action_search.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
res/drawable-xhdpi/ic_action_shop.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
res/drawable-xhdpi/playlist_tile_normal.9.png
Normal file
|
After Width: | Height: | Size: 369 B |
BIN
res/drawable-xhdpi/scrubber_primary_holo.9.png
Normal file
|
After Width: | Height: | Size: 159 B |
BIN
res/drawable-xhdpi/scrubber_secondary_holo.9.png
Normal file
|
After Width: | Height: | Size: 156 B |
BIN
res/drawable-xhdpi/scrubber_track_holo_dark.9.png
Normal file
|
After Width: | Height: | Size: 174 B |
BIN
res/drawable-xhdpi/stat_notify_music.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xhdpi/view_pager_background_texture.png
Normal file
|
After Width: | Height: | Size: 120 B |
21
res/drawable/action_bar.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@color/action_bar"></item>
|
||||
|
||||
</selector>
|
||||
21
res/drawable/audio_player_pager_container.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@color/action_bar"></item>
|
||||
|
||||
</selector>
|
||||
33
res/drawable/audio_player_seekbar.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@android:id/background"
|
||||
android:drawable="@drawable/scrubber_track_holo_dark"/>
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<scale
|
||||
android:drawable="@drawable/scrubber_secondary_holo"
|
||||
android:scaleWidth="100%" />
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<scale
|
||||
android:drawable="@drawable/scrubber_primary_holo"
|
||||
android:scaleWidth="100%" />
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
21
res/drawable/bottom_action_bar.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@color/bottom_action_bar"></item>
|
||||
|
||||
</selector>
|
||||
25
res/drawable/bottom_shadow.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="90.0"
|
||||
android:endColor="@color/transparent"
|
||||
android:startColor="@color/black" />
|
||||
|
||||
</shape>
|
||||
18
res/drawable/pager_background.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/background_holo_dark" />
|
||||
25
res/drawable/right_shadow.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:endColor="@color/transparent"
|
||||
android:startColor="@color/black" />
|
||||
|
||||
</shape>
|
||||
25
res/drawable/top_shadow.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/transparent"
|
||||
android:startColor="@color/black" />
|
||||
|
||||
</shape>
|
||||
18
res/drawable/tpi_background.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<color xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/action_bar_color" />
|
||||
189
res/layout-land/activity_player_base.xml
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<com.andrew.apollo.widgets.theme.ThemeableFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/audio_player_large_album_frame"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true" >
|
||||
|
||||
<com.andrew.apollo.widgets.SquareImageView
|
||||
android:id="@+id/audio_player_album_art"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:scaleType="fitXY" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/shadow_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignRight="@+id/audio_player_album_art"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/right_shadow" />
|
||||
</RelativeLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/audio_player_pager_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignRight="@+id/audio_player_large_album_frame"
|
||||
android:visibility="invisible" >
|
||||
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/audio_player_pager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/shadow_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="right"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/right_shadow" />
|
||||
</FrameLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/audio_player_footer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_toRightOf="@+id/audio_player_large_album_frame" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/audio_player_header"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/audio_player_header_height"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@+id/audio_player_large_album_frame"
|
||||
android:baselineAligned="false"
|
||||
android:orientation="horizontal"
|
||||
android:padding="0dp" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:baselineAligned="false"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/audio_player_header_padding_left"
|
||||
android:paddingRight="@dimen/audio_player_header_padding_right" >
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
||||
android:id="@+id/audio_player_track_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold"
|
||||
app:themeResource="audio_player_line_one" />
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
||||
android:id="@+id/audio_player_artist_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:gravity="top"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
app:themeResource="audio_player_line_two" />
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/audio_player_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:focusable="true"
|
||||
android:padding="@dimen/audio_player_switch_padding" >
|
||||
|
||||
<com.andrew.apollo.widgets.SquareImageView
|
||||
android:id="@+id/audio_player_switch_queue"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:contentDescription="@null" />
|
||||
|
||||
<com.andrew.apollo.widgets.SquareImageView
|
||||
android:id="@+id/audio_player_switch_album_art"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="invisible" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
||||
android:id="@+id/audio_player_current_time"
|
||||
android:layout_width="@dimen/audio_player_time_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@android:id/progress"
|
||||
android:layout_alignTop="@android:id/progress"
|
||||
android:layout_toRightOf="@+id/audio_player_large_album_frame"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/text_size_micro"
|
||||
app:themeResource="audio_player_current_time" />
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableTextView
|
||||
android:id="@+id/audio_player_total_time"
|
||||
android:layout_width="@dimen/audio_player_time_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@android:id/progress"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@android:id/progress"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/text_size_micro"
|
||||
app:themeResource="audio_player_total_time" />
|
||||
|
||||
<com.andrew.apollo.widgets.theme.ThemeableSeekBar
|
||||
android:id="@android:id/progress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/audio_player_controlss"
|
||||
android:layout_marginBottom="@dimen/audio_player_seek_bar_margin_bottom"
|
||||
android:layout_toLeftOf="@+id/audio_player_total_time"
|
||||
android:layout_toRightOf="@+id/audio_player_current_time"
|
||||
android:background="@null"
|
||||
android:max="1000"
|
||||
android:thumb="@null" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/audio_player_controlss"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_toRightOf="@+id/audio_player_large_album_frame"
|
||||
android:baselineAligned="false" >
|
||||
|
||||
<include layout="@layout/audio_player_controls" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<include layout="@layout/colorstrip" />
|
||||
|
||||
</com.andrew.apollo.widgets.theme.ThemeableFrameLayout>
|
||||
106
res/layout-v11/app_widget_recents.xml
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="0dp"
|
||||
android:background="@color/action_bar_color" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/app_widget_recents_action_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/app_widget_recents_action_bar_height" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/app_widget_recents_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@string/app_name"
|
||||
android:padding="@dimen/app_widget_recents_action_bar_item_padding"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_launcher" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_widget_recents_app_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toRightOf="@+id/app_widget_recents_icon"
|
||||
android:text="@string/page_recent"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/text_size_medium" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_recents_previous"
|
||||
android:layout_width="@dimen/app_widget_recents_action_bar_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@+id/app_widget_recents_play"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/btn_playback_previous" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_recents_play"
|
||||
android:layout_width="@dimen/app_widget_recents_action_bar_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@+id/app_widget_recents_next"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/btn_playback_play" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/app_widget_recents_next"
|
||||
android:layout_width="@dimen/app_widget_recents_action_bar_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/btn_playback_next" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/colorstrip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/colorstrip_height"
|
||||
android:layout_below="@+id/app_widget_recents_action_bar"
|
||||
android:background="@color/holo_blue_light"
|
||||
android:contentDescription="@null" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/colorstrip"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/appwidget_bg" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/app_widget_recents_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"
|
||||
android:cacheColorHint="@color/transparent" />
|
||||
</FrameLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
61
res/layout-v11/app_widget_recents_items.xml
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2012 Andrew Neal
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/app_widget_recents_items"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
tools:ignore="ContentDescription" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/app_widget_recents_base_image"
|
||||
android:layout_width="@dimen/item_normal_height"
|
||||
android:layout_height="@dimen/item_normal_height"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:scaleType="fitXY" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/item_normal_height"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_toRightOf="@+id/app_widget_recents_base_image"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/list_preferred_item_padding" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_widget_recents_line_one"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/app_widget_recents_line_two"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/app_widget_recents_line_one"
|
||||
android:layout_marginTop="@dimen/list_item_line_two_margin_top"
|
||||
android:singleLine="true"
|
||||
android:textSize="@dimen/text_size_small" />
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||