Browse Source

Fixes for lint

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 years ago
parent
commit
a911c98f40
52 changed files with 56 additions and 253 deletions
  1. 2 0
      app/build.gradle
  2. 1 2
      app/src/main/java/com/nextcloud/talk/controllers/ContactsController.java
  3. 0 7
      app/src/main/res/drawable/ic_account_plus_grey600_24dp.xml
  4. 0 25
      app/src/main/res/drawable/ic_chat_white_24dp.xml
  5. 0 26
      app/src/main/res/drawable/ic_lock_black_24px.xml
  6. 0 25
      app/src/main/res/drawable/ic_notifications_black_24dp.xml
  7. 0 25
      app/src/main/res/drawable/ic_notifications_white_24dp.xml
  8. 0 29
      app/src/main/res/drawable/ic_person_black_24dp.xml
  9. 0 26
      app/src/main/res/drawable/ic_public_white_24px.xml
  10. 0 27
      app/src/main/res/drawable/ic_settings_black_24dp.xml
  11. 4 2
      app/src/main/res/drawable/ic_settings_white_24dp.xml
  12. 12 5
      app/src/main/res/menu/menu_contacts.xml
  13. 1 6
      app/src/main/res/menu/menu_conversation_plus_filter.xml
  14. 1 1
      app/src/main/res/values-b+en+001/strings.xml
  15. 1 1
      app/src/main/res/values-cs-rCZ/strings.xml
  16. 1 1
      app/src/main/res/values-de/strings.xml
  17. 1 1
      app/src/main/res/values-el/strings.xml
  18. 1 1
      app/src/main/res/values-es-rCL/strings.xml
  19. 1 1
      app/src/main/res/values-es-rCO/strings.xml
  20. 1 1
      app/src/main/res/values-es-rCR/strings.xml
  21. 1 1
      app/src/main/res/values-es-rDO/strings.xml
  22. 1 1
      app/src/main/res/values-es-rEC/strings.xml
  23. 1 1
      app/src/main/res/values-es-rGT/strings.xml
  24. 1 1
      app/src/main/res/values-es-rMX/strings.xml
  25. 1 1
      app/src/main/res/values-es-rSV/strings.xml
  26. 1 1
      app/src/main/res/values-es/strings.xml
  27. 1 1
      app/src/main/res/values-fi-rFI/strings.xml
  28. 1 1
      app/src/main/res/values-fr/strings.xml
  29. 1 1
      app/src/main/res/values-hu-rHU/strings.xml
  30. 1 1
      app/src/main/res/values-is/strings.xml
  31. 1 1
      app/src/main/res/values-it/strings.xml
  32. 1 1
      app/src/main/res/values-iw/strings.xml
  33. 1 1
      app/src/main/res/values-ja-rJP/strings.xml
  34. 1 1
      app/src/main/res/values-ka-rGE/strings.xml
  35. 1 1
      app/src/main/res/values-nb-rNO/strings.xml
  36. 1 1
      app/src/main/res/values-nl/strings.xml
  37. 1 1
      app/src/main/res/values-pl/strings.xml
  38. 1 1
      app/src/main/res/values-pt-rBR/strings.xml
  39. 1 1
      app/src/main/res/values-pt-rPT/strings.xml
  40. 1 1
      app/src/main/res/values-ru/strings.xml
  41. 1 1
      app/src/main/res/values-sk-rSK/strings.xml
  42. 1 1
      app/src/main/res/values-sl/strings.xml
  43. 1 1
      app/src/main/res/values-sq/strings.xml
  44. 1 1
      app/src/main/res/values-sr/strings.xml
  45. 1 1
      app/src/main/res/values-sv/strings.xml
  46. 0 1
      app/src/main/res/values-sw600dp/dimens.xml
  47. 1 1
      app/src/main/res/values-tr/strings.xml
  48. 1 1
      app/src/main/res/values-vi/strings.xml
  49. 1 1
      app/src/main/res/values-zh-rCN/strings.xml
  50. 0 1
      app/src/main/res/values/colors.xml
  51. 0 1
      app/src/main/res/values/setup.xml
  52. 1 10
      app/src/main/res/values/strings.xml

+ 2 - 0
app/build.gradle

