Menu

Skip to content
  • Home
  • About

Mobile Dev Stories

issues, tutorials, and curious app development stuff

Monthly Archives: September 2016

[Android] Writing a % character in strings.xml

Posted on September 12, 2016 by mobiledevstories Standard Reply

%1$d %% remaining\nPlease Charge device

Note the double % when

More info on this SO question

Archives

  • October 2020
  • January 2019
  • March 2018
  • July 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • February 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • June 2013
  • January 2013
  • November 2012
  • September 2012

Meta

  • Register
  • Log in
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Mobile Dev Stories
    • Already have a WordPress.com account? Log in now.
    • Mobile Dev Stories
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar