Fix lint errors

pull/467/head
Alex Baker 9 years ago
parent fcb7a657b3
commit 9062f43f30

@ -1,5 +1,6 @@
package org.tasks.activities;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
@ -55,6 +56,7 @@ public class SupportGoogleTaskListPicker extends InjectingDialogFragment {
public static AlertDialog createDialog(Context context, ThemeCache themeCache, DialogBuilder dialogBuilder, GtasksListService gtasksListService, final GoogleTaskListSelectionHandler handler) {
final List<GtasksList> lists = gtasksListService.getLists();
ArrayAdapter<GtasksList> adapter = new ArrayAdapter<GtasksList>(context, R.layout.simple_list_item_single_choice_themed, lists) {
@SuppressLint("NewApi")
@NonNull
@Override
public View getView(int position, View convertView, ViewGroup parent) {

@ -67,8 +67,8 @@
<style name="TagSettingsRow">
<item name="android:paddingLeft">@dimen/keyline_first</item>
<item name="android:paddingRight">@dimen/keyline_first</item>
<item name="android:paddingStart">@dimen/keyline_first</item>
<item name="android:paddingEnd">@dimen/keyline_first</item>
<item name="android:paddingStart" tools:ignore="NewApi">@dimen/keyline_first</item>
<item name="android:paddingEnd" tools:ignore="NewApi">@dimen/keyline_first</item>
<item name="android:paddingTop">@dimen/keyline_first</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>

Loading…
Cancel
Save