Loading res/values/strings.xml +4 −0 Original line number Diff line number Diff line Loading @@ -527,6 +527,10 @@ [CHAR LIMIT=15] --> <string name="call_log_missed_title">Missed</string> <!-- String resource for the font-family to use for the call log activity's title Do not translate. --> <string name="call_log_activity_title_font_family">sans-serif-light</string> <!-- Text displayed when the list of missed calls is empty --> <string name="recentMissed_empty">No recent missed calls.</string> Loading src/com/android/dialer/calllog/NewCallLogActivity.java +8 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,9 @@ import android.support.v13.app.FragmentPagerAdapter; import android.support.v4.view.PagerTabStrip; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener; import android.text.Spannable; import android.text.SpannableString; import android.text.style.TypefaceSpan; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; Loading Loading @@ -119,6 +122,11 @@ public class NewCallLogActivity extends Activity { actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setDisplayShowTitleEnabled(true); final SpannableString s = new SpannableString(getString(R.string.call_log_activity_title)); s.setSpan(new TypefaceSpan(getString(R.string.call_log_activity_title_font_family)), 0, s.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); actionBar.setTitle(s); final Tab allTab = actionBar.newTab(); final String allTitle = getString(R.string.call_log_all_title); allTab.setContentDescription(allTitle); Loading Loading
res/values/strings.xml +4 −0 Original line number Diff line number Diff line Loading @@ -527,6 +527,10 @@ [CHAR LIMIT=15] --> <string name="call_log_missed_title">Missed</string> <!-- String resource for the font-family to use for the call log activity's title Do not translate. --> <string name="call_log_activity_title_font_family">sans-serif-light</string> <!-- Text displayed when the list of missed calls is empty --> <string name="recentMissed_empty">No recent missed calls.</string> Loading
src/com/android/dialer/calllog/NewCallLogActivity.java +8 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,9 @@ import android.support.v13.app.FragmentPagerAdapter; import android.support.v4.view.PagerTabStrip; import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager.OnPageChangeListener; import android.text.Spannable; import android.text.SpannableString; import android.text.style.TypefaceSpan; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; Loading Loading @@ -119,6 +122,11 @@ public class NewCallLogActivity extends Activity { actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setDisplayShowTitleEnabled(true); final SpannableString s = new SpannableString(getString(R.string.call_log_activity_title)); s.setSpan(new TypefaceSpan(getString(R.string.call_log_activity_title_font_family)), 0, s.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); actionBar.setTitle(s); final Tab allTab = actionBar.newTab(); final String allTitle = getString(R.string.call_log_all_title); allTab.setContentDescription(allTitle); Loading