summaryrefslogtreecommitdiffstats
path: root/res/layout-land/call_button_fragment.xml
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2014-08-16 14:04:26 +0200
committerDanny Baumann <dannybaumann@web.de>2014-08-17 14:08:48 +0200
commit1e5ab915ecab69685329fe203f6f3ef90e5aa5c6 (patch)
tree8674aa277e6727d078d1e60f180ab10af629d6f3 /res/layout-land/call_button_fragment.xml
parentd7ff41e6216d0d72f320e12c14f60ff709b7910f (diff)
downloadpackages_apps_InCallUI-1e5ab915ecab69685329fe203f6f3ef90e5aa5c6.tar.gz
packages_apps_InCallUI-1e5ab915ecab69685329fe203f6f3ef90e5aa5c6.tar.bz2
packages_apps_InCallUI-1e5ab915ecab69685329fe203f6f3ef90e5aa5c6.zip
Fix NPE in dock mode.
Add the call recording button also to the landscape layout. Also properly add (and hide) button spacers. Change-Id: Idc4c7669a78a7445a421bc28bd527f6d423f5c6a
Diffstat (limited to 'res/layout-land/call_button_fragment.xml')
-rw-r--r--res/layout-land/call_button_fragment.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/layout-land/call_button_fragment.xml b/res/layout-land/call_button_fragment.xml
index 354badde..5b9c4c12 100644
--- a/res/layout-land/call_button_fragment.xml
+++ b/res/layout-land/call_button_fragment.xml
@@ -87,6 +87,18 @@
<!-- Separator between 4th (or 5th) button and right padding -->
<View style="@style/VerticalSeparator" />
+ <com.android.incallui.CallRecordingButton
+ android:id="@+id/recordButton"
+ style="@style/InCallButton"
+ android:src="@drawable/ic_record_holo_dark"
+ android:contentDescription="@string/onscreenRecordText"
+ android:visibility="gone"
+ />
+
+ <View android:id="@+id/recordSpacer"
+ style="@style/VerticalSeparator"
+ android:visibility="gone" />
+
<!-- "Blacklist" -->
<!-- The button used for toggling blackist. -->
<ImageButton android:id="@+id/addBlacklistButton"