tags:

views:

249

answers:

1

I want to align my text at the bottom left in android.

A: 

If you want to align the text in your TextView to the bottom left, use android:gravity="bottom|left". If you want to align the TextView to the bottom left of it's container, use android:layout_gravity="bottom|left".

I suspect that you're mis-communicating your true intentions, here, though. You want to align some text to the bottom left of what? The screen? The text's container?

Please try to be more specific with your question.

Bottom left of the screen:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:gravity="bottom|left"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <TextView android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="text"/>
</FrameLayout>
synic
the bottom left of the screen
ryan
I edited the answer.
synic