Quick settings tile that allows you to easily change your device language.
Quick settings panel expanded |
- Import Language Switcher tile to your app.
- Use
LanguageSwitcherTile.Builder
to enable tile with specified configuration. - Install the app on your device.
- Grant
CHANGE_CONFIGURATION
permission using following method:
adb shell pm grant com.azimo.sendmoney.languageswitchertile android.permission.CHANGE_CONFIGURATION
Open the quick settings panel, edit it and drop language switcher tile into it. When language switcher tile is enabled click on it and allow it to modify system settings. Now you can change your device language in two ways:
- Click language switch tile to select next language from a list of supported languages.
Tile clicked (with warning) |
- Long click language switch tile to open supported languages dialog and select language.
Tile long clicked |
If you attached a warning while enabling tile you should see it displayed in toast message after language selection. Now, you can expand quick settings panel to see selected language shortcut under Language Switcher Tile icon.
Copyright (C) 2018 Azimo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
We’re working throughout the company to create faster, cheaper, and more available financial services all over the world, and here are some of the techniques that we’re utilizing. There’s still a long way ahead of us, and if you’d like to be part of that journey, check out our careers page.