xml - Placing android button in a particular place -


i want place android button1 in specific place in android screen, depends on textview1 size showing in different places.

how can place android button in particular place

 <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"     tools:context=".infoactivity" >     <linearlayout         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_alignparentbottom="true"         android:layout_alignparentleft="true"         android:layout_alignparentright="true"         android:layout_alignparenttop="true"         android:orientation="vertical"          android:background="@drawable/backquiz">         <textview             android:id="@+id/textview1"             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:background="@drawable/question1"             android:text="large text"             android:textappearance="?android:attr/textappearancelarge" />             <button                 android:id="@+id/button1"                 android:layout_width="match_parent"                 android:layout_height="wrap_content"                 android:textappearance="?android:attr/textappearancelarge"                  android:background="@drawable/next"/>      </linearlayout> </relativelayout> 

i need next button present in bottom.

here image

use relative layout button. here link.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -