In the AndroidStudio emulator everything is loaded and works fine, but on the actual device (galaxy s 6 edge - in this case) only the second case is loaded (the case 1) the rest are not loaded. Maybe this is due to the size of the files? Maybe you need to register some permissions for files larger than 500kb? or something like that?
public class PortfolioFullScreenActivity extends AppCompatActivity { ImageView fullScreenImage; PhotoViewAttacher photoViewAttacher; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.portfolio_page_activity); fullScreenImage = (ImageView) findViewById(R.id.image_full_screen); Intent intent = getIntent(); int position = intent.getIntExtra("position", 0); switch (position){ case 0: Picasso.with(this) .load(R.drawable.social_trading) .resize(1080,1080) .into(fullScreenImage); break; case 1: Picasso.with(this) .load(R.drawable.nordex) .resize(1400,1287) .into(fullScreenImage); break; case 2: Picasso.with(this) .load(R.drawable.technolite) .resize(1080,2341) .into(fullScreenImage); break; case 3: Picasso.with(this) .load(R.drawable.sia_studio) .resize(1920,2136) .into(fullScreenImage); break; case 4: Picasso.with(this) .load(R.drawable.vavilon) .resize(1080,1928) .into(fullScreenImage); break; case 5: Picasso.with(this) .load(R.drawable.global_solution) .resize(1080,1224) .into(fullScreenImage); break; default: Toast.makeText(PortfolioFullScreenActivity.this, "Что-то пошло не так", Toast.LENGTH_SHORT).show(); break; } photoViewAttacher = new PhotoViewAttacher(fullScreenImage); } } Layout.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".Activities.PortfolioFullScreenActivity"> <ImageView android:id="@+id/image_full_screen" android:layout_width="match_parent" android:layout_height="match_parent" /> </RelativeLayout> UPD:
There is one more feature, after apk reinstallation, any picchu that you open first is displayed, and the rest are not, except case 1: it is always displayed.