mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Conflicts: AndroidManifest.xml res/layout/chat_bubble_alt_incoming.xml res/layout/chat_bubble_alt_outgoing.xml res/layout/chat_bubble_incoming.xml res/layout/chat_bubble_outgoing.xml res/values/strings.xml src/org/linphone/ContactsManager.java src/org/linphone/compatibility/ApiFivePlus.java src/org/linphone/ui/BubbleChat.java
266 lines
No EOL
7.7 KiB
XML
266 lines
No EOL
7.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<fragment
|
|
android:id="@+id/status"
|
|
android:name="org.linphone.StatusFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
tools:layout="@layout/status" />
|
|
|
|
<android.support.v4.widget.DrawerLayout
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/transparent"
|
|
android:layout_below="@id/status">
|
|
<!-- The main content view -->
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/topLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:layout_above="@id/footer">
|
|
|
|
<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="70dp"
|
|
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:id="@+id/history_select"
|
|
android:background="@color/colorA"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/missedCalls"
|
|
style="@style/font18"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="@drawable/history_chat_indicator"
|
|
android:gravity="center"
|
|
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:src="@drawable/footer_contacts"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_margin="10dp"
|
|
android:scaleType="center" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/contacts_select"
|
|
android:background="@color/colorA"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:visibility="gone" />
|
|
</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:src="@drawable/footer_dialer"
|
|
android:contentDescription="@string/content_description_dialer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_margin="10dp"
|
|
android:scaleType="center"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/dialer_select"
|
|
android:background="@color/colorA"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/chat"
|
|
android:background="@drawable/footer_button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:adjustViewBounds="true">
|
|
|
|
<ImageView
|
|
android:src="@drawable/footer_chat"
|
|
android:contentDescription="@string/content_description_chat"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:layout_margin="10dp"
|
|
android:scaleType="center" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/chat_select"
|
|
android:background="@color/colorA"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="5dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:visibility="gone"/>
|
|
|
|
<TextView
|
|
android:id="@+id/missedChats"
|
|
style="@style/font18"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="@drawable/history_chat_indicator"
|
|
android:gravity="center"
|
|
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 -->
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/left_drawer"
|
|
android:layout_gravity="left">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<ListView android:id="@+id/accounts_list"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:choiceMode="singleChoice"
|
|
android:cacheColorHint="@color/transparent"
|
|
android:divider="@android:color/transparent"
|
|
android:dividerHeight="0dp"
|
|
android:background="@color/colorB"/>
|
|
|
|
<ListView android:id="@+id/list_drawer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:choiceMode="singleChoice"
|
|
android:divider="@color/colorE"
|
|
android:cacheColorHint="@color/transparent"
|
|
android:dividerHeight="1dp"
|
|
android:background="@color/colorH"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/exitLayout"
|
|
android:gravity="bottom"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:background="@color/colorA">
|
|
|
|
<ImageView
|
|
android:id="@+id/lol"
|
|
android:layout_width="25dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:src="@drawable/quit_default"
|
|
android:layout_centerVertical="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/exit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/lol"
|
|
android:text="@string/menu_exit"
|
|
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
android:textAppearance="?android:attr/textAppearanceListItemSmall"
|
|
android:gravity="center_vertical"
|
|
android:paddingRight="40dp"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|
|
|
|
</RelativeLayout> |