diff --git a/assets/Roboto-Light.ttf b/assets/Roboto-Light.ttf new file mode 100644 index 000000000..13bf13af0 Binary files /dev/null and b/assets/Roboto-Light.ttf differ diff --git a/assets/Roboto.ttf b/assets/Roboto.ttf new file mode 100644 index 000000000..0ba95c98c Binary files /dev/null and b/assets/Roboto.ttf differ diff --git a/res/layout/addfeed.xml b/res/layout/addfeed.xml index c3401cb07..48c89f802 100644 --- a/res/layout/addfeed.xml +++ b/res/layout/addfeed.xml @@ -20,9 +20,7 @@ android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_margin="16dp" - android:textSize="@dimen/text_size_large" - android:textColor="@color/bright_blue" - android:textStyle="italic" + style="@style/AntennaPod.TextView.Heading" android:text="@string/txtvfeedurl_label"/> - - + android:textSize="16sp" + android:fontFamily="sans-serif-light" + /> + android:fontFamily="sans-serif-light"/> + style="@style/AntennaPod.TextView.Heading"/> @@ -119,13 +116,12 @@ android:textColor="?android:attr/textColorPrimary"/> + style="@style/AntennaPod.TextView.Heading"/> + style="@style/AntennaPod.TextView.Heading"/> + style="@style/AntennaPod.TextView.Heading"/> \ No newline at end of file diff --git a/res/layout/onlinefeedview_header.xml b/res/layout/onlinefeedview_header.xml index 441df6174..6cec28e92 100644 --- a/res/layout/onlinefeedview_header.xml +++ b/res/layout/onlinefeedview_header.xml @@ -23,8 +23,7 @@ android:layout_toRightOf="@id/imgvCover" android:layout_alignParentRight="true" android:lines="1" - android:textColor="?android:attr/textColorPrimary" - android:textSize="@dimen/text_size_medium" + style="@style/AntennaPod.TextView.Heading" android:layout_margin="4dp"/> + + + + \ No newline at end of file diff --git a/res/values/styles.xml b/res/values/styles.xml index f169b6301..d6dccb426 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -117,4 +117,10 @@ #fff @string/undo + + diff --git a/src/de/danoeh/antennapod/activity/AudioplayerActivity.java b/src/de/danoeh/antennapod/activity/AudioplayerActivity.java index 0c18bdd97..7a4429705 100644 --- a/src/de/danoeh/antennapod/activity/AudioplayerActivity.java +++ b/src/de/danoeh/antennapod/activity/AudioplayerActivity.java @@ -70,7 +70,6 @@ public class AudioplayerActivity extends MediaplayerActivity { private int savedPosition = -1; private TextView txtvTitle; - private TextView txtvFeed; private Button butPlaybackSpeed; private ImageButton butNavLeft; private ImageButton butNavRight; @@ -403,7 +402,6 @@ public class AudioplayerActivity extends MediaplayerActivity { drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); navList = (ListView) findViewById(R.id.nav_list); txtvTitle = (TextView) findViewById(R.id.txtvTitle); - txtvFeed = (TextView) findViewById(R.id.txtvFeed); butNavLeft = (ImageButton) findViewById(R.id.butNavLeft); butNavRight = (ImageButton) findViewById(R.id.butNavRight); butPlaybackSpeed = (Button) findViewById(R.id.butPlaybackSpeed); @@ -550,7 +548,6 @@ public class AudioplayerActivity extends MediaplayerActivity { return false; } txtvTitle.setText(media.getEpisodeTitle()); - txtvFeed.setText(media.getFeedTitle()); if (media.getChapters() != null) { butNavRight.setVisibility(View.VISIBLE); } else { diff --git a/src/de/danoeh/antennapod/dialog/FeedItemDialog.java b/src/de/danoeh/antennapod/dialog/FeedItemDialog.java index cb8e5b877..932f9aec9 100644 --- a/src/de/danoeh/antennapod/dialog/FeedItemDialog.java +++ b/src/de/danoeh/antennapod/dialog/FeedItemDialog.java @@ -248,7 +248,7 @@ public class FeedItemDialog extends Dialog { private String applyWebviewStyle(String textColor, String data) { - final String WEBVIEW_STYLE = "%s"; + final String WEBVIEW_STYLE = "%s"; final int pageMargin = (int) TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_DIP, 8, getContext().getResources() .getDisplayMetrics() diff --git a/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java b/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java index 48c544457..bf6974982 100644 --- a/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java +++ b/src/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java @@ -236,7 +236,7 @@ public class ItemDescriptionFragment extends Fragment { * value is inserted directly into the CSS String. */ private String applyWebviewStyle(String textColor, String data) { - final String WEBVIEW_STYLE = "%s"; + final String WEBVIEW_STYLE = "%s"; final int pageMargin = (int) TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_DIP, 8, getResources() .getDisplayMetrics());