Exciting, yet a long day. Today i could complete some more exercises and could make few changes in the applications. But still the xml file kept giving error. When it started frustrating me, i left that task aside and started afresh with a new one.

 

I tested twice and thrice but yet nothing clicked. This is the file.

<?xml version=”1.0″ encoding=”utf-8″?>
<LinearLayout xmlns:android=

http://schemas.android.com/apk/res/android&#8221;

android:layout_width=”fill_parent”
android:layout_height=”fill_parent”
android:orientation=”vertical” >

<EditText
android:id=”@+id/my_text”
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”>

</EditText>

<Button
android:text=”@string/button_text”
android:id=”@+id/my_button”
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”>

</Button>
<LinearLayout
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:orientation=”horizontal”
android:padding=”4dp”>

<LinearLayout
android:orientation=”vertical”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:padding=”2dp”>
<TextView
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”@string/color_large”
android:textSize=”18sp”>
</TextView>
<TextView
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”@string/color_small”
android:textSize=”12sp”>
</TextView>
</LinearLayout>

<LinearLayout
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:padding=”2dp”
android:gravity=”right”>
<CheckBox
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:id=”@+id/check_color”>
</CheckBox>
</LinearLayout>
</LinearLayout>

<LinearLayout
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:orientation=”horizontal”
android:padding=”4dp”>

<LinearLayout
android:orientation=”vertical”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:padding=”2dp”>
<TextView
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”@string/bold_large”
android:textSize=”18sp”>
</TextView>
<TextView
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”@string/bold_small”
android:textSize=”12sp”>
</TextView>
</LinearLayout>

<LinearLayout
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”
android:padding=”2dp”
android:gravity=”right”>
<CheckBox
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:id=”@+id/check_bold”>
</CheckBox>
</LinearLayout>
</LinearLayout>
</LinearLayout>

Till the evening i completed almost all the videos and even proceeded to intents in android. I could generate one. Had snacks in the evening which is the best part of a hectic day. 😉  I hope Saturday is free. Though the AC is much more relieving,  still a free day is above all. :p

 

Advertisements