lundi 25 mai 2015

Set the height of a Textview so as to enter into a LinearLayout

i have a LinearLayout with contain a TextView. i want that the text of textView is all visible calculating the height of Layout and setting the height of Textview.

 <LinearLayout
    android:orientation="vertical"
    android:id="@+id/layoutTot"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_above="@+id/buttonClipBoard">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:text=" text text text text text text text text"
        android:id="@+id/textTags"
        />
</LinearLayout>

can you help me?

Aucun commentaire:

Enregistrer un commentaire