Rename Remove destination to Finish navigation

This commit is contained in:
Alexey Kulish 2016-03-06 13:37:56 +03:00
parent 6d935f89ec
commit 6441cf22bb
4 changed files with 6 additions and 5 deletions

View file

@ -120,12 +120,12 @@
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp" android:paddingRight="8dp"
android:drawableLeft="@drawable/ic_action_delete_dark" android:drawableLeft="@drawable/ic_action_done"
android:drawablePadding="12dp" android:drawablePadding="12dp"
android:gravity="left|center_vertical" android:gravity="left|center_vertical"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:text="@string/delete_target_point"/> android:text="@string/finish_navigation"/>
</LinearLayout> </LinearLayout>

View file

@ -120,12 +120,12 @@
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp" android:paddingRight="8dp"
android:drawableLeft="@drawable/ic_action_delete_dark" android:drawableLeft="@drawable/ic_action_done"
android:drawablePadding="12dp" android:drawablePadding="12dp"
android:gravity="left|center_vertical" android:gravity="left|center_vertical"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
style="@style/Widget.AppCompat.Button.Borderless" style="@style/Widget.AppCompat.Button.Borderless"
android:text="@string/delete_target_point"/> android:text="@string/finish_navigation"/>
</LinearLayout> </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). 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 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="finish_navigation">Finish navigation</string>
<string name="avoid_road">Avoid road</string> <string name="avoid_road">Avoid road</string>
<string name="storage_directory_readonly_desc">Currently selected Data storage folder is readonly. The storage folder was temporarily switched to Internal memory. Please choose valid storage directory.</string> <string name="storage_directory_readonly_desc">Currently selected Data storage folder is readonly. The storage folder was temporarily switched to Internal memory. Please choose valid storage directory.</string>
<string name="storage_directory_shared">Shared memory</string> <string name="storage_directory_shared">Shared memory</string>

View file

@ -59,7 +59,7 @@ public class DestinationReachedMenuFragment extends Fragment {
Button removeDestButton = (Button) view.findViewById(R.id.removeDestButton); Button removeDestButton = (Button) view.findViewById(R.id.removeDestButton);
removeDestButton.setCompoundDrawablesWithIntrinsicBounds( removeDestButton.setCompoundDrawablesWithIntrinsicBounds(
iconsCache.getContentIcon(R.drawable.ic_action_delete_dark), null, null, null); iconsCache.getContentIcon(R.drawable.ic_action_done), null, null, null);
removeDestButton.setOnClickListener(new View.OnClickListener() { removeDestButton.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {