Updated slide menu
This commit is contained in:
parent
12b6fce65c
commit
d27d299271
2 changed files with 7 additions and 3 deletions
|
@ -14,11 +14,10 @@
|
|||
|
||||
</FrameLayout>
|
||||
<ListView android:id="@+id/left_drawer"
|
||||
android:layout_width="240dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@drawable/divider"
|
||||
android:dividerHeight="1px"
|
||||
android:background="@color/color_white"/>
|
||||
android:dividerHeight="1px"/>
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
|
|
@ -738,6 +738,11 @@ public class MapActivityActions implements DialogProvider {
|
|||
}
|
||||
mDrawerList.setAdapter(listAdapter);
|
||||
|
||||
if (getMyApplication().getSettings().isLightContentMenu()){
|
||||
mDrawerList.setBackgroundColor(mapActivity.getResources().getColor(R.color.color_white));
|
||||
} else {
|
||||
mDrawerList.setBackgroundColor(mapActivity.getResources().getColor(R.color.color_black));
|
||||
}
|
||||
mDrawerList.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue