From afdd8b997dc3e82a81fa9605e05428f51464842e Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 5 Oct 2015 17:57:40 -0700 Subject: Convert caller information into list header. this allows us to scroll the header with the rest of the screen, instead of having it pinned to the top, as it is currently. Bug: 24109819 Change-Id: Ic440bc18d31d196493a86130e06d954c453c9146 --- src/com/android/dialer/CallDetailActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/com/android/dialer') diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index c8a5356a6..a43ec3edc 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -231,6 +231,9 @@ public class CallDetailActivity extends AppCompatActivity mVoicemailUri = getIntent().getParcelableExtra(EXTRA_VOICEMAIL_URI); + ListView historyList = (ListView) findViewById(R.id.history); + historyList.addHeaderView(mInflater.inflate(R.layout.call_detail_header, null)); + mQuickContactBadge = (QuickContactBadge) findViewById(R.id.quick_contact_photo); mQuickContactBadge.setOverlay(null); mQuickContactBadge.setPrioritizedMimeType(Phone.CONTENT_ITEM_TYPE); -- cgit v1.2.3