Android library that offers accessible UI components with adjustable text sizes for enhanced readability in Android applications.
To use this library in your Android project, follow these steps:
- Download textaccessability project from the latest releases
- Import the module to your android project
- Implement in the application by writing the following code in your app build.gradle file
dependencies {
implementation project(':textaccessability')
...
}
- Add the following action to the event of the accessability text button
@Override
protected void onCreate(Bundle savedInstanceState) {
...
Button bigButton = view.findViewById(R.id.big_button);
bigButton.setOnClickListener(v -> updateAll(v, 1)); // 1 is for medium size.
}
- pick size 0, 1 or 2.