Simplify osmo menu

This commit is contained in:
Victor Shcherb 2015-05-26 01:03:30 +02:00
parent 0044056fdc
commit 24a440d2e1
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@
android:background="?attr/dashboard_button"
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:scaleType="centerInside"
android:src="@drawable/ic_action_gshare_dark" />
<include

View file

@ -340,7 +340,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
if(service.isConnected()) {
header.findViewById(R.id.motd).setVisibility(View.VISIBLE);
header.findViewById(R.id.share_my_location_layout).setVisibility(View.VISIBLE);
header.findViewById(R.id.share_my_location).setVisibility(tracker.isEnabledTracker() ? View.VISIBLE : View.GONE);
header.findViewById(R.id.share_my_location).setVisibility(tracker.isEnabledTracker() ? View.VISIBLE : View.INVISIBLE);
if (service.isLoggedIn()) {
getSupportActionBar().setTitle(app.getSettings().OSMO_USER_NAME.get());
} else {