private void obtainBreadCrumbBackgroundColor ( ) { int color ; try { color = ThemeUtil . getColor ( this , R . attr . breadCrumbBackgroundColor ) ; } catch ( NotFoundException e ) { color = ContextCompat . getColor ( this , R . color . bread_crumb_background_light ) ; } setBreadCrumbBackgroundColor ( color ) ; }
Obtains the background color of the toolbar which is used to show the bread crumb of the currently selected navigation preference when using the split screen layout from the activity s theme .