summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vdrmanager/res/layout/epg_detail.xml8
-rw-r--r--vdrmanager/res/layout/epg_event_item.xml11
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java3
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java1
4 files changed, 14 insertions, 9 deletions
diff --git a/vdrmanager/res/layout/epg_detail.xml b/vdrmanager/res/layout/epg_detail.xml
index 2e18937..80aead1 100644
--- a/vdrmanager/res/layout/epg_detail.xml
+++ b/vdrmanager/res/layout/epg_detail.xml
@@ -10,7 +10,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
- android:textSize="15dip"
+ android:textAppearance="?android:textAppearanceMedium"
android:text="Unterwegs nach Cold Mountain"/>
<LinearLayout
@@ -24,6 +24,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
+ android:textAppearance="?android:textAppearanceSmall"
android:text="20:10-20-15"
/>
@@ -34,6 +35,7 @@
android:gravity="right" android:layout_weight="1"
android:paddingLeft="10dip"
android:text="2/123min"
+ android:textAppearance="?android:textAppearanceSmall"
/>
@@ -56,6 +58,7 @@
android:layout_height="wrap_content"
android:gravity="left"
android:text="Krimikömedie"
+ android:textAppearance="?android:textAppearanceSmall"
android:layout_below="@id/epg_detail_time"/>
@@ -84,9 +87,10 @@
android:layout_weight="1">
<TextView
- android:textSize="15dip"
+ android:textAppearance="?android:textAppearanceSmall"
android:id="@+id/epg_detail_description"
android:layout_width="fill_parent"
+ android:text="Lorem Ipsum"
android:layout_height="fill_parent">
</TextView>
diff --git a/vdrmanager/res/layout/epg_event_item.xml b/vdrmanager/res/layout/epg_event_item.xml
index 3001d43..c1ce677 100644
--- a/vdrmanager/res/layout/epg_event_item.xml
+++ b/vdrmanager/res/layout/epg_event_item.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/timer_item" android:layout_width="fill_parent"
- android:layout_height="fill_parent" android:padding="3dp" android:paddingTop="5dp" android:paddingBottom="8dp"
+ android:layout_height="fill_parent" android:padding="4dp"
android:orientation="vertical">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical"
@@ -14,18 +14,19 @@
<ProgressBar
android:id="@+id/timer_progress" android:layout_width="fill_parent"
- android:indeterminate="false" android:layout_height="3dip" android:layout_marginTop="3dip"
+ android:indeterminate="false" android:layout_height="2dip" android:layout_marginTop="3dip"
style="?android:attr/progressBarStyleHorizontal" android:visibility="gone" />
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_marginTop="0dip">
- <TextView android:id="@+id/timer_item_time" android:textSize="17dip"
+ <TextView android:id="@+id/timer_item_time" android:textAppearance="?android:textAppearanceMedium"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:drawable/list_selector_background"
android:gravity="left" android:text="22:33" android:paddingRight="5dip" />
<TextView android:id="@+id/timer_item_title" android:text="timer_item_title" android:layout_weight="1" android:textStyle="bold"
- android:ellipsize="end" android:layout_width="wrap_content" android:textSize="17dip" android:background="@android:drawable/list_selector_background"
+ android:ellipsize="end" android:layout_width="wrap_content" android:background="@android:drawable/list_selector_background"
+ android:textAppearance="?android:textAppearanceMedium"
android:layout_height="wrap_content" />
</LinearLayout>
@@ -38,7 +39,7 @@
android:layout_width="wrap_content" android:layout_height="fill_parent" android:background="@android:drawable/list_selector_background"
android:layout_centerVertical="true" android:visibility="gone" />
- <TextView android:id="@+id/timer_item_shorttext" android:textSize="15dip"
+ <TextView android:id="@+id/timer_item_shorttext" android:textAppearance="?android:textAppearanceSmall"
android:text="timer_short_text" android:ellipsize="end" android:background="@android:drawable/list_selector_background"
android:layout_alignLeft="@id/timer_item_title" android:layout_width="wrap_content" android:layout_weight="1"
android:layout_height="wrap_content" />
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java
index 5ce6d1a..729c31f 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java
@@ -51,8 +51,9 @@ public abstract class BaseEpgListActivity extends BaseActivity {
@Override
protected void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
+ setTitle(getWindowTitle());
initChannel();
- getWindowTitle();
+
}
private void initChannel(){
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java
index 451382f..76c3335 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java
@@ -185,7 +185,6 @@ public class TimeEpgListActivity extends BaseEpgListActivity implements
// get spinner value
final EpgSearchTimeValue selection = (EpgSearchTimeValue) timeSpinner
.getSelectedItem();
- setTitle(getString(R.string.epg_of_a_channel, selection));
adapter.clear();
CACHE.clear();
nextForceCache = FUTURE;