Moved GUI classes to new gui package.
This commit is contained in:
parent
b9802245fe
commit
d29680d695
9 changed files with 21 additions and 9 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="8"
|
||||
android:targetSdkVersion="17" />
|
||||
android:targetSdkVersion="18" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
|
@ -20,7 +20,7 @@
|
|||
android:theme="@style/Theme.Sherlock.Light" >
|
||||
|
||||
<activity
|
||||
android:name="com.github.nutomic.controldlna.MainActivity"
|
||||
android:name="com.github.nutomic.controldlna.gui.MainActivity"
|
||||
android:label="@string/app_name" >
|
||||
|
||||
<intent-filter android:label="@string/app_name" >
|
||||
|
|
Binary file not shown.
|
@ -11,5 +11,5 @@
|
|||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
# Project target.
|
||||
target=android-17
|
||||
target=android-18
|
||||
android.library.reference.1=../actionbarsherlock
|
||||
|
|
|
@ -37,6 +37,9 @@ import org.teleal.cling.model.meta.RemoteDevice;
|
|||
import org.teleal.cling.registry.Registry;
|
||||
import org.teleal.cling.registry.RegistryListener;
|
||||
|
||||
import com.github.nutomic.controldlna.RemoteImageView;
|
||||
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
|
|
@ -2,6 +2,9 @@ package com.github.nutomic.controldlna;
|
|||
|
||||
import java.net.URI;
|
||||
|
||||
import com.github.nutomic.controldlna.LoadImageTask;
|
||||
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Bitmap;
|
||||
import android.util.AttributeSet;
|
||||
|
|
|
@ -25,7 +25,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package com.github.nutomic.controldlna;
|
||||
package com.github.nutomic.controldlna.gui;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -41,6 +41,7 @@ import android.view.KeyEvent;
|
|||
|
||||
import com.actionbarsherlock.app.ActionBar;
|
||||
import com.actionbarsherlock.app.SherlockFragmentActivity;
|
||||
import com.github.nutomic.controldlna.R;
|
||||
|
||||
/**
|
||||
* Main activity, with tabs for media servers and media renderers.
|
|
@ -25,7 +25,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package com.github.nutomic.controldlna;
|
||||
package com.github.nutomic.controldlna.gui;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
@ -78,7 +78,10 @@ import android.widget.SeekBar;
|
|||
import android.widget.SeekBar.OnSeekBarChangeListener;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.github.nutomic.controldlna.MainActivity.OnBackPressedListener;
|
||||
import com.github.nutomic.controldlna.DeviceArrayAdapter;
|
||||
import com.github.nutomic.controldlna.FileArrayAdapter;
|
||||
import com.github.nutomic.controldlna.R;
|
||||
import com.github.nutomic.controldlna.gui.MainActivity.OnBackPressedListener;
|
||||
import com.github.nutomic.controldlna.service.PlayService;
|
||||
import com.github.nutomic.controldlna.service.PlayServiceBinder;
|
||||
|
|
@ -25,7 +25,7 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package com.github.nutomic.controldlna;
|
||||
package com.github.nutomic.controldlna.gui;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -56,7 +56,9 @@ import android.util.Log;
|
|||
import android.view.View;
|
||||
import android.widget.ListView;
|
||||
|
||||
import com.github.nutomic.controldlna.MainActivity.OnBackPressedListener;
|
||||
import com.github.nutomic.controldlna.DeviceArrayAdapter;
|
||||
import com.github.nutomic.controldlna.FileArrayAdapter;
|
||||
import com.github.nutomic.controldlna.gui.MainActivity.OnBackPressedListener;
|
||||
|
||||
/**
|
||||
* Shows a list of media servers, upon selecting one, allows browsing theur
|
|
@ -70,8 +70,8 @@ import android.util.Log;
|
|||
import android.widget.Toast;
|
||||
|
||||
import com.github.nutomic.controldlna.LoadImageTask;
|
||||
import com.github.nutomic.controldlna.MainActivity;
|
||||
import com.github.nutomic.controldlna.R;
|
||||
import com.github.nutomic.controldlna.gui.MainActivity;
|
||||
|
||||
public class PlayService extends Service {
|
||||
|
||||
|
|
Reference in a new issue