Ok, I figure it was something in the main.xml and I fixed it.  Then
when I tried to make it bigger to run on a tablet instead of a phone I
got more crashes.


The main.xml is:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android" android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/localPathLabel"
android:text="Local exe path:"/>
<LinearLayout android:layout_width="400dip"
android:layout_height="wrap_content" android:orientation="horizontal">
<EditText android:id="@+id/localPathEdit"
android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_weight="1"
android:text="/system/bin/ls"></EditText>
</LinearLayout>

<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/
localAccountInfo" android:text="Account Information"
android:paddingTop="20px"></TextView>
<TextView android:layout_width="450dip" android:layout_height="2dip"
android:background="#696969" android:id="@+id/localHR" />

<LinearLayout android:id="@+id/linearLayout1"
android:layout_height="wrap_content" android:orientation="horizontal"
android:layout_width="400dip">
    <EditText android:layout_width="wrap_content"
android:layout_weight="1" android:layout_height="wrap_content"
android:text="User Name" android:id="@+id/localUser"></EditText>
</LinearLayout>
    <TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/localUserInfo"
android:text="SSH User Name"  android:paddingBottom="20px"></TextView>


<LinearLayout android:layout_width="400dip"
android:layout_height="wrap_content" android:orientation="horizontal">
<EditText android:password="true" android:layout_weight="1"
android:layout_height="wrap_content" android:text="Password /
Passphrase" android:id="@+id/localPassword"></EditText>
</LinearLayout>
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/localPassInfo"
android:text="SSH password"  android:paddingBottom="20px"></TextView>

<TextView android:id="@+id/outputView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TextView>
<Button android:layout_width="wrap_content" android:text="Run"
android:layout_height="wrap_content" android:id="@+id/
localRunButton"></Button>

</LinearLayout>


What am I doing wrong here?

-- 
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

Reply via email to