SchildiChat-android/tools/check/forbidden_strings_in_layout.txt

22 lines
693 B
Text
Raw Permalink Normal View History

2024-09-24 13:09:02 +03:00
# Copyright 2021-2024 New Vector Ltd.
2021-06-15 11:30:54 +03:00
#
2024-09-24 13:09:02 +03:00
# SPDX-License-Identifier: AGPL-3.0-only
# Please see LICENSE in the repository root for full details.
2021-06-15 11:30:54 +03:00
# This file list String which are not allowed in source code.
# Use Perl regex to write forbidden strings
# Note: line cannot start with a space. Use \s instead.
# It is possible to specify an authorized number of occurrence with === suffix. Default is 0
# Example:
# AuthorizedStringThreeTimes===3
# Extension:xml
### Use style="@style/Widget.Vector.TextView.*" instead of textSize attribute
2021-12-26 01:48:11 +03:00
android:textSize===11
### Use `@id` and not `@+id` when referencing ids in layouts
layout_(.*)="@\+id
accessibilityTraversal(.*)="@\+id
toolbarId="@\+id