@@ -37,6 +37,8 @@ android {
         lintOptions {
             disable 'InvalidPackage'
             disable 'MissingTranslation'
+            disable "ValidController",
+                    "ValidControllerChangeHandler"
         }
     }
 

+ 1 - 2
app/src/main/java/com/nextcloud/talk/controllers/ContactsController.java

@@ -371,10 +371,9 @@ public class ContactsController extends BaseController implements SearchView.OnQ
     @Override
     public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
         super.onCreateOptionsMenu(menu, inflater);
-        inflater.inflate(R.menu.menu_conversation_plus_filter, menu);
+        inflater.inflate(R.menu.menu_contacts, menu);
         searchItem = menu.findItem(R.id.action_search);
         doneMenuItem = menu.findItem(R.id.contacts_selection_done);
-        menu.findItem(R.id.action_settings).setVisible(false);
 
         initSearchView();
     }

+ 0 - 7
app/src/main/res/drawable/ic_account_plus_grey600_24dp.xml

@@ -1,7 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:height="24dp"
-    android:width="24dp"
-    android:viewportWidth="24"
-    android:viewportHeight="24">
-    <path android:fillColor="#757575" android:pathData="M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M6,10V7H4V10H1V12H4V15H6V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z" />
-</vector>

+ 0 - 25
app/src/main/res/drawable/ic_chat_white_24dp.xml

@@ -1,25 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector android:autoMirrored="true" android:height="24dp"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FFFFFF" android:pathData="M20,2L4,2c-1.1,0 -1.99,0.9 -1.99,2L2,22l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM6,9h12v2L6,11L6,9zM14,14L6,14v-2h8v2zM18,8L6,8L6,6h12v2z"/>
-</vector>

+ 0 - 26
app/src/main/res/drawable/ic_lock_black_24px.xml

@@ -1,26 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector android:autoMirrored="true" android:height="24dp"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#000000"
-          android:pathData="M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z"/>
-</vector>

+ 0 - 25
app/src/main/res/drawable/ic_notifications_black_24dp.xml

@@ -1,25 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017 Mario Danic <mario@lovelyhq.com>
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector android:autoMirrored="true" android:height="24dp"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FF000000" android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"/>
-</vector>

+ 0 - 25
app/src/main/res/drawable/ic_notifications_white_24dp.xml

@@ -1,25 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector android:autoMirrored="true" android:height="24dp"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FFFFFF" android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"/>
-</vector>

+ 0 - 29
app/src/main/res/drawable/ic_person_black_24dp.xml

@@ -1,29 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017 Mario Danic
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-        android:width="24dp"
-        android:height="24dp"
-        android:viewportWidth="24.0"
-        android:viewportHeight="24.0">
-    <path
-        android:fillColor="#FF000000"
-        android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"/>
-</vector>

+ 0 - 26
app/src/main/res/drawable/ic_public_white_24px.xml

@@ -1,26 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector android:autoMirrored="true" android:height="24dp"
-    android:viewportHeight="16.0" android:viewportWidth="16.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FFFFFFFF"
-          android:pathData="m9.236,2.166 l-3.182,3.184c-0.707,0.707 -1.038,1.618 -0.988,2.457 0.05,0.839 0.433,1.584 0.988,2.139l1.412,-1.416c-0.567,-0.567 -0.544,-1.219 0.002,-1.766l3.181,-3.182c0.525,-0.525 1.251,-0.523 1.772,-0.002 0.482,0.556 0.527,1.238 -0.004,1.77l-0.82,0.82c0.555,0.785 0.645,1.366 0.593,2.234l1.641,-1.641c1.237,-1.237 1.237,-3.365 0,-4.602 -1.236,-1.236 -3.342,-1.211 -4.596,0.004zM9.943,6.051 L8.529,7.469c0,0 0.003,0 0.004,0 0.55,0.55 0.507,1.258 -0.004,1.77l-3.182,3.182c-0.696,0.592 -1.298,0.471 -1.77,0 -0.626,-0.626 -0.5,-1.268 0,-1.768l0.85,-0.847c-0.556,-0.784 -0.648,-1.365 -0.598,-2.232l-1.666,1.666c-1.239,1.239 -1.236,3.36 0,4.596 1.235,1.235 3.362,1.236 4.598,0l3.182,-3.182c0.709,-0.708 1.04,-1.618 0.991,-2.459 -0.048,-0.84 -0.432,-1.586 -0.989,-2.141z"/>
-</vector>

