taunteebype
New Member
hi i'm trying to create an xml file which includes 1- label 'task' and a text view under it for user input2- label 'price' and a text view under it for user input3-label 'category' and a combobox with 6 choices4- label 'date to end' and a calender beside it 5- label 'date to remind' and a calender beside it finally a button for savingthe problem is I couldn't find combobox on eclipse, the second calender and button don't appearhere is the codexml file\[code\] <?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
rientation="vertical" ><!-- Name Label --> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/tsk" android
addingLeft="10dip" android
addingRight="10dip" android
addingTop="10dip" android:textSize="17dip"/> <!-- Input Name --> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="5dip" android:layout_marginBottom="15dip" android:singleLine="true"/> <!-- Price Label --> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/price" android
addingLeft="10dip" android
addingRight="10dip" android
addingTop="10dip" android:textSize="17dip"/> <!-- Input Price --> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_margin="5dip" android:layout_marginBottom="15dip" android:singleLine="true" android:inputType="numberDecimal"/> <!-- category Label --> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/cat" android
addingLeft="10dip" android
addingRight="10dip" android
addingTop="10dip" android:textSize="17dip"/> <!-- Input category --> <EditText android:layout_width="fill_parent" android:layout_height="32dp" android:layout_margin="5dip" android:layout_marginBottom="15dip" android:gravity="top" android:lines="4" /><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android
rientation="horizontal" android
addingTop="4dip" android
addingBottom="6dip" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TextView android:layout_width="90dip" android:layout_height="wrap_content" android:layout_weight="0.00" android:text="@string/de" /> <Calender android:layout_width="wrap_content" android:layout_height="36dp" /> </LinearLayout><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android
rientation="horizontal" android
addingTop="4dip" android
addingBottom="6dip" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TextView android:layout_width="90dip" android:layout_height="wrap_content" android:layout_weight="0.00" android:text="@string/de" /> <Calender android:layout_width="wrap_content" android:layout_height="66dp" /> </LinearLayout><!-- Button Create task --> <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/save"/> </LinearLayout>\[/code\]string.xml\[code\]<?xml version="1.0" encoding="utf-8"?><resources> <string name="app_name">checklist</string> <string name="hello_world">Hello world!</string> <string name="menu_settings">Settings</string> <string name="halls">????? ??????</string> <string name="entertainments">???????</string> <string name="fixtures">????? ??????</string> <string name="boutique">????? ??????</string> <string name="restaurants">???????</string> <string name="beauty_care">??????? ???????</string> <string name="tsk"> ??????</string> <string name="de">????? ??????</string> <string name="dr">????? ???????</string> <string name="price">??????</string> <string name="cat">?????</string> <string name="save">???</string></resources>\[/code\]and there are many error\[code\][2013-03-30 21:46:01 - checklist] W/ResourceType(12304): Bad XML block: header size 301 or total size 0 is larger than data size 0[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\values\strings.xml:4: error: Found tag id where item is expected[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\layout\add_task.xml:7: error: Error: No resource found that matches the given name (at 'text' with value '@string/tsk').[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\layout\add_task.xml:24: error: Error: No resource found that matches the given name (at 'text' with value '@string/price').[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\layout\add_task.xml:42: error: Error: No resource found that matches the given name (at 'text' with value '@string/cat').[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\layout\add_task.xml:67: error: Error: No resource found that matches the given name (at 'text' with value '@string/de').[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\layout\add_task.xml:80: error: Error: No resource found that matches the given name (at 'text' with value '@string/save').[2013-03-30 21:46:01 - checklist] C:\Users\Najd\workspace\checklist\res\menu\activity_main_task.xml:3: error: Error: No resource found that matches the given name (at 'title' with value '@string/menu_settings').\[/code\]
![Eek! :o :o](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f631.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Eek! :o :o](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f631.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Eek! :o :o](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f631.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)
![Stick Out Tongue :p :p](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f61b.png)