Minor fixes.

This commit is contained in:
Felix Ableitner 2013-06-29 17:29:27 +02:00
parent 0bb44f79cd
commit 7366cd8431
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
android:id="@+id/image" android:id="@+id/image"
android:layout_width="?android:attr/listPreferredItemHeight" android:layout_width="?android:attr/listPreferredItemHeight"
android:layout_height="?android:attr/listPreferredItemHeight" android:layout_height="?android:attr/listPreferredItemHeight"
android:layout_margin="4dip" android:padding="4dip"
android:contentDescription="@string/album_art" /> android:contentDescription="@string/album_art" />

View file

@ -169,7 +169,7 @@ public class MainActivity extends SherlockFragmentActivity implements
* Utility function to call RendererFragment.play from ServerFragment. * Utility function to call RendererFragment.play from ServerFragment.
*/ */
public void play(List<Item> playlist, int start) { public void play(List<Item> playlist, int start) {
getSupportActionBar().selectTab(getSupportActionBar().getTabAt(0)); getSupportActionBar().selectTab(getSupportActionBar().getTabAt(1));
mRendererFragment.setPlaylist(playlist, start); mRendererFragment.setPlaylist(playlist, start);
} }