+ 0 - 27
app/src/main/res/drawable/ic_settings_black_24dp.xml

@@ -1,27 +0,0 @@
-<!--
-  ~ Nextcloud Talk application
-  ~
-  ~ @author Mario Danic
-  ~ Copyright (C) 2017 Mario Danic
-  ~
-  ~ This program is free software: you can redistribute it and/or modify
-  ~ it under the terms of the GNU General Public License as published by
-  ~ the Free Software Foundation, either version 3 of the License, or
-  ~ at your option) any later version.
-  ~
-  ~ This program is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  ~ GNU General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU General Public License
-  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  -->
-
-<vector xmlns:tools="http://schemas.android.com/tools"
-    android:autoMirrored="true" android:height="24dp"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FF000000" android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64 0.07,-0.98s-0.03,-0.66 -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3 -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73 -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2 14,2h-4c-0.25,0 -0.46,0.18 -0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 -1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 -0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 -0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 -0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 0.49,0.42h4c0.25,0 0.46,-0.18 0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 1.69,-0.98l2.49,1c0.23,0.09 0.49,0 0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 -0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z"
-        tools:ignore="VectorPath" />
-</vector>

+ 4 - 2
app/src/main/res/drawable/ic_settings_white_24dp.xml

@@ -18,8 +18,10 @@
   ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
   -->
 
-<vector android:autoMirrored="true" android:height="24dp"
+<vector xmlns:tools="http://schemas.android.com/tools"
+    android:autoMirrored="true" android:height="24dp"
     android:viewportHeight="24.0" android:viewportWidth="24.0"
     android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FFFFFF" android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64 0.07,-0.98s-0.03,-0.66 -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3 -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73 -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2 14,2h-4c-0.25,0 -0.46,0.18 -0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 -1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 -0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 -0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 -0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 0.49,0.42h4c0.25,0 0.46,-0.18 0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 1.69,-0.98l2.49,1c0.23,0.09 0.49,0 0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 -0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z"/>
+    <path android:fillColor="#FFFFFF" android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64 0.07,-0.98s-0.03,-0.66 -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3 -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73 -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2 14,2h-4c-0.25,0 -0.46,0.18 -0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 -1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 -0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 -0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 -0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 0.49,0.42h4c0.25,0 0.46,-0.18 0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 1.69,-0.98l2.49,1c0.23,0.09 0.49,0 0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 -0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z"
+        tools:ignore="VectorPath" />
 </vector>

+ 12 - 5
app/src/main/res/menu/menu_contacts.xml

@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
   ~ Nextcloud Talk application
   ~
   ~ @author Mario Danic
@@ -20,11 +19,19 @@
   -->
 
 <menu xmlns:android="http://schemas.android.com/apk/res/android"
-      xmlns:app="http://schemas.android.com/apk/res-auto">
+    xmlns:app="http://schemas.android.com/apk/res-auto">
+
+    <item
+        android:id="@+id/action_search"
+        android:animateLayoutChanges="true"
+        android:icon="@drawable/ic_search_white_24dp"
+        android:title="@string/nc_search"
+        app:actionViewClass="androidx.appcompat.widget.SearchView"
+        app:showAsAction="collapseActionView|always" />
 
     <item
         android:id="@+id/contacts_selection_done"
         android:title="@string/nc_contacts_done"
-        app:showAsAction="always"
-        android:visible="false"/>
+        android:visible="false"
+        app:showAsAction="always" />
 </menu>

+ 1 - 6
app/src/main/res/menu/menu_conversation_plus_filter.xml

@@ -32,14 +32,9 @@
         />
 
 	<item android:id="@+id/action_settings"
-		android:title="@string/nc_bottom_navigation_title_settings"
+		android:title="@string/nc_settings"
 		android:icon="@drawable/ic_settings_white_24dp"
 		app:showAsAction="ifRoom"/>
 
-	<item
-		android:id="@+id/contacts_selection_done"
-		android:title="@string/nc_contacts_done"
-		app:showAsAction="always"
-		android:visible="false"/>
 
 </menu>

