public static RemoteViews createRemoteViews(Context context, boolean showPlayIcon) {
        RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.remote_view);

        int iconRes = showPlayIcon ? R.drawable.ic_play : R.drawable.ic_stop;
        remoteViews.setImageViewResource(R.id.play_pause, iconRes);
        return remoteViews;
    }
Creates a RemoteViews that will be shown as the bottom bar of the custom tab.
@param showPlayIcon If true, a play icon will be shown, otherwise show a pause icon.
@return The created RemoteViews instance.
Application/src/main/java/org/chromium/customtabsclient/BottomBarManager.java