Changed playerWidget theme to dark

This commit is contained in:
daniel oeh 2012-11-23 18:53:57 +01:00
parent caa00a97cb
commit f2175dff16
3 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:logo="@drawable/ic_launcher"
android:theme="@style/Theme.AntennaPod.Dark" >
android:theme="@style/Theme.AntennaPod.Light" >
<activity
android:name=".activity.MainActivity"
android:configChanges="keyboardHidden|orientation"

View File

@ -7,7 +7,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white" >
android:background="#262C31" >
<ImageButton
android:id="@+id/butPlay"
@ -15,8 +15,8 @@
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_margin="12dp"
android:background="?attr/borderless_button"
android:src="@drawable/av_play" />
android:background="@drawable/borderless_button_dark"
android:src="@drawable/av_play_dark" />
<LinearLayout
android:id="@+id/layout_left"
@ -24,7 +24,7 @@
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/butPlay"
android:background="?attr/borderless_button"
android:background="@drawable/borderless_button_dark"
android:gravity="center_vertical"
android:orientation="vertical" >
@ -35,7 +35,7 @@
android:layout_margin="8dp"
android:maxLines="1"
android:text="@string/no_media_playing_label"
android:textColor="@color/black"
android:textColor="@color/white"
android:textSize="18dp"
android:textStyle="bold" />
@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:textColor="@color/ics_gray" />
android:textColor="@color/gray" />
</LinearLayout>
</RelativeLayout>

View File

@ -94,9 +94,9 @@ public class PlayerWidgetService extends Service {
if (progressString != null) {
views.setTextViewText(R.id.txtvProgress, progressString);
}
views.setImageViewResource(R.id.butPlay, R.drawable.av_pause);
views.setImageViewResource(R.id.butPlay, R.drawable.av_pause_dark);
} else {
views.setImageViewResource(R.id.butPlay, R.drawable.av_play);
views.setImageViewResource(R.id.butPlay, R.drawable.av_play_dark);
}
views.setOnClickPendingIntent(R.id.butPlay,
createMediaButtonIntent());