From 864f7cb59536007e8a6115e6f572910e36996dfa Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Thu, 4 Jul 2019 23:29:00 +0200 Subject: [PATCH] Don't use apk/res-auto namespace. --- myTracks/build.gradle | 4 +-- .../src/main/res/menu/list_context_menu.xml | 13 +++++---- myTracks/src/main/res/menu/marker_detail.xml | 27 +++++++++---------- myTracks/src/main/res/menu/marker_list.xml | 9 +++---- myTracks/src/main/res/menu/search_list.xml | 7 +++-- myTracks/src/main/res/menu/track_detail.xml | 9 +++---- myTracks/src/main/res/menu/track_list.xml | 6 ++--- myTracks/src/main/res/xml/sensor_settings.xml | 4 --- 8 files changed, 35 insertions(+), 44 deletions(-) diff --git a/myTracks/build.gradle b/myTracks/build.gradle index ff84b4e17..8b958f264 100644 --- a/myTracks/build.gradle +++ b/myTracks/build.gradle @@ -24,6 +24,6 @@ dependencies { implementation project(':myTracksLib') implementation 'com.google.android.gms:play-services-location:17.0.0' - implementation 'com.google.android.gms:play-services:12.0.1' - implementation 'com.google.android.gms:play-services-auth:17.0.0' + //implementation 'com.google.android.gms:play-services:12.0.1' + //implementation 'com.google.android.gms:play-services-auth:17.0.0' } diff --git a/myTracks/src/main/res/menu/list_context_menu.xml b/myTracks/src/main/res/menu/list_context_menu.xml index a6870876a..5ec793768 100644 --- a/myTracks/src/main/res/menu/list_context_menu.xml +++ b/myTracks/src/main/res/menu/list_context_menu.xml @@ -13,31 +13,30 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - + + android:showAsAction="ifRoom" /> + android:showAsAction="ifRoom" /> + android:showAsAction="ifRoom" /> + android:showAsAction="ifRoom" /> + android:showAsAction="ifRoom" /> \ No newline at end of file diff --git a/myTracks/src/main/res/menu/marker_detail.xml b/myTracks/src/main/res/menu/marker_detail.xml index 9ff2c041c..98b58ebc7 100644 --- a/myTracks/src/main/res/menu/marker_detail.xml +++ b/myTracks/src/main/res/menu/marker_detail.xml @@ -13,26 +13,25 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - + + android:icon="@drawable/ic_menu_show_on_map" + android:showAsAction="ifRoom" + android:title="@string/menu_show_on_map" /> + android:icon="@drawable/ic_menu_edit" + android:showAsAction="ifRoom" + android:title="@string/menu_edit" /> + android:icon="@drawable/ic_menu_delete" + android:showAsAction="ifRoom" + android:title="@string/menu_delete" /> + android:icon="@drawable/ic_menu_view_photo" + android:showAsAction="ifRoom" + android:title="@string/menu_view_photo" /> \ No newline at end of file diff --git a/myTracks/src/main/res/menu/marker_list.xml b/myTracks/src/main/res/menu/marker_list.xml index 4ad5aa767..4d87bddcd 100644 --- a/myTracks/src/main/res/menu/marker_list.xml +++ b/myTracks/src/main/res/menu/marker_list.xml @@ -13,17 +13,16 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - + + android:showAsAction="ifRoom|collapseActionView" + android:actionViewClass="androidx.appcompat.widget.SearchView" /> \ No newline at end of file diff --git a/myTracks/src/main/res/menu/search_list.xml b/myTracks/src/main/res/menu/search_list.xml index 4c7885607..bd67cbd31 100644 --- a/myTracks/src/main/res/menu/search_list.xml +++ b/myTracks/src/main/res/menu/search_list.xml @@ -13,12 +13,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - + + android:showAsAction="ifRoom|collapseActionView" + android:actionViewClass="androidx.appcompat.widget.SearchView" /> \ No newline at end of file diff --git a/myTracks/src/main/res/menu/track_detail.xml b/myTracks/src/main/res/menu/track_detail.xml index 31407e127..621510172 100644 --- a/myTracks/src/main/res/menu/track_detail.xml +++ b/myTracks/src/main/res/menu/track_detail.xml @@ -13,25 +13,24 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - + + android:actionViewClass="androidx.appcompat.widget.SearchView" + android:showAsAction="always" /> + android:showAsAction="ifRoom" /> -