+ 1 - 1
app/src/main/res/values-b+en+001/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversations</string>
     <string name="nc_bottom_navigation_title_contacts">Contacts</string>
-    <string name="nc_bottom_navigation_title_settings">Settings</string>
+    <string name="nc_settings">Settings</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Server address</string>

+ 1 - 1
app/src/main/res/values-cs-rCZ/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Konverzace</string>
     <string name="nc_bottom_navigation_title_contacts">Kontakty</string>
-    <string name="nc_bottom_navigation_title_settings">Nastavení</string>
+    <string name="nc_settings">Nastavení</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Adresa serveru</string>

+ 1 - 1
app/src/main/res/values-de/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Unterhaltungen</string>
     <string name="nc_bottom_navigation_title_contacts">Kontakte</string>
-    <string name="nc_bottom_navigation_title_settings">Einstellungen</string>
+    <string name="nc_settings">Einstellungen</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Serveradresse</string>

+ 1 - 1
app/src/main/res/values-el/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Συζητήσεις</string>
     <string name="nc_bottom_navigation_title_contacts">Επαφές</string>
-    <string name="nc_bottom_navigation_title_settings">Ρυθμίσεις</string>
+    <string name="nc_settings">Ρυθμίσεις</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Διεύθυνση διακομιστή</string>

+ 1 - 1
app/src/main/res/values-es-rCL/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rCO/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rCR/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rDO/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rEC/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rGT/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rMX/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es-rSV/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuraciones</string>
+    <string name="nc_settings">Configuraciones</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-es/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversaciones</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Configuración</string>
+    <string name="nc_settings">Configuración</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Dirección del servidor</string>

+ 1 - 1
app/src/main/res/values-fi-rFI/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Keskustelut</string>
     <string name="nc_bottom_navigation_title_contacts">Yhteystiedot</string>
-    <string name="nc_bottom_navigation_title_settings">Asetukset</string>
+    <string name="nc_settings">Asetukset</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Palvelimen osoite</string>

+ 1 - 1
app/src/main/res/values-fr/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversations</string>
     <string name="nc_bottom_navigation_title_contacts">Contacts</string>
-    <string name="nc_bottom_navigation_title_settings">Paramètres</string>
+    <string name="nc_settings">Paramètres</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Adresse du serveur</string>

+ 1 - 1
app/src/main/res/values-hu-rHU/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Beszélgetések</string>
     <string name="nc_bottom_navigation_title_contacts">Kapcsolatok</string>
-    <string name="nc_bottom_navigation_title_settings">Beállítások</string>
+    <string name="nc_settings">Beállítások</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">szervercím</string>

+ 1 - 1
app/src/main/res/values-is/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Samtöl</string>
     <string name="nc_bottom_navigation_title_contacts">Tengiliðir</string>
-    <string name="nc_bottom_navigation_title_settings">Stillingar</string>
+    <string name="nc_settings">Stillingar</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Vistfang þjóns</string>

+ 1 - 1
app/src/main/res/values-it/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversazioni</string>
     <string name="nc_bottom_navigation_title_contacts">Contatti</string>
-    <string name="nc_bottom_navigation_title_settings">Impostazioni</string>
+    <string name="nc_settings">Impostazioni</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Indirizzo del server</string>

+ 1 - 1
app/src/main/res/values-iw/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">דיונים</string>
     <string name="nc_bottom_navigation_title_contacts">אנשי קשר</string>
-    <string name="nc_bottom_navigation_title_settings">הגדרות</string>
+    <string name="nc_settings">הגדרות</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">כתובת השרת</string>

+ 1 - 1
app/src/main/res/values-ja-rJP/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">会話</string>
     <string name="nc_bottom_navigation_title_contacts">連絡先</string>
-    <string name="nc_bottom_navigation_title_settings">設定</string>
+    <string name="nc_settings">設定</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">サーバーアドレス</string>

+ 1 - 1
app/src/main/res/values-ka-rGE/strings.xml

@@ -20,7 +20,7 @@
 
 <resources>
     <string name="nc_bottom_navigation_title_contacts">კონტაქტები</string>
