mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
183 lines
No EOL
6.5 KiB
XML
183 lines
No EOL
6.5 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">
|
|
|
|
<!-- Hack to adjust perfectly on every screen the bottom of the fragment with the curved menu -->
|
|
<LinearLayout
|
|
android:id="@+id/mark"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/mark"
|
|
android:visibility="invisible" />
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/mark"
|
|
android:visibility="invisible" />
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/mark"
|
|
android:visibility="invisible" />
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/mark"
|
|
android:visibility="invisible" />
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/mark"
|
|
android:visibility="invisible" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ListView
|
|
android:id="@android:id/list"
|
|
android:listSelector="@drawable/list_selector"
|
|
android:cacheColorHint="@color/transparent"
|
|
android:layout_above="@id/mark"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2">
|
|
|
|
<ImageView
|
|
android:id="@+id/history"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_history"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/history" />
|
|
|
|
<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="20dp"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/contacts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_contacts"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/contacts" />
|
|
|
|
<ImageView
|
|
android:id="@+id/dialer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_dialer"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/dialer" />
|
|
|
|
<ImageView
|
|
android:id="@+id/settings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_settings"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/settings" />
|
|
|
|
<ImageView
|
|
android:id="@+id/about_settings"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_about"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/about_settings" />
|
|
|
|
<ImageView
|
|
android:id="@+id/about_chat"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_about"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/about_chat" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/completeChat"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2">
|
|
|
|
<ImageView
|
|
android:id="@+id/chat"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/content_description_chat"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/chat" />
|
|
|
|
<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="20dp"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |