code: public static void register(int fromId, int toId) {
          if (toId == 0) {
              sLayoutRemap.delete(fromId);
          } else {
              sLayoutRemap.put(fromId, toId);
          }
      }
docs: Hack for overriding android default layouts for custom.<br />
  For example, if some parts of android framework try to inflate layout {@link android.R.layout#simple_list_item_1}
  you can override this behavior and replace system layout by custom<br />
  Just call register(android.R.layout.simple_list_item_1, R.layout.my_simple_list_item)<br />
  <br />
  Be sure that you need for it before using. You are warned.