Question: I am new to Java and Android programming. The issue that I am having is that after surfing several books, forum and websites, I do not have clear understanding of what the @override annotation does. I understand it signifies when a method is being over ridden. but why is it needed in android. I see it rarely in source code for java, but all the time in android.

Answer: 
Well if you understand the basic of @Override annotation it's simply metadata information that fill two purposes:

* Describe that the method it's being override because it was defined in a interface or a extended class
* Helps you identify correctly which method are locally declared and which are overriding since in android you will probably extends from Fragment, Activity, Services, BroadcastReceiver, etc it is a good practice that will make your code cleaner.

As for the issue that you don't see it in Java style, it is not only because it's a fairly new Feature (not that new since 2005), but because you don't override method that much in java at least not in Swing or SWT, most commonly you will find them in TableModel or when it's Servlet in the extended HttpServlet classes
```
out_marginLeft="50dp"
            android:layout_marginTop="50dp"
            android:layout_marginRight="50dp"
            android:gravity="center"
            android:orientation="vertical">

            <ProgressBar
                android:id="@+id/progressBar"
                style="?android:attr/progressBarStyleHorizontal"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_above="@+id/txtProgress"
                android:layout_centerHorizontal="true"
                android:layout_marginLeft="16dp"
                android:layout_marginRight="16dp"
                android:progress="50"
                android:progressTint="@android:color/black" />

            <TextView
                android:id="@+id/txtProgress"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="8dp"
                android:text="Progress"
                android:textColor="@android:color/black" />
        </LinearLayout>  

Java

```