• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

button in the tutorial goes down on the bottom of the screen, instead the emulator show it on to

 
Giovanni Montano
Ranch Hand
Posts: 246
4
Android Open BSD Slackware
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, as in the object, i would expect that save would go down, as in the video I am seeing, not on top, I do not undestand, apparently I followed the tutorial step by step...
thank you
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
androidrientation="vertical" >

<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="top"
android:hint="Enter your text here." />

<Button
android:id="@+id/save"
android:layout_weight="0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Save" />

</LinearLayout>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic