mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
196 lines
No EOL
7.7 KiB
XML
196 lines
No EOL
7.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<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="50dp"
|
|
android:background="@color/colorH"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="left"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_back"
|
|
android:src="@drawable/back"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:visibility="invisible">
|
|
|
|
<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"
|
|
android:visibility="invisible">
|
|
|
|
<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>
|
|
|
|
<ImageView
|
|
android:id="@+id/next"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="right"
|
|
android:layout_weight="0.2"
|
|
android:background="@drawable/toolbar_button"
|
|
android:contentDescription="@string/content_description_valid"
|
|
android:src="@drawable/chat_room_creation_next"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/colorE"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/layoutSearchField"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="33dp"
|
|
android:layout_margin="10dp"
|
|
android:background="#f5f5f5">
|
|
|
|
<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"
|
|
android:textCursorDrawable="@null"/>
|
|
|
|
<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>
|
|
|
|
<HorizontalScrollView
|
|
android:id="@+id/layoutContactsSelected"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="@color/colorG"
|
|
android:fadeScrollbars="false"
|
|
android:lines="1">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/contactsSelected"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:lines="1"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:scrollIndicators="bottom"/>
|
|
</HorizontalScrollView>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/relativeLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/layoutContactsSelected">
|
|
|
|
<ListView
|
|
android:id="@+id/contactsList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:divider="@color/colorM"
|
|
android:dividerHeight="1dp"
|
|
android:fastScrollAlwaysVisible="true"
|
|
android:fastScrollEnabled="true"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/contactsFetchInProgress"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:visibility="gone"/>
|
|
|
|
<TextView
|
|
android:id="@+id/noSipContact"
|
|
style="@style/font6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:gravity="center"
|
|
android:text="@string/no_sip_contact"
|
|
android:visibility="gone"/>
|
|
|
|
<TextView
|
|
android:id="@+id/noContact"
|
|
style="@style/font6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:gravity="center"
|
|
android:text="@string/no_contact"
|
|
android:visibility="gone"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/wait_layout" android:id="@+id/waitScreen"/>
|
|
|
|
</RelativeLayout> |