Autocapitalization of first letter of edit text not working : i am trying to add edittext with inputtype = textCapWords but it is not working for me .
ihave also tried textcapsentences but it is also not working.

        <EditText
                                    android:id="@+id/editText2"
                                    android:layout_width="fill_parent"
                                    android:layout_height="wrap_content"
                                    android:layout_marginLeft="@dimen/d1"
                                    android:textCursorDrawable="@drawable/custom_cursor"
                                    android:background="@drawable/text_field_account"
                                    android:gravity="left|center_vertical"
                                    android:hint="@string/Last_Name"
                                    android:inputType="se"
                                    android:maxWidth="30dp"
                                    android:paddingLeft="10dp"
                                    android:paddingRight="10dp"
                                    android:singleLine="true"
                                    android:text=""
                                    android:maxLength="30"
                                    android:textColor="@color/black000"
                                    android:textColorHint="@color/text_color_hint"
                                    android:textSize="@dimen/font_n" />
