我怎样才能使我的视图(像ImageView其他视图一样View)在其父视图中居中?如下图所示。
父布局可以使用任何布局,LinearLayout, FrameLayout。
我知道它具有 center 和 bottom 属性,但我在orMapView中找不到该属性。LinearLayoutFrameLayout
非常感谢 。
我的英文不好,请原谅我的语法错误。。
_____________________
| |
| |
| ___ |
| |___| |
| | | ______ 中央
| |
| |
| |
| |
---------------------
|
|
|
|
中央