// Set minimum width of an ImageView to 100 pixels ImageView imageView = findViewById(R.id.my_image_view); imageView.setMinimumWidth(100); // Get the minimum width of an ImageView int minWidth = imageView.getMinimumWidth();In the first example, we set the minimum width of an ImageView to 100 pixels using `setMinimumWidth()`. This ensures that the ImageView is at least 100 pixels wide, even if the image it is displaying is smaller. In the second example, we retrieve the minimum width of the ImageView using `getMinimumWidth()`. The `android.widget.ImageView` class is part of the Android SDK, which is included in the `android` package library.