In my application if window title is removed all edittext are not visible in activity which is of dialog theme. I'm not getting why this is happening.
XML FILE-
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:gravity="center" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/layout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:orientation="horizontal" >
<ImageView
android:layout_width="60dp"
android:layout_height="50dp"
android:src="@drawable/small_icon" />
<EditText
android:id="@+id/edittext"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_margin="10dp"
android:background="@drawable/rounded_edittext"
android:gravity="center"
android:numeric="integer"
android:password="true" />
</LinearLayout>
</ScrollView>
In activity oncreate-
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.reset_password);