Home > Mobile >  Android android - unknown causes some mobile phone UI half will be truncated
Android android - unknown causes some mobile phone UI half will be truncated

Time:12-12

Happen is unclear, and the layout type if it doesn't matter,
Such as an imageview, layout_width="24 dp," layout_height="24 dp,"
Some models can all display, some models showing the imageview is only half (only the upper part of the UI is drawn out)? !
How is this to return a responsibility excuse me? Without what good code list, reason unknown,,,

CodePudding user response:

Set up under the picture display type, some manufacturers may do some optimization

CodePudding user response:

Android: scaleType="centerCrop"

CodePudding user response:

But the default is centerInside also displays all, should not only show a part of?
  • Related