Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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: 318
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>
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!