summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/src/de')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java
index 76c3335..488939b 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java
@@ -48,13 +48,9 @@ public class TimeEpgListActivity extends BaseEpgListActivity implements
@Override
protected void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
+
- // Attach view
- setContentView(getMainLayout());
-
- ListView lv = (ListView) findViewById(R.id.whatson_list);
- lv.setFastScrollEnabled(true);
-
+
// create adapter for time spinner
timeSpinnerAdapter = new ArrayAdapter<EpgSearchTimeValue>(this,
android.R.layout.simple_spinner_item);
@@ -73,6 +69,9 @@ public class TimeEpgListActivity extends BaseEpgListActivity implements
// Create adapter for EPG list
listView = (ListView) findViewById(R.id.whatson_list);
+ listView.setFastScrollEnabled(true);
+ listView.setTextFilterEnabled(true);
+
listView.setAdapter(adapter);
registerForContextMenu(listView);
@@ -258,4 +257,5 @@ public class TimeEpgListActivity extends BaseEpgListActivity implements
protected int getWindowTitle() {
return R.string.epg_by_time;
}
+
}