diff --git a/OsmAnd-java/src/net/osmand/IndexConstants.java b/OsmAnd-java/src/net/osmand/IndexConstants.java index d6834bcf4d..a829bbc47f 100644 --- a/OsmAnd-java/src/net/osmand/IndexConstants.java +++ b/OsmAnd-java/src/net/osmand/IndexConstants.java @@ -52,6 +52,7 @@ public class IndexConstants { public static final String GPX_INDEX_DIR = "tracks/"; public static final String GPX_RECORDED_INDEX_DIR = GPX_INDEX_DIR + "rec/"; public static final String GPX_IMPORT_DIR = GPX_INDEX_DIR + "import/"; + public static final String TILES_INDEX_DIR= "tiles/"; public static final String LIVE_INDEX_DIR= "live/"; public static final String TOURS_INDEX_DIR= "tours/"; @@ -59,6 +60,7 @@ public class IndexConstants { public static final String ROADS_INDEX_DIR = "roads/"; //$NON-NLS-1$ public static final String WIKI_INDEX_DIR = "wiki/"; //$NON-NLS-1$ public static final String WIKIVOYAGE_INDEX_DIR = "travel/"; + public static final String GPX_TRAVEL_DIR = GPX_INDEX_DIR + WIKIVOYAGE_INDEX_DIR; public static final String AV_INDEX_DIR = "avnotes/"; //$NON-NLS-1$ public static final String FONT_INDEX_DIR = "fonts/"; //$NON-NLS-1$ public static final String VOICE_INDEX_DIR = "voice/"; //$NON-NLS-1$ diff --git a/OsmAnd/assets/article_style.css b/OsmAnd/assets/article_style.css index f7edecd08c..0f1fe9df41 100755 --- a/OsmAnd/assets/article_style.css +++ b/OsmAnd/assets/article_style.css @@ -33,11 +33,10 @@ h1 { font-size: 2em; color: #212121; font-family: serif; - font-weight: bold; letter-spacing: 0.03em; word-wrap: break-word; padding-top: 5%; - + font-weight: normal; } h2 { @@ -47,6 +46,7 @@ h2 { word-wrap: break-word; margin-top: 3%; margin-bottom: 3%; + font-weight: normal; } h2.active:after { @@ -75,6 +75,7 @@ h3 { font-size: 1.2em; font-family: sans-serif; word-wrap: break-word; + font-weight: normal; margin-top: 3%; margin-bottom: 3%; } diff --git a/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml b/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml index 3d7f1245da..23fbc9ea2b 100644 --- a/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml +++ b/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml @@ -87,7 +87,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="center_vertical" - android:layout_weight="0.5" + android:layout_weight="0.33" android:background="?attr/selectableItemBackground" android:drawablePadding="@dimen/bottom_sheet_content_padding_small" android:ellipsize="end" @@ -105,13 +105,38 @@ tools:drawableLeft="@drawable/ic_action_list_header" tools:drawableTint="?attr/wikivoyage_active_color" tools:ignore="UnusedAttribute" /> + + +