java - how to set textview in bottom -


my textview display in emulator top..how change bottom...

<?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android"  android:orientation="vertical"   android:layout_width="fill_parent"  android:layout_height="fill_parent"  android:background="@drawable/tv">  <textview   android:text="embdes technologies"  android:id="@+id/textview01"  android:layout_width="wrap_content"  android:layout_height="wrap_content"   android:textcolor="#ff000000"   android:textstyle="bold"   android:gravity="bottom"/> <gallery xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/videogrdvw"  android:layout_width="fill_parent"  android:layout_height="fill_parent"/>       </relativelayout> 

alt text

although question seems obscure, understand want align bottom. here how can it:

add following property textview:

android:gravity="bottom"

hope helps. if does, mark answered , vote it.

regards.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -