ImageView won't fill parent

前端 未结 4 1373
轻奢々
轻奢々 2021-01-05 01:31

I have a ScrollView on one of my screens. I want the right edge to have a shadow. I decided the easiest way to do this was to make the child of the ScrollView a RelativeLa

4条回答
  •  花落未央
    2021-01-05 01:54

    You wanted a Shadow towards the right of your image, Then use single layout with Horizontal Orientation, It's good that you have decide to use Relative Layout. Use

    android:orientation="vertical"
    

    inside this layout, add those two images. If you still have a doubt, give me those two images or sample images, i will give you the code

提交回复
热议问题