mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
173 lines
5 KiB
XML
173 lines
5 KiB
XML
<?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:background="@color/colorH"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="@color/colorF"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2">
|
|
|
|
<ImageView
|
|
android:id="@+id/all_contacts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_all_contacts"
|
|
android:padding="15dp"
|
|
android:src="@drawable/contacts_all"/>
|
|
|
|
<View
|
|
android:id="@+id/all_contacts_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@color/colorA"/>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2">
|
|
|
|
<ImageView
|
|
android:id="@+id/linphone_contacts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_linphone_contacts"
|
|
android:gravity="center"
|
|
android:padding="15dp"
|
|
android:src="@drawable/contacts_sip"/>
|
|
|
|
<View
|
|
android:id="@+id/linphone_contacts_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@color/colorA"
|
|
android:visibility="gone"/>
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/newContact"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_new_contact"
|
|
android:padding="15dp"
|
|
android:src="@drawable/contact_add"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/edit"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_edit_list"
|
|
android:padding="15dp"
|
|
android:src="@drawable/edit_list_button"/>
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/edit_list"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="33dp"
|
|
android:layout_margin="10dp"
|
|
android:background="@color/colorH">
|
|
|
|
<EditText
|
|
android:id="@+id/searchField"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="34dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginRight="20dp"
|
|
android:layout_toLeftOf="@+id/clearSearchField"
|
|
android:background=" #f3f3f3 "
|
|
android:contentDescription="@string/content_description_search_contact"
|
|
android:inputType="textPersonName"
|
|
android:textColor="@android:color/black"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/clearSearchField"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@drawable/clean_field_default"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:id="@+id/view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/colorE"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@+id/swipeRefreshLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ListView
|
|
android:id="@+id/contactsList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:divider="@color/colorE"
|
|
android:dividerHeight="1dp"/>
|
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/contactsFetchInProgress"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<TextView
|
|
android:id="@+id/noSipContact"
|
|
android:text="@string/no_sip_contact"
|
|
style="@style/font6"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_centerVertical="true"/>
|
|
|
|
<TextView
|
|
android:id="@+id/noContact"
|
|
android:text="@string/no_contact"
|
|
android:visibility="gone"
|
|
style="@style/font6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_centerVertical="true"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|