Change images order and string

This commit is contained in:
Alexander Sytnyk 2017-11-10 18:35:01 +02:00
parent 04cafd42e6
commit c08d5e086d
5 changed files with 8 additions and 7 deletions

View file

@ -33,7 +33,7 @@
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:text="@string/shared_string_settings"
android:text="@string/appearance_on_the_map"
android:textColor="@color/color_white"
android:textSize="@dimen/dialog_header_text_size"
osmand:typeface="@string/font_roboto_medium"/>

View file

@ -29,7 +29,7 @@
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:text="@string/shared_string_settings"
android:text="@string/appearance_on_the_map"
android:textColor="@color/color_white"
android:textSize="@dimen/dialog_header_text_size"
osmand:typeface="@string/font_roboto_medium"/>

View file

@ -87,7 +87,7 @@
android:layout_weight="1"
android:ellipsize="end"
android:maxLines="1"
android:text="@string/show_direction"
android:text="@string/appearance_on_the_map"
android:textAppearance="@style/TextAppearance.ListItemTitle"/>
</LinearLayout>

View file

@ -9,6 +9,7 @@
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
-->
<string name="appearance_on_the_map">Appearance on the map</string>
<string name="add_track_to_markers_descr">Select track waypoints of which OsmAnd will add to markers</string>
<string name="add_favourites_group_to_markers_descr">Select which favourite group you want to add to markers</string>
<string name="track_waypoints">Track waypoints</string>

View file

@ -218,15 +218,15 @@ public class DirectionIndicationDialogFragment extends BaseOsmAndDialogFragment
LinkedList<Drawable> imgList = new LinkedList<>();
imgList.add(getDeviceImg());
if (settings.SHOW_LINES_TO_FIRST_MARKERS.get()) {
imgList.add(getGuideLineTwoImg());
imgList.add(getGuideLineOneImg());
if (count == 2) {
imgList.add(getGuideLineOneImg());
imgList.add(getGuideLineTwoImg());
}
}
if (settings.SHOW_ARROWS_TO_FIRST_MARKERS.get()) {
imgList.add(getArrowTwoImg());
imgList.add(getArrowOneImg());
if (count == 2) {
imgList.add(getArrowOneImg());
imgList.add(getArrowTwoImg());
}
}
if (settings.MARKERS_DISTANCE_INDICATION_ENABLED.get()) {