From 1cb716ecb5bc0750715dc6bc9e069b84a1823b31 Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 25 Jan 2012 00:35:11 +0100 Subject: beter handling of recent channels --- vdrmanager/res/drawable-hdpi/ic_menu_recent_history.png | Bin 0 -> 2171 bytes vdrmanager/res/drawable-mdpi/ic_menu_recent_history.png | Bin 0 -> 1293 bytes vdrmanager/res/drawable-xhdpi/ic_menu_recent_history.png | Bin 0 -> 3001 bytes vdrmanager/res/values/strings.xml | 5 +++-- vdrmanager/res/xml/preferences.xml | 9 +++++++++ .../bjusystems/vdrmanager/gui/ChannelListActivity.java | 10 ++++++++++ 6 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 vdrmanager/res/drawable-hdpi/ic_menu_recent_history.png create mode 100644 vdrmanager/res/drawable-mdpi/ic_menu_recent_history.png create mode 100644 vdrmanager/res/drawable-xhdpi/ic_menu_recent_history.png diff --git a/vdrmanager/res/drawable-hdpi/ic_menu_recent_history.png b/vdrmanager/res/drawable-hdpi/ic_menu_recent_history.png new file mode 100644 index 0000000..4101434 Binary files /dev/null and b/vdrmanager/res/drawable-hdpi/ic_menu_recent_history.png differ diff --git a/vdrmanager/res/drawable-mdpi/ic_menu_recent_history.png b/vdrmanager/res/drawable-mdpi/ic_menu_recent_history.png new file mode 100644 index 0000000..e5f8e2d Binary files /dev/null and b/vdrmanager/res/drawable-mdpi/ic_menu_recent_history.png differ diff --git a/vdrmanager/res/drawable-xhdpi/ic_menu_recent_history.png b/vdrmanager/res/drawable-xhdpi/ic_menu_recent_history.png new file mode 100644 index 0000000..fc5e1fc Binary files /dev/null and b/vdrmanager/res/drawable-xhdpi/ic_menu_recent_history.png differ diff --git a/vdrmanager/res/values/strings.xml b/vdrmanager/res/values/strings.xml index 58a2a33..20efafe 100644 --- a/vdrmanager/res/values/strings.xml +++ b/vdrmanager/res/values/strings.xml @@ -304,6 +304,7 @@ Delete Stream Recent channels - No history… - + No history… + Max. recent channels + How many channels should be kept in the recent channels? \ No newline at end of file diff --git a/vdrmanager/res/xml/preferences.xml b/vdrmanager/res/xml/preferences.xml index c92b1fa..8a819dd 100644 --- a/vdrmanager/res/xml/preferences.xml +++ b/vdrmanager/res/xml/preferences.xml @@ -20,12 +20,21 @@ android:summary="@string/gui_channels_show_channel_numbers_summary" android:title="@string/gui_channels_show_channel_numbers_title" /> + + + + + + i = RECENT.iterator(); while (i.hasNext()) { Channel c = i.next(); -- cgit v1.2.3