mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor: remove obsolete ViewHelper.setBackground method (#137)
This commit is contained in:
@@ -528,13 +528,5 @@ public class ViewHelper {
|
||||
textView.setLetterSpacing(value);
|
||||
}
|
||||
}
|
||||
|
||||
public static void setBackground(android.view.View view, android.graphics.drawable.Drawable background) {
|
||||
if (version >= 16) {
|
||||
view.setBackground(background);
|
||||
} else {
|
||||
view.setBackgroundDrawable(background);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user