forked from cqr/PlayerHater
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e083117
Showing
80 changed files
with
2,613 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.classpath | ||
.project | ||
bin | ||
gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.prx.playerhater" | ||
android:versionCode="30000" | ||
android:versionName="3.0.0" > | ||
|
||
<uses-sdk | ||
android:minSdkVersion="5" | ||
android:targetSdkVersion="16" /> | ||
|
||
</manifest> |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# To enable ProGuard in your project, edit project.properties | ||
# to define the proguard.config property as described in that file. | ||
# | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in ${sdk.dir}/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the ProGuard | ||
# include property in project.properties. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system edit | ||
# "ant.properties", and override values to adapt the script to your | ||
# project structure. | ||
# | ||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | ||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | ||
|
||
# Project target. | ||
target=android-17 | ||
android.library=true |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
Copyright 2013 Chris Rhoden, Rebecca Nesson, Public Radio Exchange | ||
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:state_enabled="true" android:drawable="@drawable/zzz_ph_bt_back_enabled" /> | ||
<item android:state_enabled="false" android:drawable="@drawable/zzz_ph_bt_back_disabled" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
Copyright 2013 Chris Rhoden, Rebecca Nesson, Public Radio Exchange | ||
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:state_enabled="true" android:drawable="@drawable/zzz_ph_bt_pause_enabled" /> | ||
<item android:state_enabled="false" android:drawable="@drawable/zzz_ph_bt_pause_disabled" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
Copyright 2013 Chris Rhoden, Rebecca Nesson, Public Radio Exchange | ||
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:state_enabled="true" android:drawable="@drawable/zzz_ph_bt_play_enabled" /> | ||
<item android:state_enabled="false" android:drawable="@drawable/zzz_ph_bt_play_disabled" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
Copyright 2013 Chris Rhoden, Rebecca Nesson, Public Radio Exchange | ||
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:state_enabled="true" android:drawable="@drawable/zzz_ph_bt_skip_enabled" /> | ||
<item android:state_enabled="false" android:drawable="@drawable/zzz_ph_bt_skip_disabled" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<!-- | ||
Copyright 2013 Chris Rhoden, Rebecca Nesson, Public Radio Exchange | ||
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" | ||
style="?android:style/TextAppearance.StatusBar.EventContent" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" > | ||
|
||
<ImageView | ||
android:id="@+id/image" | ||
android:layout_width="64dp" | ||
android:layout_height="64dp" | ||
android:layout_alignParentLeft="true" | ||
android:background="#3333B5E5" | ||
android:contentDescription="@string/album_art" | ||
android:scaleType="fitCenter" /> | ||
|
||
<ImageView | ||
android:id="@+id/stop" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerVertical="true" | ||
android:alpha="0.4" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/stop" | ||
android:padding="10dp" | ||
android:scaleType="center" | ||
android:src="@drawable/zzz_ph_bt_stop" /> | ||
|
||
<ImageView | ||
android:id="@+id/skip" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:layout_toLeftOf="@id/stop" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/skip" | ||
android:padding="8dp" | ||
android:scaleType="center" | ||
android:src="@drawable/zzz_ph_bt_skip" /> | ||
|
||
<ImageView | ||
android:id="@+id/button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:layout_toLeftOf="@id/skip" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/play_pause" | ||
android:padding="8dp" | ||
android:src="@drawable/zzz_ph_bt_pause" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_toLeftOf="@id/button" | ||
android:layout_toRightOf="@id/image" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:id="@+id/title" | ||
style="@android:style/TextAppearance.StatusBar.EventContent.Title" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="bottom" | ||
android:layout_weight="1" | ||
android:ellipsize="end" | ||
android:focusable="true" | ||
android:focusableInTouchMode="true" | ||
android:gravity="bottom" | ||
android:lines="1" | ||
android:paddingLeft="8dp" > | ||
|
||
<requestFocus /> | ||
</TextView> | ||
|
||
<TextView | ||
android:id="@+id/text" | ||
style="@android:style/TextAppearance.StatusBar.EventContent" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="top" | ||
android:layout_weight="1" | ||
android:singleLine="true" | ||
android:lines="1" | ||
android:paddingLeft="8dp" /> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<!-- | ||
Copyright 2013 Chris Rhoden, Rebecca Nesson, Public Radio Exchange | ||
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" | ||
style="?android:style/TextAppearance.StatusBar.EventContent" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" > | ||
|
||
<ImageView | ||
android:id="@+id/image" | ||
android:layout_width="64dp" | ||
android:layout_height="match_parent" | ||
android:layout_alignParentLeft="true" | ||
android:background="#3333B5E5" | ||
android:contentDescription="@string/album_art" | ||
android:scaleType="fitCenter" /> | ||
|
||
<ImageView | ||
android:id="@+id/back" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:layout_toLeftOf="@id/button" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/back" | ||
android:padding="8dp" | ||
android:src="@drawable/zzz_ph_bt_skip_enabled" /> | ||
|
||
<ImageView | ||
android:id="@+id/button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:layout_toLeftOf="@id/skip" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/play_pause" | ||
android:padding="8dp" | ||
android:src="@drawable/zzz_ph_bt_pause_enabled" /> | ||
|
||
<ImageView | ||
android:id="@+id/skip" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerVertical="true" | ||
android:layout_toLeftOf="@id/stop" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/skip" | ||
android:padding="8dp" | ||
android:scaleType="center" | ||
android:src="@drawable/zzz_ph_bt_skip_enabled" /> | ||
|
||
<ImageView | ||
android:id="@+id/stop" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerVertical="true" | ||
android:alpha="0.4" | ||
android:background="?android:attr/selectableItemBackground" | ||
android:contentDescription="@string/stop" | ||
android:padding="10dp" | ||
android:scaleType="center" | ||
android:src="@drawable/zzz_ph_bt_stop" /> | ||
|
||
<LinearLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:layout_toLeftOf="@id/back" | ||
android:layout_toRightOf="@id/image" | ||
android:orientation="vertical" > | ||
|
||
<TextView | ||
android:id="@+id/title" | ||
style="@android:style/TextAppearance.StatusBar.EventContent.Title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="0dp" | ||
android:layout_gravity="bottom" | ||
android:layout_weight="1" | ||
android:ellipsize="end" | ||
android:focusable="true" | ||
android:focusableInTouchMode="true" | ||
android:gravity="bottom" | ||
android:lines="1" | ||
android:paddingLeft="8dp" > | ||
|
||
<requestFocus /> | ||
</TextView> | ||
|
||
<TextView | ||
android:id="@+id/text" | ||
style="@android:style/TextAppearance.StatusBar.EventContent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="0dp" | ||
android:layout_gravity="top" | ||
android:layout_weight="1" | ||
android:paddingLeft="8dp" /> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> |
Oops, something went wrong.