I have a RelativeLayout activity. I have another layout for a fragment. The fragment layout is added programmatically to the activity. In the RelativeLayout of the activity there is a LinearLayout with three buttons. How can I set the position of this LinearLayout to be under(in y edge) the fragment without having the fragment in the activity xml?
This is the activity XML structure:
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<LinearLayout
>
<Button
/>
<Button
/>
<Button
/>
</LinearLayout>
</RelativeLayout>