From ac8e359b9a5077e546ed31c96510965bb176410d Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 5 Oct 2011 16:04:40 +0200 Subject: better windows title + normilized fontstyles --- vdrmanager/res/layout/epg_detail.xml | 8 ++++++-- vdrmanager/res/layout/epg_event_item.xml | 11 ++++++----- .../src/de/bjusystems/vdrmanager/gui/BaseEpgListActivity.java | 3 ++- .../src/de/bjusystems/vdrmanager/gui/TimeEpgListActivity.java | 1 - 4 files changed, 14 insertions(+), 9 deletions(-) (limited to 'vdrmanager') 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"/> @@ -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"> 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 @@ - @@ -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" /> - 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; -- cgit v1.2.3