according to the selected language how to display string values and view by using android code
You should localize your string resources. For example by default you might have a file called strings.xml in /res/values and strings.xml in /res/values-de for German translations.
If you meant how you can change the language at run-time programmatically then you might want to look into Locale.setDefault, for example to change to German:
sign in Sign in to add your reply or comment.