Reputation: 813
I have a problem:
with this xml layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<EditText android:id="@+id/nomenota"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<EditText android:id="@+id/corponota"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="textMultiLine"/>
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TableRow >
<Button android:id="@+id/visualizza_notaOK"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/notaOK"/>
<Button android:id="@+id/nota_annulla"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nuovanotaannulla"/>
</TableRow>
</TableLayout>
My activity is showed like this:
As you can see, the body of my message in centered in a big edittext and i don't want this result.
The result that i want is like this link:link of layout that i want to achieve
CAn someone helps me?
Thanks in advance.
Marco.
Upvotes: 2
Views: 1163