Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't move a button inside a frame layout

Tags:

android

button

I have tried to move the button using graphical interface and android:layout_alignParentLeft in XML file, anyway it does not work. My Android Studio version is 2.2.3. Have you ever had this problem?

enter image description here

like image 492
MM Manuel Avatar asked Dec 30 '16 11:12

MM Manuel


1 Answers

You need RelativeLayout or other simlilar layout as parent container because FrameLayout just draw the views one over another plus you should check the properties section to see the attibute properties that you can apply on your layout.

To read further about ViewGroups and it's sub-types with their behaviours

like image 165
Pavneet_Singh Avatar answered Sep 25 '22 14:09

Pavneet_Singh