-    <string name="nc_bottom_navigation_title_settings">პარამეტრები</string>
+    <string name="nc_settings">პარამეტრები</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">სერვერის მისამართი</string>

+ 1 - 1
app/src/main/res/values-nb-rNO/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Samtaler</string>
     <string name="nc_bottom_navigation_title_contacts">Kontakter</string>
-    <string name="nc_bottom_navigation_title_settings">Innstillinger</string>
+    <string name="nc_settings">Innstillinger</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Tjeneradresse</string>

+ 1 - 1
app/src/main/res/values-nl/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Gesprekken</string>
     <string name="nc_bottom_navigation_title_contacts">Contactpersonen</string>
-    <string name="nc_bottom_navigation_title_settings">Instellingen</string>
+    <string name="nc_settings">Instellingen</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Serveradres</string>

+ 1 - 1
app/src/main/res/values-pl/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Rozmowy</string>
     <string name="nc_bottom_navigation_title_contacts">Kontakty</string>
-    <string name="nc_bottom_navigation_title_settings">Ustawienia</string>
+    <string name="nc_settings">Ustawienia</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Adres serwera</string>

+ 1 - 1
app/src/main/res/values-pt-rBR/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversas</string>
     <string name="nc_bottom_navigation_title_contacts">Contatos</string>
-    <string name="nc_bottom_navigation_title_settings">Configurações</string>
+    <string name="nc_settings">Configurações</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Endereço do servidor</string>

+ 1 - 1
app/src/main/res/values-pt-rPT/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Conversações</string>
     <string name="nc_bottom_navigation_title_contacts">Contactos</string>
-    <string name="nc_bottom_navigation_title_settings">Definições</string>
+    <string name="nc_settings">Definições</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Endereço do servidor</string>

+ 1 - 1
app/src/main/res/values-ru/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Беседы</string>
     <string name="nc_bottom_navigation_title_contacts">Контакты</string>
-    <string name="nc_bottom_navigation_title_settings">Параметры</string>
+    <string name="nc_settings">Параметры</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Адрес сервера</string>

+ 1 - 1
app/src/main/res/values-sk-rSK/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Rozhovory</string>
     <string name="nc_bottom_navigation_title_contacts">Kontakty</string>
-    <string name="nc_bottom_navigation_title_settings">Nastavenia</string>
+    <string name="nc_settings">Nastavenia</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Adresa servera</string>

+ 1 - 1
app/src/main/res/values-sl/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Pogovori</string>
     <string name="nc_bottom_navigation_title_contacts">Stiki</string>
-    <string name="nc_bottom_navigation_title_settings">Nastavitve</string>
+    <string name="nc_settings">Nastavitve</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Naslov strežnika</string>

+ 1 - 1
app/src/main/res/values-sq/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Bisedat</string>
     <string name="nc_bottom_navigation_title_contacts">Kontaktet</string>
-    <string name="nc_bottom_navigation_title_settings">Rregullimet</string>
+    <string name="nc_settings">Rregullimet</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Adresa e serverit</string>

+ 1 - 1
app/src/main/res/values-sr/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Разговори</string>
     <string name="nc_bottom_navigation_title_contacts">Контакти</string>
-    <string name="nc_bottom_navigation_title_settings">Поставке</string>
+    <string name="nc_settings">Поставке</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Адреса сервера</string>

+ 1 - 1
app/src/main/res/values-sv/strings.xml

@@ -20,7 +20,7 @@
 
 <resources>
     <string name="nc_bottom_navigation_title_contacts">Kontakter</string>
-    <string name="nc_bottom_navigation_title_settings">Inställningar</string>
+    <string name="nc_settings">Inställningar</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Serveradress</string>

+ 0 - 1
app/src/main/res/values-sw600dp/dimens.xml

@@ -3,6 +3,5 @@
 
     <!-- Custom transition dimensions -->
     <dimen name="padding_normal">24dp</dimen>
-    <dimen name="touch_raise">9dp</dimen>
 
 </resources>

+ 1 - 1
app/src/main/res/values-tr/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Görüşmeler</string>
     <string name="nc_bottom_navigation_title_contacts">Kişiler</string>
-    <string name="nc_bottom_navigation_title_settings">Ayarlar</string>
+    <string name="nc_settings">Ayarlar</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Sunucu adresi</string>

