Guest User

Untitled

a guest
Aug 19th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. Localization for right-to-left languages and Hindu-Arabic numbers
  2. <string name="copyright_info">גרסה %snהזכויות שמורות כל הזכויות שמורות © 2011 בארי אירווין .כל הזכויות שמורות</string>
  3.  
  4.  
  5. <string name="copyright_info">Version %snCopyright © 2011 Barry Irvine. All
  6. Rights Reserved.</string>
  7.  
  8. TextView rating = (TextView) rowView
  9. .findViewById(R.id.TextView_PlayerRating);
  10. rating.setText(getResources().getString(R.string.rating)
  11. + ": " + values.get(position).rating.toString());
  12.  
  13. Locale locale = new Locale("he");
  14. Locale.setDefault(locale);
  15. Configuration config = new Configuration();
  16. config.locale= locale;
  17. getBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());
Add Comment
Please, Sign In to add comment