- होस्ट की गतिविधि:
TelecomActivity
- फ़्रैगमेंट:
ContactResultsFragment
- रूट लेआउट:
@layout/list_fragment
इस पेज के लिए, मेन्यू को प्रोग्राम के हिसाब से नहीं दिखने पर सेट किया गया है.
पहली इमेज. स्क्रीन आइटम खोजें
टूलबार के कस्टम व्यू के तौर पर खोज फ़ील्ड, @layout/search_layout
@layout/search_view_layout_override
- शैली पर टैप करें.
@style/Widget.Dialer.SearchView
- 'बंद करें' बटन.
@drawable/ic_close
- 'बंद करें' बटन.
सूची में शामिल आइटम का लेआउट. @layout/contact_result
Component [id:]ClassName | प्रॉपर्टी | वैल्यू |
---|---|---|
contact_result: ConstraintLayout |
background |
?android:attr/selectableItemBackground |
height |
@dimen/contact_result_height |
|
contact_picture: ImageView |
width |
@dimen/avatar_icon_size |
height |
@dimen/avatar_icon_size |
|
layout_marginStart |
@dimen/contact_result_avatar_margin |
|
contact_name: TextView |
textAppearance |
@style/TextAppearance.ContactResultTitle |
layout_marginStart |
@dimen/contact_result_name_margin |