mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
201 lines
No EOL
6.1 KiB
XML
201 lines
No EOL
6.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.widget.DrawerLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<!-- The main content view -->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_above="@id/footer">
|
|
|
|
<include layout="@layout/status" android:id="@+id/status" />
|
|
|
|
<include layout="@layout/toolbar" android:id="@+id/toolbar" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fragmentContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal" />
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/footer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/history"
|
|
android:background="@drawable/footer_button"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_margin="10dp"
|
|
android:scaleType="center"
|
|
android:contentDescription="@string/content_description_history"
|
|
android:src="@drawable/footer_history" />
|
|
|
|
<RelativeLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/history_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@color/footer_select" />
|
|
|
|
<TextView
|
|
android:id="@+id/missedCalls"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="@drawable/missed_calls_bg"
|
|
android:gravity="center"
|
|
android:textSize="20sp"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/contacts"
|
|
android:background="@drawable/footer_button"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="center"
|
|
android:layout_margin="10dp"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:src="@drawable/footer_contacts" />
|
|
|
|
<RelativeLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/contacts_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:background="@color/footer_select" />
|
|
</RelativeLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/dialer"
|
|
android:background="@drawable/footer_button"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="center"
|
|
android:layout_margin="10dp"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:src="@drawable/footer_dialer" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/dialer_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:background="@color/footer_select" />
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/chat"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/footer_button"
|
|
android:adjustViewBounds="true">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="center"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:src="@drawable/footer_chat" />
|
|
|
|
<RelativeLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/chat_select"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:background="@color/footer_select" />
|
|
|
|
<TextView
|
|
android:id="@+id/missedChats"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="@drawable/missed_calls_bg"
|
|
android:gravity="center"
|
|
android:textSize="20sp"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fragmentContainer2"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<!-- The navigation drawer -->
|
|
<ListView android:id="@+id/left_drawer"
|
|
android:layout_width="300dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"
|
|
android:choiceMode="singleChoice"
|
|
android:divider="@android:color/transparent"
|
|
android:dividerHeight="0dp"
|
|
android:background="@color/background"/>
|
|
|
|
</android.support.v4.widget.DrawerLayout> |