Simplify osmo menu
This commit is contained in:
parent
0044056fdc
commit
24a440d2e1
2 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@
|
||||||
android:background="?attr/dashboard_button"
|
android:background="?attr/dashboard_button"
|
||||||
android:paddingLeft="4dp"
|
android:paddingLeft="4dp"
|
||||||
android:paddingRight="4dp"
|
android:paddingRight="4dp"
|
||||||
|
android:scaleType="centerInside"
|
||||||
android:src="@drawable/ic_action_gshare_dark" />
|
android:src="@drawable/ic_action_gshare_dark" />
|
||||||
|
|
||||||
<include
|
<include
|
||||||
|
|
|
@ -340,7 +340,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
|
||||||
if(service.isConnected()) {
|
if(service.isConnected()) {
|
||||||
header.findViewById(R.id.motd).setVisibility(View.VISIBLE);
|
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_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()) {
|
if (service.isLoggedIn()) {
|
||||||
getSupportActionBar().setTitle(app.getSettings().OSMO_USER_NAME.get());
|
getSupportActionBar().setTitle(app.getSettings().OSMO_USER_NAME.get());
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue