Tell me please, why it doesn\'t like my layout (RelativeLayout with @+id/row)?
When I use it with self created adapter (layoutinflater) it works good. A
I really bet you trying to textView.setText(Integer) somewhere.
No, you can't place pictures in default adapter. It works only with text. You need to create your own Adapter. And I recommend you to switch to RecyclerView especially with displaying pictures,
you should provide a layout not an id. Replace R.id.row with R.layout.your_layout_name