+ 1 - 1
app/src/main/res/values-vi/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">Đàm thoại</string>
     <string name="nc_bottom_navigation_title_contacts">Liên hệ</string>
-    <string name="nc_bottom_navigation_title_settings">Thiết lập</string>
+    <string name="nc_settings">Thiết lập</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Địa chỉ máy chủ</string>

+ 1 - 1
app/src/main/res/values-zh-rCN/strings.xml

@@ -22,7 +22,7 @@
     <!-- Bottom Navigation -->
     <string name="nc_bottom_navigation_title_conversations">对话</string>
     <string name="nc_bottom_navigation_title_contacts">联系人</string>
-    <string name="nc_bottom_navigation_title_settings">设置</string>
+    <string name="nc_settings">设置</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">服务器地址</string>

+ 0 - 1
app/src/main/res/values/colors.xml

@@ -13,7 +13,6 @@
     <color name="nc_darkGreen">#006400</color>
     <color name="nc_white_color">@color/per70white</color>
     <color name="nc_light_blue_color">#7FC0E3</color>
-    <color name="nc_material_yellow">#FFEB3B</color>
     <color name="nc_light_grey">#E8E8E8</color>
     <color name="grey_600">#757575</color>
     <color name="nc_grey">#D5D5D5</color>

+ 0 - 1
app/src/main/res/values/setup.xml

@@ -27,5 +27,4 @@
     <string name="google_app_id" translatable="false">1:829118773643:android:54b65087c544d819</string>
     <string name="google_crash_reporting_api_key" translatable="false">AIzaSyAWIyOcLafaFp8PFL61h64cy1NNZW2cU_s</string>
     <string name="google_storage_bucket" translatable="false">nextcloud-a7dea.appspot.com</string>
-    <string name="project_id" translatable="false">nextcloud-a7dea</string>
 </resources>

+ 1 - 10
app/src/main/res/values/strings.xml

@@ -20,9 +20,7 @@
 
 <resources>
     <!-- Bottom Navigation -->
-    <string name="nc_bottom_navigation_title_conversations">Conversations</string>
-    <string name="nc_bottom_navigation_title_contacts">Contacts</string>
-    <string name="nc_bottom_navigation_title_settings">Settings</string>
+    <string name="nc_settings">Settings</string>
 
     <!-- Server selection -->
     <string name="nc_server_url">Server address</string>
@@ -39,14 +37,11 @@
     <string name="nc_get_from_provider">Do you not have a server yet?\nClick here to get one from a provider</string>
 
     <!-- Account verification -->
-    <string name="nc_display_name_fetched">Display name fetched</string>
     <string name="nc_push_disabled">Push notifications disabled</string>
     <string name="nc_capabilities_failed">Failed to fetch capabilities, aborting</string>
     <string name="nc_external_server_failed">Failed to fetch signaling settings</string>
     <string name="nc_display_name_not_fetched">Display name couldn\'t be fetched, aborting</string>
-    <string name="nc_nextcloud_talk_app_installed">%1$s app found</string>
     <string name="nc_nextcloud_talk_app_not_installed">%1$s app not installed on the server, aborting</string>
-    <string name="nc_display_name_stored">Display name stored</string>
     <string name="nc_display_name_not_stored">Could not store display name, aborting</string>
 
     <string name="nc_never">Never joined</string>
@@ -56,7 +51,6 @@
     <string name="nc_certificate_dialog_text">Do you trust the until now unknown SSL certificate, issued by %1$s for %2$s, valid from %3$s to %4$s?</string>
     <string name="nc_yes">Yes</string>
     <string name="nc_no">No</string>
-    <string name="nc_details">Details</string>
     <string name="nc_certificate_error">Your SSL setup prevented connection</string>
 
     <!-- Settings -->
@@ -128,9 +122,6 @@
 
     <!-- Contacts -->
     <string name="nc_select_contacts">Select contacts</string>
-    <string name="nc_one_contact_selected">contact selected</string>
-    <string name="nc_more_contacts_selected">contacts selected</string>
-    <string name="nc_contacts_clear">Clear</string>
     <string name="nc_contacts_done">Done</string>
 
     <!-- Permissions -->