Skip to content
Open

2.0 #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="src" path="dialog"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
Expand Down
60 changes: 33 additions & 27 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

<application
android:allowTaskReparenting="true"
Expand All @@ -31,16 +31,15 @@
android:label="@string/app_name"
android:largeHeap="true"
android:process=":main"
android:taskAffinity="apollo.task.music"
android:theme="@style/ApolloTheme" >
android:taskAffinity="apollo.task.music" >
<meta-data
android:name="android.app.default_searchable"
android:value=".activities.QueryBrowserActivity" />
android:value=".ui.activities.QueryBrowserActivity" />
<!-- Serach -->
<activity
android:name=".activities.QueryBrowserActivity"
android:name="com.andrew.apolloMod.ui.activities.QueryBrowserActivity"
android:exported="true"
android:theme="@style/ApolloTheme" >
android:theme="@style/ApolloTheme.Light" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<action android:name="android.intent.action.MEDIA_SEARCH" />
Expand All @@ -56,9 +55,10 @@

<!-- Main Activity -->
<activity
android:name=".activities.MusicLibrary"
android:name="com.andrew.apolloMod.ui.activities.MusicLibrary"
android:label="@string/app_name"
android:logo="@drawable/ic_logo"
android:logo="@drawable/ic_logo"
android:theme="@android:style/Theme.NoTitleBar"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -76,7 +76,7 @@
</activity>
<!-- Now Playing -->
<activity
android:name=".activities.AudioPlayerHolder"
android:name="com.andrew.apolloMod.ui.activities.AudioPlayerHolder"
android:clearTaskOnLaunch="true"
android:excludeFromRecents="true"
android:label="@string/nowplaying"
Expand All @@ -97,13 +97,13 @@
</activity>
<!-- Play External File -->
<activity
android:name=".activities.PlayExternal"
android:name="com.andrew.apolloMod.ui.activities.PlayExternal"
android:clearTaskOnLaunch="true"
android:excludeFromRecents="true"
android:noHistory="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:theme="@style/Theme.Light.Translucent"
android:label="@string/app_name" >
android:noHistory="true"
android:theme="@style/Light.Translucent" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />

Expand All @@ -118,7 +118,7 @@
</activity>
<!-- Track browser -->
<activity
android:name=".activities.TracksBrowser"
android:name="com.andrew.apolloMod.ui.activities.TracksBrowser"
android:label="@string/app_name"
android:windowSoftInputMode="adjustPan" >
<intent-filter>
Expand All @@ -131,27 +131,26 @@

<!-- Quickly show the queue -->
<activity
android:name=".activities.QuickQueue"
android:name="com.andrew.apolloMod.ui.activities.QuickQueue"
android:excludeFromRecents="true"
android:launchMode="singleTop"
android:noHistory="true"
android:theme="@style/Theme.QuickQueue"
android:windowSoftInputMode="stateUnchanged" />
<!-- Settings -->
<activity
android:name=".preferences.SettingsHolder"
android:logo="@drawable/ic_logo"
android:label="@string/settings" />
android:name="com.andrew.apolloMod.preferences.SettingsHolder"
android:label="@string/settings"
android:logo="@drawable/ic_logo" />
<!-- Simple EQ -->
<activity
android:name=".activities.SimpleEq"
android:name="com.andrew.apolloMod.ui.activities.SimpleEq"
android:excludeFromRecents="true"
android:label="@string/simple_eq_page_title"
android:windowSoftInputMode="adjustPan"
android:parentActivityName=".activities.MusicLibrary" />

android:parentActivityName=".activities.MusicLibrary"
android:windowSoftInputMode="adjustPan" />
<activity
android:name=".menu.PlaylistDialog"
android:name="com.andrew.apolloMod.ui.activities.dialogs.PlaylistDialog"
android:label="@string/rename_playlist"
android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar" >
<intent-filter>
Expand All @@ -166,7 +165,7 @@
</intent-filter>
</activity>
<activity
android:name="com.andrew.apolloMod.menu.PlaylistPicker"
android:name="com.andrew.apolloMod.ui.activities.dialogs.PlaylistPicker"
android:icon="@drawable/ic_launcher"
android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar" >
<intent-filter>
Expand All @@ -177,7 +176,7 @@
</activity>
<!-- 1x1 App Widget -->
<receiver
android:name="com.andrew.apolloMod.app.widgets.AppWidget11"
android:name="com.andrew.apolloMod.appwidgets.AppWidget11"
android:label="@string/apollo_1x1" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
Expand All @@ -189,7 +188,7 @@
</receiver>
<!-- 4x1 App Widget -->
<receiver
android:name="com.andrew.apolloMod.app.widgets.AppWidget41"
android:name="com.andrew.apolloMod.appwidgets.AppWidget41"
android:label="@string/apollo_4x1" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
Expand All @@ -201,7 +200,7 @@
</receiver>
<!-- 4x2 App Widget -->
<receiver
android:name="com.andrew.apolloMod.app.widgets.AppWidget42"
android:name="com.andrew.apolloMod.appwidgets.AppWidget42"
android:label="@string/apollo_4x2" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
Expand All @@ -223,6 +222,13 @@
android:name="com.andrew.apolloMod.service.ApolloService"
android:label="@string/app_name"
android:process=":main" />

