diff --git a/OsmAnd/no_translate.xml b/OsmAnd/no_translate.xml index e2d1cb3537..9b568bc574 100644 --- a/OsmAnd/no_translate.xml +++ b/OsmAnd/no_translate.xml @@ -37,4 +37,5 @@ Display language Device language + OsMo diff --git a/OsmAnd/res/layout/dash_favorites_item.xml b/OsmAnd/res/layout/dash_favorites_item.xml index 6ee62d152f..5d2c4a796f 100644 --- a/OsmAnd/res/layout/dash_favorites_item.xml +++ b/OsmAnd/res/layout/dash_favorites_item.xml @@ -66,6 +66,7 @@ android:id="@+id/group_image" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="center_vertical" android:layout_marginLeft="4dp" android:src="@drawable/ic_small_group"/> diff --git a/OsmAnd/res/layout/osmo_group_item.xml b/OsmAnd/res/layout/osmo_group_item.xml index affeedfb62..41d809d566 100644 --- a/OsmAnd/res/layout/osmo_group_item.xml +++ b/OsmAnd/res/layout/osmo_group_item.xml @@ -1,5 +1,6 @@ - - - + + \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java index 72c34ed565..6a820e8c12 100644 --- a/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java +++ b/OsmAnd/src/net/osmand/plus/osmo/OsMoGroupsActivity.java @@ -139,7 +139,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements } } setContentView(R.layout.osmo_group_list); - getSupportActionBar().setTitle(R.string.osmo_activity); + getSupportActionBar().setTitle(R.string.osmo); setSupportProgressBarIndeterminateVisibility(false); setupHeader(); setupFooter(); @@ -1152,10 +1152,15 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements } else { label.setTypeface(Typeface.DEFAULT, Typeface.ITALIC); } - View v = row.findViewById(R.id.settings); + ImageView v = (ImageView) row.findViewById(R.id.settings); if(model.isMainGroup()) { v.setVisibility(View.GONE); } else { + if (getMyApplication().getSettings().isLightContent()){ + v.setImageResource(R.drawable.ic_action_settings_light); + } else { + v.setImageResource(R.drawable.ic_action_settings_dark); + } v.setVisibility(View.VISIBLE); v.setOnClickListener(new View.OnClickListener() {