idView.setText(getString(R.string.estate_id, mCollectParamObj.getPlotNo()));

 

estate_id:小区号%1$s

 

%d   (表示整数)

%f    (表示浮点数)

%s   (表示字符串)

 String temp = getResources().getString(R.string.loading);
String timeTip = String.format(temp,123456.123456);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
猜你喜欢
  • 2021-10-11
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案