Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
cb085cf
Updates of old ide stuff to new working order
May 13, 2012
3e055aa
Fixed the project name
May 14, 2012
5dc2cfa
Attempting to update to Json
May 14, 2012
7ce3c5f
Readme changes to reflect a group effort
May 15, 2012
23c6179
Old key removal
May 15, 2012
3133be8
Readme warning as to the broken functionality
May 15, 2012
4359672
Renames from Pandoid to Pandoroid (the project's official name)
May 18, 2012
e027cb5
All renaming completed (hopefully)
May 19, 2012
d5fa53a
Implemented an RPC class
May 25, 2012
4d87f01
Significant changes made to the API towards a JSON interface
May 31, 2012
aaa08cf
Final API bugs fixed
May 31, 2012
da00420
Significant cleanup made
May 31, 2012
96d128f
Readme updated
May 31, 2012
bc00cea
Upped the versioning to 0.3
May 31, 2012
f3eba7d
Initial login bug fix
Jun 1, 2012
9d7d37d
Fixed a couple of fatal errors...still buggy as hell
Jun 1, 2012
8e35db4
Fix logon issue
Tortel Jun 3, 2012
e403013
Clean up layouts
Tortel Jun 3, 2012
1762ea2
Add files in preperation for UI overhaul
Tortel Jun 3, 2012
c4ec7be
Starting to re-work the UI.
Tortel Jun 3, 2012
8db900f
UI update
Tortel Jun 4, 2012
b3ba534
More UI changes
Tortel Jun 5, 2012
049b296
Generic code updates
Jun 5, 2012
fb06bfd
API changed to use the desktop AIR client credentials. Those without …
Jun 6, 2012
c76b258
Readme edit
Jun 6, 2012
b30128d
Readme style edit
Jun 6, 2012
384f043
Readme style edit
Jun 6, 2012
e90f065
Finally working on ICS
Tortel Jun 6, 2012
fc6fdfb
Lots of cleanup
Tortel Jun 7, 2012
51972c1
New button images
Tortel Jun 9, 2012
c79474c
Change to a different package
Tortel Jun 9, 2012
c61000e
Add an about dialog
Tortel Jun 10, 2012
f7c0912
Starting to re-write most of the code
Tortel Jun 24, 2012
12dbf5d
Clean up preferences
Tortel Jun 25, 2012
51c33e4
Moved getting the next song into its own AsyncTask
Tortel Jun 25, 2012
abd75d3
Re-enable StrictMode
Tortel Jun 25, 2012
8e52519
New onResume(), so itt will re-display information for the current song
Tortel Jun 25, 2012
0b465ad
Short merge
dylanPowers Jun 25, 2012
c03886d
Remove the last disable StrictMode
Tortel Jun 26, 2012
7931c95
Fix crash on 5th song
Tortel Jun 26, 2012
ea862d4
Update Readme with ActionBarSherlock information
Tortel Jun 26, 2012
1f82f18
Package rename to com.pandoroid
Tortel Jun 26, 2012
648a0f7
Environment config
dylanPowers Jun 26, 2012
efec78a
Cool new UI features among some bug fixes merged from #2
dylanPowers Jun 26, 2012
5b2d982
Credential behavior has been changed to auto detect the user to allow…
dylanPowers Jun 27, 2012
49374c5
Song feedback implemented! And extensive error codes added.
dylanPowers Jun 27, 2012
6927d2c
Small code refactor in the signIn() function
dylanPowers Jun 27, 2012
966c2ce
Readme updated
dylanPowers Jul 2, 2012
eed1842
Improved audio URL and codec information for Songs.
dylanPowers Jul 6, 2012
1d5e569
More RPCException error codes and greater documentation.
dylanPowers Jul 6, 2012
d0d70e0
General stability improvements
dylanPowers Jul 7, 2012
46d7dd5
Completely new playback engine in anticipation for the dynamic/contin…
dylanPowers Jul 9, 2012
c7dd86f
Station switching fixed
dylanPowers Jul 10, 2012
21fa937
Fixed notification issue
dylanPowers Jul 10, 2012
f70b65c
Code cleanup, documentation, and licensing updates.
dylanPowers Jul 10, 2012
bbae280
Bug fix for getting another playlist
dylanPowers Jul 10, 2012
d4f5bb6
Bug fix for a crash when switching off of wifi
dylanPowers Jul 10, 2012
e57a3b7
New playback package
dylanPowers Jul 12, 2012
3ced529
New halt state codes and some new documentation for the media playbac…
dylanPowers Jul 12, 2012
f569478
Repaired incorrect service and activity implementations
dylanPowers Jul 13, 2012
23706c5
Small changes to the service binding implementation.
dylanPowers Jul 13, 2012
0542d8d
New feature: Force 4 position rotation.
dylanPowers Jul 13, 2012
8aa60fe
Service onDestroy() implemented
dylanPowers Jul 13, 2012
30b952f
Fix for a notification incorrectly popping up.
dylanPowers Jul 13, 2012
75e8965
Fixed/hacked back the listener setting
dylanPowers Jul 14, 2012
b49384c
Quick hack for the song info not automatically updating
dylanPowers Jul 16, 2012
3d0f112
Long term fix for the song info updating.
dylanPowers Jul 16, 2012
cfa7e28
Merge branch 'fix-stupid-service-stuff' into dynamic-downloader
dylanPowers Jul 16, 2012
e043cee
Playback listener updates
dylanPowers Jul 16, 2012
09f4265
More robust error handling for the remote procedure calls.
dylanPowers Jul 16, 2012
09ab462
Oh look! A class for estimating available bandwidth.
dylanPowers Jul 18, 2012
15fb2f0
Variable quality and continuous playback are working
dylanPowers Jul 21, 2012
261bd61
Some small changes
dylanPowers Jul 23, 2012
0bd54ff
Better, more proper, and simplified thread safety implementation, and…
dylanPowers Jul 25, 2012
ba7027a
A playback hanging issue has been fixed.
dylanPowers Jul 26, 2012
09a7421
Fixes playback start after a phone call.
dylanPowers Jul 26, 2012
ba94708
Code cleanup, minor tweaks, and documentation.
dylanPowers Jul 31, 2012
8986fbf
The package has now been streamlined to com.pandoroid;
dylanPowers Jul 31, 2012
fabb3d9
Python remnants removed.
dylanPowers Jul 31, 2012
1a3c71c
Whoops! A fix for the cached song being skipped.
dylanPowers Aug 1, 2012
ee04495
Removed the gen/ directory from version control
dylanPowers Aug 1, 2012
5cae7dd
Repairs a MediaPlaybackController crash and tweaks the cached player.
dylanPowers Aug 2, 2012
9ea5492
Null pointer fix for the buffering
dylanPowers Aug 3, 2012
b9ae145
New GUI that gives error messages and streamlines the login process.
dylanPowers Aug 9, 2012
8aa317a
More debugging information for the logs
dylanPowers Aug 13, 2012
eb06aea
Tweaked bandwidth estimation
dylanPowers Aug 13, 2012
c56eeb9
Visual cues for why the music has stopped
dylanPowers Aug 19, 2012
98a0f93
Repaired song rating implementation.
dylanPowers Aug 19, 2012
82f357b
Pausing on headphone disconnect (AUDIO_BECOMING_NOISY).
dylanPowers Aug 21, 2012
1f911a9
Small performance optimization.
dylanPowers Aug 26, 2012
b21f51e
Hack to fix some improper bitrate calculations.
dylanPowers Aug 27, 2012
a0d5196
Repairs authentication token and song expirations
dylanPowers Aug 27, 2012
5bc50bb
MediaPlayback algorithm enhancements.
dylanPowers Aug 27, 2012
895b0ad
Playback fixes.
dylanPowers Sep 1, 2012
dce4201
About dialog update
dylanPowers Sep 1, 2012
d88a4d0
Readme update and version bump to 1.0.0-Pre-8
dylanPowers Sep 1, 2012
6cb12af
Turbo download mode optimization
dylanPowers Sep 5, 2012
87a4616
Readme update
dylanPowers Sep 5, 2012
b7223d2
Fixed a force close caused by a stray dialog
dylanPowers Sep 8, 2012
0a8cc03
Hack to fix the lack of buffering updates
dylanPowers Sep 23, 2012
e9335fd
Turbo mode trigger reduced to 2
dylanPowers Sep 26, 2012
34b7941
Reconfiguring the ActionBarSherlock library as a git submodule.
dylanPowers Nov 12, 2012
ddef8bb
Updated a few string values
dylanPowers Nov 20, 2012
6eed996
Increased logging information
dylanPowers Nov 20, 2012
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
3 changes: 2 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="output" path="bin"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ bin/*
hs_err_pid*.log
R.java
consoleTesting

# The gen/ directory should be ignored as everything there is automatically generated.
gen/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ActionBarSherlock"]
path = ActionBarSherlock
url = https://github.com/JakeWharton/ActionBarSherlock.git
6 changes: 3 additions & 3 deletions .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Pandoid</name>
<name>Pandoroid</name>
<comment></comment>
<projects>
</projects>
Expand All @@ -16,12 +16,12 @@
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
Expand Down
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5
2 changes: 2 additions & 0 deletions .settings/org.eclipse.ltk.core.refactoring.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
1 change: 1 addition & 0 deletions ActionBarSherlock
Submodule ActionBarSherlock added at 90939d
61 changes: 47 additions & 14 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.aregner.android.pandoid"
android:versionCode="2" android:versionName="0.2">
<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>
package="com.pandoroid"
android:versionCode="14"
android:versionName="1.0.0-Pre-8" >

<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name="PandoidPlayer" android:label="@string/app_name" android:clearTaskOnLaunch="true">
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="16" />

<uses-permission android:name="android.permission.INTERNET" ></uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
<uses-permission android:name="android.permission.READ_PHONE_STATE" ></uses-permission>

<application
android:icon="@drawable/icon"
android:label="@string/app_name" >
<activity
android:name="com.pandoroid.PandoroidLogin"
android:label="@string/app_name"
android:noHistory="false" >
</activity>
<activity
android:name="com.pandoroid.PandoroidPlayer"
android:label="@string/app_name"
android:screenOrientation="fullSensor"
android:theme="@style/PandoroidStartUpTheme"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></category>
<action android:name="android.intent.action.MAIN" >
</action>
<category android:name="android.intent.category.LAUNCHER" >
</category>
</intent-filter>
</activity>
<activity android:name="PandoidStationSelect" android:noHistory="true"></activity>
<activity android:name="PandoidSettings" android:noHistory="true"></activity>
<service android:name="PandoraRadioService" android:enabled="true" android:exported="false"></service>
<activity android:name="PandoidLogin" android:noHistory="true"></activity>

<activity
android:name="com.pandoroid.PandoroidStationSelect"
android:noHistory="false" >
</activity>
<activity
android:name="com.pandoroid.PandoroidSettings"
android:noHistory="false" >
</activity>
<service
android:name="com.pandoroid.PandoraRadioService"
android:enabled="true"
android:exported="false" >
</service>
<activity
android:name="com.pandoroid.AboutDialog"
android:theme="@style/Theme.Sherlock.Dialog" >
</activity>
</application>

</manifest>
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
Pandoroid Radio
Pandoroid
===============
Project Page: https://github.com/dylanPowers/pandoroid/wiki

This is eventually going to be a full-featured [Pandora Radio](http://www.pandora.com/) client for Android-based devices. Due to failings in the proprietary application provided by Pandora Radio themselves, this application is being designed with three focuses in mind: _stability_, _intuitiveness_, and _configurability_ (in that order). At this stage, those are more "goals" then an actual reality.
Pandoroid is an open-sourced Pandora client for Android started by
[Andrew Regner](https://github.com/adregner). It is licensed under the GPLv2+, and code contributions are highly appreciated!
View the [project's homepage](https://github.com/dylanPowers/pandoroid/wiki) for the most up-to-date information.
For historical purposes the original homepage by [Andrew Regner](https://github.com/adregner) can be found
at [http://aregner.com/android/pandoroid/](http://aregner.com/android/pandoroid/).

I work on this project in my spare time with [Bazaar](http://bazaar.canonical.com/) but push it to here for the added visibility. Check out the project's home page (http://aregner.com/android/pandoroid/) for full details and its current status.
## Note about Using the Code
This version uses the [ActionBarSherlock](http://actionbarsherlock.com/) compatibility library to give the Android 4.0 styling to the older Android versions.
To edit and compile the source, check out the [usage](http://actionbarsherlock.com/usage.html) page, under Including In Your Project.
For help with project setup in eclipse, feel free to contact [dylanPowers](https://github.com/dylanPowers).

At the moment, the application is just about completely functional, with a few manageable bugs. It is however not complete enough based on where I want to go with it nor properly tested. Feedback is welcome and encouraged.
## Other Open-Sourced Pandora Projects
A big thanks to the folks at:
* [pianobar](https://github.com/PromyLOPh/pianobar/)
* [Pithos](https://github.com/kevinmehall/pithos)
* ...and others
11 changes: 0 additions & 11 deletions default.properties

This file was deleted.

3 changes: 3 additions & 0 deletions lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>
16 changes: 16 additions & 0 deletions project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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-14
android.library=false
android.library.reference.1=ActionBarSherlock/library
14 changes: 0 additions & 14 deletions release.sh

This file was deleted.

Binary file added res/drawable-hdpi/ic_menu_block.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/ic_menu_forward.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/ic_menu_play_clip.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/ic_menu_star.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/ic_sysbar_menu.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/notification_icon.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-ldpi/ic_menu_block.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-ldpi/ic_menu_forward.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-ldpi/ic_menu_play_clip.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-ldpi/ic_menu_star.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-ldpi/ic_sysbar_menu.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/ic_menu_block.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/ic_menu_forward.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/ic_menu_play_clip.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/ic_menu_star.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/ic_sysbar_menu.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/ic_menu_block.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/ic_menu_forward.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/ic_menu_play_clip.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/ic_menu_star.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/ic_sysbar_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 138 additions & 0 deletions res/layout-land/player.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/PandoroidBlackBgTheme"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >

<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentTop="false"
android:orientation="vertical" >

<TextView
android:id="@+id/player_topText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:gravity="center"
android:paddingTop="5dip"
android:text="@string/loading" >
</TextView>

<ImageView
android:id="@+id/player_image"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/player_topText"
android:layout_alignRight="@+id/player_topText"
android:layout_below="@+id/player_topText"
android:paddingTop="5dip"
android:src="@drawable/transparent" >
</ImageView>

<TextView
android:id="@+id/player_bottomText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/player_image"
android:layout_alignRight="@+id/player_image"
android:layout_below="@+id/player_image"
android:gravity="center"
android:paddingTop="14dip"
android:text=""
android:visibility="gone" >
</TextView>

</RelativeLayout>

<LinearLayout
android:id="@+id/progressUpdate"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="158dp"
android:layout_marginRight="158dp"
android:layout_marginTop="100dp"
android:background="#C0000000"
android:paddingBottom="10dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="10dp"
android:visibility="invisible" >

<ProgressBar
android:id="@+id/progressSpinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<TextView
android:id="@+id/progressText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="15dp"
android:text="@string/loading"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="16dp" />

</LinearLayout>

<RelativeLayout
android:id="@+id/player_buttons"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center|right" >

<ImageView
android:id="@+id/player_next"
android:src="@drawable/ic_menu_forward"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="controlButtonPressed"
android:padding="10dip"
android:width="75dip" >
</ImageView>

<ImageView
android:id="@+id/player_pause"
android:src="@drawable/ic_menu_play_clip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="controlButtonPressed"
android:layout_alignLeft="@+id/player_next"
android:layout_alignRight="@+id/player_next"
android:layout_below="@+id/player_next"
android:padding="10dip"
android:width="75dip" >
</ImageView>

<ImageView
android:id="@+id/player_love"
android:src="@drawable/ic_menu_star"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/player_pause"
android:layout_alignRight="@+id/player_pause"
android:layout_below="@+id/player_pause"
android:onClick="controlButtonPressed"
android:padding="10dip"
android:width="75dip" >
</ImageView>

<ImageView
android:id="@+id/player_ban"
android:src="@drawable/ic_menu_block"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="controlButtonPressed"
android:layout_alignLeft="@+id/player_love"
android:layout_alignRight="@+id/player_love"
android:layout_below="@+id/player_love"
android:padding="10dip"
android:width="75dip" >
</ImageView>

</RelativeLayout>

</RelativeLayout>
Expand Down
20 changes: 20 additions & 0 deletions res/layout/about.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="20dip">

<TextView
android:id="@+id/version_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" />

<TextView
android:id="@+id/about_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="left" />

</LinearLayout>
Expand Down
Loading