I have a LinearLayout in horizontal orientation and 2 ImageView and I want to make that ImagesView fill 50% of the screen on width, to work in every cellphone or tablet with
Write following code to do that in both views inside LinearLayout.
LinearLayout
android:layout_width="0dp" layout_weight="1"