Such a bad luck, I will not understand what it is. Imageviews are created dynamically, images are loaded into them using Picasso. The image is compressed in height and width. Tell me what's wrong?
for (int i = 0; i < portfolio.size(); i++) { LinearLayout portfolioLayout = (LinearLayout)findViewById(R.id.PortfolioLayout); // Добавляем новый ImageView ImageView imageView = new ImageView(masterDetails.this); imageView.setPadding(2, 2, 2, 2); imageView.setMinimumHeight(100); imageView.setMinimumWidth(100); LinearLayout.LayoutParams imageViewLayoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); imageView.setLayoutParams(imageViewLayoutParams); portfolioLayout.addView(imageView); Picasso.with(masterDetails.this).load(portfolio.get(0).preview_path).into(imageView); }