i just started learning to code in java and started using android studio for the app development, and when i use the fragment it’s just on the top of the screen. i’m realy lost and i don’t know what to do now
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:addStatesFromChildren="true"
android:background="@color/material_dynamic_primary80"
android:clipToOutline="false"
android:minHeight="@dimen/fab_margin"
android:padding="16dp">
this is my fragment code
i tried to increse the dp of the constraint layout but i know it’s just a tamporary and useles solusion especially because it doesn’t compleatly goes on the whole screen and because on the larger dp’s the stuff inside just gets inaccessible from distortion
אריאל פרקש is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.