如何处理xml LinearLayout高度的一半fill_parent?
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:weightSum="1">
<ImageView android:layout_height="fill_parent"
android:layout_width="0dp"
android:layout_weight="0.5"/>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
我想做一些与身高相似的事情.