<provider
android:name="com.andrew.apolloMod.providers.HistoryStore"
android:authorities="com.andrew.apolloMod.recents"
android:enabled="true"
android:exported="true" >
</provider>
</application>

</manifest>
6 changes: 6 additions & 0 deletions res/color/tab_text_color_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true" android:color="@color/selected_tabtext_dark" />
<item android:color="@color/unselected_tabtext_dark" />
</selector>
Binary file added res/drawable-hdpi/btn_drag_sort_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/btn_switch_queue_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/transparent_black.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-hdpi/view_more_album.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/view_more_now.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/view_more_now_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-hdpi/view_more_song.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/btn_drag_sort_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/btn_switch_queue_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-mdpi/scrubber_track_holo_dark.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-mdpi/view_more_album.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/view_more_now.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/view_more_now_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-mdpi/view_more_song.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-nodpi/no_art_normal_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-nodpi/no_art_small_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/btn_drag_sort_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/btn_switch_queue_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/drawable-xhdpi/view_more_album.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/view_more_now.png
Binary file added res/drawable-xhdpi/view_more_now_dark.png
Binary file modified res/drawable-xhdpi/view_more_song.png
33 changes: 33 additions & 0 deletions res/drawable/audio_player_seekbar_dark.xml
Original file line number Diff line number Diff line change
@@ -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_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>
38 changes: 38 additions & 0 deletions res/drawable/gridview_item_background_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:bottom="1dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#454545" />

</shape>
</item>
<item android:top="1dp" >
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#111111" />

</shape>
</item>

<item android:top="1dp" android:bottom="1dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp" />

<solid android:color="@color/light_grey_dark" />

<padding android:bottom="8dp"
android:left="8dp"
android:right="8dp"
android:top="8dp" />
</shape>
</item>
</layer-list>
38 changes: 38 additions & 0 deletions res/drawable/listview_item_background_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:bottom="2dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#454545" />

</shape>
</item>
<item android:top="1dp" >
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#1a1a1a" />

</shape>
</item>

<item android:top="1dp" android:bottom="2dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp" />

<solid android:color="@color/light_grey_dark" />

<padding android:bottom="8dp"
android:left="8dp"
android:right="8dp"
android:top="8dp" />
</shape>
</item>
</layer-list>
24 changes: 24 additions & 0 deletions res/drawable/recent_header_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#ccc" />

</shape>
</item>

<item android:bottom="2dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp" />

<solid android:color="@color/listview_item_bg_color" />

</shape>
</item>
</layer-list>
33 changes: 33 additions & 0 deletions res/drawable/recent_header_background_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:bottom="2dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#454545" />

</shape>
</item>
<item android:top="1dp" >
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp"/>

<solid android:color="#1a1a1a" />

</shape>
</item>

<item android:top="1dp" android:bottom="2dp">
<shape android:shape="rectangle"
android:dither="true">

<corners android:radius="2dp" />

<solid android:color="@color/light_grey_dark" />
</shape>
</item>
</layer-list>
22 changes: 22 additions & 0 deletions res/drawable/shuffle_background_dark.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:example="http://schemas.android.com/apk/res/com.charlesharley.example.android.customdrawablestates"
>

<!--
We make the pressed and focused selector items transparent so the ListView's own selector states show through.
-->

<item android:state_pressed="true"
android:drawable="@color/holo_blue_dark"
/>

<item android:state_focused="true"
android:drawable="@color/holo_blue_dark"
/>

<item
android:drawable="@color/background_grey_dark"
/>

</selector>
6 changes: 0 additions & 6 deletions res/drawable/view_more.xml

This file was deleted.

Loading