Changed references to drawables in resources to references to attrs

This commit is contained in:
daniel oeh 2012-11-20 19:26:41 +01:00
parent 7f85891d59
commit e01a656e9e
8 changed files with 26 additions and 26 deletions

View File

@ -56,7 +56,7 @@
android:layout_height="@dimen/enc_icons_size"
android:layout_below="@id/txtvPublished"
android:layout_toLeftOf="@+id/imgvDownloaded"
android:src="@drawable/stat_playlist"
android:src="?attr/stat_playlist"
android:visibility="visible" />
<ImageView
@ -65,7 +65,7 @@
android:layout_height="@dimen/enc_icons_size"
android:layout_below="@id/txtvPublished"
android:layout_toLeftOf="@+id/imgvDownloading"
android:src="@drawable/av_download"
android:src="?attr/av_download"
android:visibility="visible" />
<ImageView
@ -74,7 +74,7 @@
android:layout_height="@dimen/enc_icons_size"
android:layout_below="@id/txtvPublished"
android:layout_toLeftOf="@id/butAction"
android:src="@drawable/navigation_refresh"
android:src="?attr/navigation_refresh"
android:visibility="visible" />
<TextView
@ -97,7 +97,7 @@
android:focusableInTouchMode="false"
android:padding="8dp"
android:scaleType="center"
android:src="@drawable/navigation_expand" />
android:src="?attr/navigation_expand" />
</RelativeLayout>
</LinearLayout>

View File

@ -24,7 +24,7 @@
android:layout_height="match_parent"
android:layout_weight="0.02"
android:background="@drawable/borderless_button"
android:src="@drawable/av_rewind" />
android:src="?attr/av_rewind" />
<View
android:layout_width="0.5dp"
@ -39,7 +39,7 @@
android:layout_height="match_parent"
android:layout_weight="0.14"
android:background="@drawable/borderless_button"
android:src="@drawable/av_pause" />
android:src="?attr/av_pause" />
<View
android:layout_width="0.5dp"
@ -54,7 +54,7 @@
android:layout_height="match_parent"
android:layout_weight="0.02"
android:background="@drawable/borderless_button"
android:src="@drawable/av_fast_forward" />
android:src="?attr/av_fast_forward" />
</LinearLayout>
<SeekBar

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:id="@+id/add_feed" android:icon="@drawable/content_new" android:title="@string/add_new_feed_label" android:showAsAction="ifRoom"></item>
<item android:id="@+id/visit_website_item" android:title="@string/visit_website_label" android:showAsAction="ifRoom" android:icon="@drawable/location_web_site"></item>
<item android:id="@+id/add_feed" android:icon="?attr/content_new" android:title="@string/add_new_feed_label" android:showAsAction="ifRoom"></item>
<item android:id="@+id/visit_website_item" android:title="@string/visit_website_label" android:showAsAction="ifRoom" android:icon="?attr/location_web_site"></item>
</menu>

View File

@ -2,7 +2,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/visit_website_item"
android:icon="@drawable/location_web_site"
android:icon="?attr/location_web_site"
android:showAsAction="ifRoom|collapseActionView"
android:title="@string/visit_website_label"
android:visible="true">

View File

@ -3,35 +3,35 @@
<item
android:id="@+id/download_item"
android:icon="@drawable/av_download"
android:icon="?attr/av_download"
android:showAsAction="ifRoom"
android:title="@string/download_label"
android:visible="false">
</item>
<item
android:id="@+id/stream_item"
android:icon="@drawable/action_stream"
android:icon="?attr/action_stream"
android:showAsAction="ifRoom"
android:title="@string/stream_label"
android:visible="false">
</item>
<item
android:id="@+id/play_item"
android:icon="@drawable/av_play"
android:icon="?attr/av_play"
android:showAsAction="ifRoom"
android:title="@string/play_label"
android:visible="false">
</item>
<item
android:id="@+id/remove_item"
android:icon="@drawable/content_discard"
android:icon="?attr/content_discard"
android:showAsAction="collapseActionView"
android:title="@string/remove_label"
android:visible="false">
</item>
<item
android:id="@+id/cancel_download_item"
android:icon="@drawable/navigation_cancel"
android:icon="?attr/navigation_cancel"
android:showAsAction="ifRoom"
android:title="@string/cancel_download_label">
</item>
@ -66,7 +66,7 @@
</item>
<item
android:id="@+id/visit_website_item"
android:icon="@drawable/location_web_site"
android:icon="?attr/location_web_site"
android:showAsAction="ifRoom|collapseActionView"
android:title="@string/visit_website_label"
android:visible="false">

