J'ai un FragmeLayout dans un NestedScrollView, commeFrameLayout ne correspond pas à la hauteur de NestedScrollView
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000">
Mais le FrameLayout ne remplit pas la hauteur du NestedScrollView. Comment pourrais-je résoudre ce problème?
Je pense que régler la gravité = centre ou autre dans la présentation du cadre –
faire 'android: layout_gravity = "center"' ou 'android: layout_gravity = "center | fill_vertical"' ne semble pas fonctionner – learner
'android: fillViewport = "true" 'cochez ceci Ajouter' android.support.v4.widget.NestedScrollView' –