Hey there,
I am a newbie on this thing, and I am getting some problems on some
basic Layouts.... :S
can someone explain me why this XML throws an error? on the editor of
Eclipse it doesnt show any problem, but when running it with
setContentView(R.layout.codigo);
the app crashes!!! :S
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:background="@drawable/login_background"
android:gravity="top"
android:scaleType="fitXY"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:paddingTop="40dp"
>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingBottom="30dp"
>
<Button android:id="@+idSearch/ButtonGetGPS"
android:text="Find Couches Near Me!"
android:layout_width="@string/alignmentvertical"
android:layout_height="@string/alignmenthorizontal"
/>
<TextView android:text="(Requires GPS
signal)"
android:textColor="@color/GRIS"
android:textSize="12dp"
android:gravity="center_vertical"
android:layout_width="@string/alignmentvertical"
android:layout_height="@string/alignmenthorizontal"
/>
</LinearLayout>
</LinearLayout>
Thanks in advance!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en