私はAndroidの初心者です。Eclipse を使用してアプリをプログラムします。.xml クラスを作成し、ボタンの特定の位置を設定する場合、たとえば次のコードを使用します。
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/fm"
android:baselineAligned="false"
android:gravity="end" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scrollX="100dp"
android:scrollY="30dp"
android:text="@string/edad" />
</RelativeLayout>
...しかし、何も起こりません。ボタンを隅に配置します。他の場所に表示するにはどうすればよいですか?