min height fill_parent and height wrap_content in ScrollView? (or just the email app compose layout's code)

后端 未结 4 361
时光说笑
时光说笑 2021-02-01 03:57

Question If I have the following:


    

        
4条回答
  •  独厮守ぢ
    2021-02-01 04:41

    I ran across a link to the mail app source code in my accepted answer on another question. The answer is simple! Add android:fillViewport="true" to the and add android:layout_weight="1.0" to the view you want to take up all the available space. explained in this blogspot

提交回复
热议问题