View File

@ -4,7 +4,7 @@
<item
android:id="@+id/refresh_item"
android:showAsAction="ifRoom|collapseActionView"
android:title="@string/refresh_label" android:icon="@drawable/navigation_refresh">
android:title="@string/refresh_label" android:icon="?attr/navigation_refresh">
</item>
<item
android:id="@+id/mark_all_read_item"
@ -13,20 +13,20 @@
</item>
<item
android:id="@+id/show_info_item"
android:icon="@drawable/action_about"
android:icon="?attr/action_about"
android:showAsAction="collapseActionView"
android:title="@string/show_info_label">
</item>
<item
android:id="@+id/remove_item"
android:icon="@drawable/content_discard"
android:icon="?attr/content_discard"
android:showAsAction="collapseActionView"
android:title="@string/remove_feed_label"
android:visible="true">
</item>
<item
android:id="@+id/visit_website_item"
android:icon="@drawable/location_web_site"
android:icon="?attr/location_web_site"
android:showAsAction="collapseActionView"
android:title="@string/visit_website_label"
android:visible="true">

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:id="@+id/disable_sleeptimer_item" android:icon="@drawable/device_access_time" android:title="@string/sleep_timer_label" android:showAsAction="always"></item><item android:id="@+id/set_sleeptimer_item" android:showAsAction="collapseActionView" android:title="@string/set_sleeptimer_label"></item><item
<item android:id="@+id/disable_sleeptimer_item" android:icon="?attr/device_access_time" android:title="@string/sleep_timer_label" android:showAsAction="always"></item><item android:id="@+id/set_sleeptimer_item" android:showAsAction="collapseActionView" android:title="@string/set_sleeptimer_label"></item><item
android:id="@+id/share_link_item"
android:showAsAction="collapseActionView"
android:title="@string/share_link_label">
</item>
<item
android:id="@+id/visit_website_item"
android:icon="@drawable/location_web_site"
android:icon="?attr/location_web_site"
android:showAsAction="ifRoom|collapseActionView"
android:title="@string/visit_website_label"
android:visible="false">

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/all_feed_refresh" android:title="@string/refresh_label" android:icon="@drawable/navigation_refresh" android:showAsAction="ifRoom|collapseActionView">
<item android:id="@+id/all_feed_refresh" android:title="@string/refresh_label" android:icon="?attr/navigation_refresh" android:showAsAction="ifRoom|collapseActionView">
</item><item
android:id="@+id/add_feed"
android:title="@string/add_feed_label"
android:icon="@drawable/content_new"
android:icon="?attr/content_new"
android:showAsAction="ifRoom|collapseActionView">
</item>
<item android:id="@id/search_item" android:icon="@drawable/action_search" android:title="@string/search_label" android:showAsAction="ifRoom|collapseActionView"></item><item android:id="@+id/show_player" android:title="@string/show_player_label" android:icon="@drawable/av_play" android:showAsAction="collapseActionView"></item><item android:id="@+id/show_playback_history" android:title="@string/playback_history_label" android:showAsAction="collapseActionView"></item><item android:id="@+id/show_downloads" android:title="@string/downloads_label" android:icon="@drawable/av_download" android:showAsAction="collapseActionView">
</item><item android:id="@+id/show_preferences" android:title="@string/settings_label" android:icon="@drawable/action_settings" android:showAsAction="collapseActionView"></item>
<item android:id="@id/search_item" android:icon="?attr/action_search" android:title="@string/search_label" android:showAsAction="ifRoom|collapseActionView"></item><item android:id="@+id/show_player" android:title="@string/show_player_label" android:icon="@drawable/av_play" android:showAsAction="collapseActionView"></item><item android:id="@+id/show_playback_history" android:title="@string/playback_history_label" android:showAsAction="collapseActionView"></item><item android:id="@+id/show_downloads" android:title="@string/downloads_label" android:icon="@drawable/av_download" android:showAsAction="collapseActionView">
</item><item android:id="@+id/show_preferences" android:title="@string/settings_label" android:icon="?attr/action_settings" android:showAsAction="collapseActionView"></item>
</menu>