summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/main/impl/res/layout
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2018-01-26 14:05:20 -0800
committerCopybara-Service <copybara-piper@google.com>2018-01-26 16:29:40 -0800
commit29be3926b41f09a7f8fab9845ce3d0d7bd216620 (patch)
tree773b3a667ee775a3ab7fd44e01c4fe2f00c1f71d /java/com/android/dialer/main/impl/res/layout
parente5f1e62682bec9f7bfa019b1820328fe98fa45bf (diff)
Implemented Post Call in NUI.
Bug: 72525658 Test: PostCallIntegrationTest PiperOrigin-RevId: 183441836 Change-Id: Ie1f8da1a7e24b22c5aa79cfa2a1261beb23579a1
Diffstat (limited to 'java/com/android/dialer/main/impl/res/layout')
-rw-r--r--java/com/android/dialer/main/impl/res/layout/main_activity.xml43
1 files changed, 22 insertions, 21 deletions
diff --git a/java/com/android/dialer/main/impl/res/layout/main_activity.xml b/java/com/android/dialer/main/impl/res/layout/main_activity.xml
index eb0d45e57..aaba8da77 100644
--- a/java/com/android/dialer/main/impl/res/layout/main_activity.xml
+++ b/java/com/android/dialer/main/impl/res/layout/main_activity.xml
@@ -21,13 +21,31 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <!-- Holds SpeedDial, Call Log, Contacts and Voicemail fragments -->
- <FrameLayout
- android:id="@+id/fragment_container"
+ <android.support.design.widget.CoordinatorLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/toolbar"
- android:layout_above="@+id/bottom_nav_bar"/>
+ android:layout_above="@+id/bottom_nav_bar">
+
+ <!-- Holds SpeedDial, Call Log, Contacts, Voicemail and Search fragments -->
+ <FrameLayout
+ android:id="@+id/fragment_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_above="@+id/bottom_nav_bar"/>
+
+ <android.support.design.widget.FloatingActionButton
+ android:id="@+id/fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:layout_gravity="end|bottom"
+ android:src="@drawable/quantum_ic_dialpad_white_24"
+ app:backgroundTint="?android:attr/colorAccent"/>
+ </android.support.design.widget.CoordinatorLayout>
<!-- BottomNavBar -->
<include
@@ -37,13 +55,6 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"/>
- <!-- Holds search fragment -->
- <FrameLayout
- android:id="@+id/search_fragment_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/toolbar"/>
-
<!-- Holds Dialpad fragment -->
<FrameLayout
android:id="@+id/dialpad_fragment_container"
@@ -55,14 +66,4 @@
<include
android:id="@+id/toolbar"
layout="@layout/toolbar_layout"/>
-
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/fab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_above="@+id/bottom_nav_bar"
- android:layout_alignParentEnd="true"
- android:layout_margin="16dp"
- android:src="@drawable/quantum_ic_dialpad_white_24"
- app:backgroundTint="?android:attr/colorAccent"/>
</RelativeLayout> \ No newline at end of file