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>
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
Post a Comment