diff --git a/OsmAnd/res/layout/fragment_explore_tab.xml b/OsmAnd/res/layout/fragment_explore_tab.xml new file mode 100644 index 0000000000..3ca1310a18 --- /dev/null +++ b/OsmAnd/res/layout/fragment_explore_tab.xml @@ -0,0 +1,14 @@ + + + + + + diff --git a/OsmAnd/res/layout/fragment_saved_articles_tab.xml b/OsmAnd/res/layout/fragment_saved_articles_tab.xml new file mode 100644 index 0000000000..0bd472a5a8 --- /dev/null +++ b/OsmAnd/res/layout/fragment_saved_articles_tab.xml @@ -0,0 +1,14 @@ + + + + + + diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreTabFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreTabFragment.java index 4b00b04a73..907519efac 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreTabFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/ExploreTabFragment.java @@ -1,7 +1,20 @@ package net.osmand.plus.wikivoyage.explore; +import android.os.Bundle; +import android.support.annotation.NonNull; +import android.support.annotation.Nullable; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import net.osmand.plus.R; import net.osmand.plus.base.BaseOsmAndFragment; public class ExploreTabFragment extends BaseOsmAndFragment { + @Nullable + @Override + public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { + return inflater.inflate(R.layout.fragment_explore_tab, container, false); + } } diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java index 8b9f7c36c7..ad705a4219 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/explore/SavedArticlesTabFragment.java @@ -1,7 +1,20 @@ package net.osmand.plus.wikivoyage.explore; +import android.os.Bundle; +import android.support.annotation.NonNull; +import android.support.annotation.Nullable; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import net.osmand.plus.R; import net.osmand.plus.base.BaseOsmAndFragment; public class SavedArticlesTabFragment extends BaseOsmAndFragment { + @Nullable + @Override + public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { + return inflater.inflate(R.layout.fragment_saved_articles_tab, container, false); + } }