Google is committed to advancing racial equity for Black communities. See how.

Contacts

  • Host activity: TelecomActivity
  • Fragment: ContactListFragment
  • Root layout: @layout/list_fragment

Contacts screen

Figure 1. Contacts screen

Contact list item: @layout/contact_list_item

  • @+id/header > @layout/header_item
    Component [id:]ClassName Property Value
    title: TextView height @dimen/subheader_list_height
    style> @style/SubheaderText
  • @+id/user_profile_container > @layout/contact_user_profile
    Component[id:]
    ClassName
    Property Value
    contact_list_guideline_begin: Guideline layout_constraintGuide_begin @dimen/contact_list_guideline_begin
    contact_list_guideline_end: Guideline layout_constraintGuide_end @dimen/contact_list_guideline_end
    call_action_id: View background ?android:attr/selectableItemBackground
    Constraint End contact_list_guideline_end
    icon: ImageView width @dimen/avatar_icon_size
    height @dimen/avatar_icon_size
    layout_marginStart @dimen/contact_list_item_padding
    scaleType centerCrop
    title (Contact name): TextView layout_marginEnd @dimen/contact_list_text_margin_end
    textAppearance ?android:attr/textAppearanceLarge
    Constraint Start contact_list_guideline_begin
    Constraint End contact_list_guideline_end
    text (label): TextView layout_marginEnd @dimen/contact_list_text_margin_end
    textAppearance ?android:attr/textAppearanceSmall
    Constraint Start contact_list_guideline_begin
    Constraint End contact_list_guideline_end
    show_contact_detail_id: ImageView src @drawable/ic_arrow_right
    tint @color/secondary_icon_color
    background ?android:attr/selectableItemBackground
    Constraint Start contact_list_guideline_end
    divider: View width @dimen/vertical_divider_width
    background @color/divider_color
    layout_marginTop @dimen/vertical_divider_inset
    layout_marginBottom @dimen/vertical_divider_inset
    Constraint Start contact_list_guideline_end