diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index d626cb1ef5..59a2d8b5d2 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -56,7 +56,7 @@ android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" - android:theme="@style/MwmTheme.Main"> + android:theme="@style/MwmTheme"> + android:label="@string/app_name"> @@ -168,8 +167,7 @@ + android:launchMode="singleTask"> @@ -202,7 +200,7 @@ android:name="com.mapswithme.maps.bookmarks.ChooseBookmarkCategoryActivity" android:configChanges="orientation|screenLayout|screenSize" android:label="@string/bookmark_sets" - android:theme="@style/MwmTheme.Main.Light" + android:theme="@style/MwmTheme.Light" android:windowSoftInputMode="stateUnspecified|adjustResize"> diff --git a/android/MapsWithMeTest/AndroidManifest.xml b/android/MapsWithMeTest/AndroidManifest.xml index d863b8ea57..aa7d471c09 100644 --- a/android/MapsWithMeTest/AndroidManifest.xml +++ b/android/MapsWithMeTest/AndroidManifest.xml @@ -160,7 +160,7 @@ android:label="@string/search_map" android:noHistory="true" android:screenOrientation="behind" - android:theme="@style/MwmTheme.Main.Search" + android:theme="@style/MwmTheme.Search" android:windowSoftInputMode="stateVisible|adjustResize" > + android:theme="@style/MwmWidget.Toolbar"> diff --git a/android/res/layout-sw600dp/fragment_search.xml b/android/res/layout-sw600dp/fragment_search.xml index 849f51cb16..83644dd780 100644 --- a/android/res/layout-sw600dp/fragment_search.xml +++ b/android/res/layout-sw600dp/fragment_search.xml @@ -11,7 +11,7 @@ android:layout_height="?attr/actionBarSize"/> diff --git a/android/res/layout-sw600dp/map_bottom_vertical_toolbar.xml b/android/res/layout-sw600dp/map_bottom_vertical_toolbar.xml index 13617b4e40..141bf4568d 100644 --- a/android/res/layout-sw600dp/map_bottom_vertical_toolbar.xml +++ b/android/res/layout-sw600dp/map_bottom_vertical_toolbar.xml @@ -7,12 +7,10 @@ + android:theme="@style/MwmWidget.Toolbar"/> - + + android:theme="@style/MwmWidget.Toolbar" + android:visibility="gone"/> \ No newline at end of file diff --git a/android/res/layout/activity_fragment_and_toolbar.xml b/android/res/layout/activity_fragment_and_toolbar.xml new file mode 100644 index 0000000000..5df16b93e9 --- /dev/null +++ b/android/res/layout/activity_fragment_and_toolbar.xml @@ -0,0 +1,16 @@ + + + + + + + + \ No newline at end of file diff --git a/android/res/layout/fragment_downloader.xml b/android/res/layout/fragment_downloader.xml index 44db450b5d..e78af267a5 100644 --- a/android/res/layout/fragment_downloader.xml +++ b/android/res/layout/fragment_downloader.xml @@ -14,7 +14,7 @@ android:id="@+id/tv__update_all" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_gravity="center_vertical|right" + android:layout_gravity="right" android:gravity="center_vertical" android:paddingRight="@dimen/margin_small" android:text="@string/downloader_update_all" @@ -23,8 +23,16 @@ android:textSize="18sp"/> - + android:layout_height="match_parent"> + + + + + diff --git a/android/res/layout/fragment_search.xml b/android/res/layout/fragment_search.xml index 79f58a14db..030acea9bb 100644 --- a/android/res/layout/fragment_search.xml +++ b/android/res/layout/fragment_search.xml @@ -11,10 +11,17 @@ android:layout_width="match_parent" android:layout_height="wrap_content"/> - + android:layout_height="match_parent"> + + + + \ No newline at end of file diff --git a/android/res/layout/toolbar_default.xml b/android/res/layout/toolbar_default.xml new file mode 100644 index 0000000000..6da90bf2bf --- /dev/null +++ b/android/res/layout/toolbar_default.xml @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/android/res/menu/bookmark_categories_context_menu.xml b/android/res/menu/bookmark_categories_context_menu.xml index d19e57984e..fbd9e1b6e5 100644 --- a/android/res/menu/bookmark_categories_context_menu.xml +++ b/android/res/menu/bookmark_categories_context_menu.xml @@ -1,4 +1,5 @@ - - - + + \ No newline at end of file diff --git a/android/res/menu/menu_bookmarks.xml b/android/res/menu/menu_bookmarks.xml new file mode 100644 index 0000000000..1a877b763f --- /dev/null +++ b/android/res/menu/menu_bookmarks.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/android/res/values-sw600dp/styles.xml b/android/res/values-sw600dp/styles.xml index c163f61ab7..29fe005053 100644 --- a/android/res/values-sw600dp/styles.xml +++ b/android/res/values-sw600dp/styles.xml @@ -11,7 +11,8 @@ \ No newline at end of file diff --git a/android/res/values-v11/styles.xml b/android/res/values-v11/styles.xml index d645165218..2c728b2670 100644 --- a/android/res/values-v11/styles.xml +++ b/android/res/values-v11/styles.xml @@ -1,29 +1,5 @@ - - - - - - - + + - - - - - - - + + + +