Browse Source

improve lint score

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 years ago
parent
commit
ca63bc52c6

+ 2 - 2
app/src/main/res/layout/poll_result_voter_item.xml

@@ -17,13 +17,13 @@
   ~ You should have received a copy of the GNU General Public License
   ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
   -->
-
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:paddingBottom="4dp"
-    tools:background="@color/white">
+    tools:background="@color/white"
+    tools:ignore="UseCompoundDrawables">
 
     <ImageView
         android:id="@+id/poll_voter_avatar"

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

@@ -75,7 +75,5 @@
     <color name="grey_200">#818181</color>
 
     <color name="dialog_background">#353535</color>
-    <color name="vote_dialog_background">#424242</color>
-
 
 </resources>

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

@@ -105,8 +105,5 @@
     <!-- this is just a helper for status icon background because getting the background color of a dialog is not
     possible?! don't use this to set the background of dialogs -->
     <color name="dialog_background">#FFFFFF</color>
-    <color name="vote_dialog_background">#FFFFFF</color>
-
-
 
 </resources>