diff options
5 files changed, 15 insertions, 4 deletions
diff --git a/vdrmanager/res/values/epg.xml b/vdrmanager/res/values/epg.xml index ee5ae48..b8243a8 100644 --- a/vdrmanager/res/values/epg.xml +++ b/vdrmanager/res/values/epg.xml @@ -17,5 +17,7 @@ <string name="epg_duration_template">%1$s min</string> <string name="epg_duration_template_live">%1$s/%2$s min</string> <string name="epg_of_a_channel">EPG -> %1$s</string> + <string name="epg_by_channel">EPG by channel</string> + <string name="epg_by_time">EPG by time</string> </resources> diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java index e304009..5ce6d1a 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java @@ -45,12 +45,14 @@ public abstract class BaseEpgListActivity extends BaseActivity { protected ListView listView; + abstract protected int getWindowTitle(); @Override protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); initChannel(); + getWindowTitle(); } private void initChannel(){ diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java index 0cdb287..1ff7d98 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EventEpgListActivity.java @@ -236,4 +236,9 @@ public class EventEpgListActivity extends BaseEpgListActivity implements startEpgQuery(currentChannel, true); } + @Override + protected int getWindowTitle() { + return R.string.epg_by_channel; + } + } diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java index e88bb88..d1a2169 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/RecordingListActivity.java @@ -18,14 +18,12 @@ import de.bjusystems.vdrmanager.data.EventListItem; import de.bjusystems.vdrmanager.data.Recording; import de.bjusystems.vdrmanager.data.Timer; import de.bjusystems.vdrmanager.tasks.DeleteTimerTask; -import de.bjusystems.vdrmanager.tasks.ToggleTimerTask; import de.bjusystems.vdrmanager.utils.svdrp.RecordingClient; import de.bjusystems.vdrmanager.utils.svdrp.SvdrpAsyncListener; import de.bjusystems.vdrmanager.utils.svdrp.SvdrpAsyncTask; import de.bjusystems.vdrmanager.utils.svdrp.SvdrpClient; import de.bjusystems.vdrmanager.utils.svdrp.SvdrpEvent; import de.bjusystems.vdrmanager.utils.svdrp.SvdrpException; -import de.bjusystems.vdrmanager.utils.svdrp.TimerClient; /** * This class is used for showing what's current running on all channels @@ -44,7 +42,7 @@ public class RecordingListActivity extends BaseActivity implements super.onCreate(savedInstanceState); // set title - setTitle(R.string.action_menu_timers); + setTitle(R.string.action_menu_recordings); // Attach view setContentView(getMainLayout()); diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java index 278b8d3..451382f 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java @@ -254,5 +254,9 @@ public class TimeEpgListActivity extends BaseEpgListActivity implements protected void retry() { refresh(); } - + + @Override + protected int getWindowTitle() { + return R.string.epg_by_time; + } } |