Fixed main menu layout
This commit is contained in:
parent
c538d2dc39
commit
276766e432
3 changed files with 7 additions and 7 deletions
|
@ -9,7 +9,7 @@
|
||||||
android:background="@color/color_white">
|
android:background="@color/color_white">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_marginLeft="7dip"
|
android:layout_marginLeft="14dip"
|
||||||
android:id="@+id/icon"
|
android:id="@+id/icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="12dip"
|
android:layout_marginLeft="12dip"
|
||||||
android:layout_marginTop="12dip"
|
android:layout_marginTop="11dip"
|
||||||
android:layout_marginBottom="12dip"
|
android:layout_marginBottom="11dip"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/layer_poi"
|
android:text="@string/layer_poi"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
android:layout_marginRight="5dip">
|
android:layout_marginRight="5dip">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_marginLeft="7dip"
|
android:layout_marginLeft="14dip"
|
||||||
android:id="@+id/icon"
|
android:id="@+id/icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="12dip"
|
android:layout_marginLeft="12dip"
|
||||||
android:layout_marginTop="12dip"
|
android:layout_marginTop="11dip"
|
||||||
android:layout_marginBottom="12dip"
|
android:layout_marginBottom="11dip"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="@string/layer_poi"
|
android:text="@string/layer_poi"
|
||||||
style="@style/ListText"
|
style="@style/ListText"
|
||||||
|
|
|
@ -856,7 +856,7 @@ public class MapActivityActions implements DialogProvider {
|
||||||
}
|
}
|
||||||
}).reg();
|
}).reg();
|
||||||
|
|
||||||
optionsMenuHelper.item(R.string.layer_map_appearance).icons(R.drawable.ic_action_settings_dark, R.drawable.ic_action_settings_light)
|
optionsMenuHelper.item(R.string.layer_map_appearance).icons(R.drawable.ic_configure_screen_dark, R.drawable.ic_configure_screen_light)
|
||||||
.listen(new OnContextMenuClick() {
|
.listen(new OnContextMenuClick() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onContextMenuClick(ArrayAdapter<?> adapter, int itemId, int pos, boolean isChecked) {
|
public boolean onContextMenuClick(ArrayAdapter<?> adapter, int itemId, int pos, boolean isChecked) {
|
||||||
|
|
Loading…
Reference in a new issue