Merge pull request #1374 from Edward17/patch-1

Small refactoring
This commit is contained in:
vshcherb 2015-06-21 17:18:57 +02:00
commit 69c20e5e52
3 changed files with 3 additions and 3 deletions

View file

@ -196,7 +196,7 @@
<replaceregexp file="res/values/no_translate.xml" match='"app_name"&gt;(.*)&lt;' replace='"app_name"&gt;${app.name}&lt;' byline="true" />
<replaceregexp file="res/layout/search_address.xml" match='xmlns:custom="http://schemas.android.com/apk/res/(.*)"'
replace='xmlns:custom="http://schemas.android.com/apk/res/${package.name}"' byline="true" />
<replaceregexp file="res/layout/navigate_point.xml" match='xmlns:custom="http://schemas.android.com/apk/res/(.*)"'
<replaceregexp file="res/layout/search_point.xml" match='xmlns:custom="http://schemas.android.com/apk/res/(.*)"'
replace='xmlns:custom="http://schemas.android.com/apk/res/${package.name}"' byline="true" />
</then>
</if>

View file

@ -59,7 +59,7 @@ public class NavigatePointFragment extends Fragment implements SearchActivityChi
private OsmandApplication app;
public View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, Bundle savedInstanceState) {
view = inflater.inflate(R.layout.navigate_point, container, false);
view = inflater.inflate(R.layout.search_point, container, false);
setHasOptionsMenu(true);
location = null;