1

Android: Attempting to switch between two Images and display them as the same size

view story
linux-howto

http://stackoverflow.com – So, basically, I just want to display an image, and when that image is clicked, I want to replace it with another image (and go back and forth between the two images onClick). This works fine, but I want to display them as the exact same size, but no matter what I try, they're not appearing as the same size on screen. Here's my java file: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final ImageView baneling = (ImageView) findViewById(R.id.bane); baneling.setTag("alive"); baneling.setClicka (HowTos)