I have a EditPreferences.class which extends preferenceactivity and my preferences.xml layout in my xml folder in the xml layout i used EditTextPreference control which have layout et_layout.xml my question is how can i get my textview id in my EditPreferences.class
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/app_name" >
<PreferenceCategory
android:icon="@drawable/batitle"
android:textColor="#000000"
android:title="كۆرۈنۈش" >
<ListPreference
android:defaultValue="@string/result_fontsize_default"
android:dialogTitle="تاللاڭ"
android:entries="@array/result_fontsize_keys"
android:entryValues="@array/result_fontsize_values"
android:key="result_fontsize"
android:summary="ئىزدەش نەتىجىسىنىڭ كۆرۈنۈش چوڭلۇقى"
android:textColor="#000000"
android:title="خەت چوڭلۇقى" />
<EditTextPreference
android:dialogIcon="@drawable/batitle"
android:dialogTitle="editText"
android:key="tel"
android:layout="@layout/layout" />
<Preference />
</PreferenceCategory>
</PreferenceScreen>
layout
<?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:gravity="right"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
</LinearLayout>
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher" />
</LinearLayout>