Advertisement
Ankhwatcher

java.lang.NullPointerException

Sep 3rd, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.49 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:orientation="vertical" >
  6.  
  7.     <TextView
  8.        android:layout_width="fill_parent"
  9.        android:layout_height="wrap_content"
  10.        android:text="@string/newplacedialog_text" />
  11.  
  12.     <view
  13.        android:layout_width="fill_parent"
  14.        android:layout_height="1dp" />
  15.  
  16.     <EditText
  17.        android:id="@+id/editText1"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:inputType="textMultiLine"
  21.        android:maxLength="50" >
  22.  
  23.         <requestFocus />
  24.     </EditText>
  25.  
  26.     <view
  27.        android:layout_width="fill_parent"
  28.        android:layout_height="1dp"
  29.        android:paddingBottom="1dp"
  30.        android:paddingTop="1dp" />
  31.  
  32.     <LinearLayout
  33.        android:layout_width="fill_parent"
  34.        android:layout_height="wrap_content"
  35.        android:orientation="horizontal" >
  36.  
  37.         <Button
  38.            android:layout_width="wrap_content"
  39.            android:layout_height="wrap_content"
  40.            android:layout_weight="0.5"
  41.            android:text="@string/cancel" />
  42.  
  43.         <Button
  44.            android:layout_width="wrap_content"
  45.            android:layout_height="wrap_content"
  46.            android:layout_weight="0.5"
  47.            android:text="@string/save" />
  48.     </LinearLayout>
  49.  
  50. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement