I have a cell with a fixed width and height, let it be 100x100px. Inside that cell I want to display an ImageView with a border around. My first idea was to put
ImageView
You have to add scaletyle in your imageview. After that your image would be fit.
android:scaleType="fitXY"