removing some style comments

This commit is contained in:
tibbi 2022-01-08 20:51:40 +01:00
parent 9902bea474
commit 731c599c78

View File

@ -23,9 +23,8 @@
<declare-styleable name="MyKeyboardView"> <declare-styleable name="MyKeyboardView">
<attr name="keyboardViewStyle" format="reference" /> <attr name="keyboardViewStyle" format="reference" />
<!-- Image for the key. This image needs to be a StateListDrawable, with the following <!-- Image for the key. This image needs to be a StateListDrawable, with the following possible states:
possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, normal, pressed, checkable, checkable+pressed, checkable+checked, checkable+checked+pressed. -->
checkable+checked+pressed. -->
<attr name="keyBackground" format="reference" /> <attr name="keyBackground" format="reference" />
<!-- Size of the text for character keys. --> <!-- Size of the text for character keys. -->
<attr name="keyTextSize" format="dimension" /> <attr name="keyTextSize" format="dimension" />
@ -53,81 +52,57 @@
</declare-styleable> </declare-styleable>
<declare-styleable name="Keyboard"> <declare-styleable name="Keyboard">
<!-- Default width of a key, in pixels or percentage of display width. <!-- Default width of a key, in pixels or percentage of display width. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyWidth" format="dimension|fraction" /> <attr name="keyWidth" format="dimension|fraction" />
<!-- Default height of a key, in pixels or percentage of display width. <!-- Default height of a key, in pixels or percentage of display width. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyHeight" format="dimension|fraction" /> <attr name="keyHeight" format="dimension|fraction" />
<!-- Default horizontal gap between keys. <!-- Default horizontal gap between keys. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="horizontalGap" format="dimension|fraction" /> <attr name="horizontalGap" format="dimension|fraction" />
<!-- Default vertical gap between rows of keys. <!-- Default vertical gap between rows of keys. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="verticalGap" format="dimension|fraction" /> <attr name="verticalGap" format="dimension|fraction" />
</declare-styleable> </declare-styleable>
<declare-styleable name="Keyboard_Row"> <declare-styleable name="Keyboard_Row">
<!-- Row edge flags. <!-- Row edge flags. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="rowEdgeFlags"> <attr name="rowEdgeFlags">
<!-- Row is anchored to the top of the keyboard. <!-- Row is anchored to the top of the keyboard. -->
{@deprecated Copy this definition into your own application project.} -->
<flag name="top" value="4" /> <flag name="top" value="4" />
<!-- Row is anchored to the bottom of the keyboard. <!-- Row is anchored to the bottom of the keyboard. -->
{@deprecated Copy this definition into your own application project.} -->
<flag name="bottom" value="8" /> <flag name="bottom" value="8" />
</attr> </attr>
<!-- Mode of the keyboard. If the mode doesn't match the <!-- Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the row will be skipped. -->
requested keyboard mode, the row will be skipped.
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyboardMode" format="reference" /> <attr name="keyboardMode" format="reference" />
</declare-styleable> </declare-styleable>
<declare-styleable name="Keyboard_Key"> <declare-styleable name="Keyboard_Key">
<!-- The unicode value or comma-separated values that this key outputs. <!-- The unicode value or comma-separated values that this key outputs. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="codes" format="integer|string" /> <attr name="codes" format="integer|string" />
<!-- The XML keyboard layout of any popup keyboard. <!-- The XML keyboard layout of any popup keyboard. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="popupKeyboard" format="reference" /> <attr name="popupKeyboard" format="reference" />
<!-- The characters to display in the popup keyboard. <!-- The characters to display in the popup keyboard. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="popupCharacters" format="string" /> <attr name="popupCharacters" format="string" />
<!-- Key edge flags. <!-- Key edge flags. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyEdgeFlags"> <attr name="keyEdgeFlags">
<!-- Key is anchored to the left of the keyboard. <!-- Key is anchored to the left of the keyboard. -->
{@deprecated Copy this definition into your own application project.} -->
<flag name="left" value="1" /> <flag name="left" value="1" />
<!-- Key is anchored to the right of the keyboard. <!-- Key is anchored to the right of the keyboard. -->
{@deprecated Copy this definition into your own application project.} -->
<flag name="right" value="2" /> <flag name="right" value="2" />
</attr> </attr>
<!-- Whether this is a modifier key such as Alt or Shift. <!-- Whether this is a modifier key such as Alt or Shift. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="isModifier" format="boolean" /> <attr name="isModifier" format="boolean" />
<!-- Whether this is a toggle key. <!-- Whether this is a toggle key. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="isSticky" format="boolean" /> <attr name="isSticky" format="boolean" />
<!-- Whether long-pressing on this key will make it repeat. <!-- Whether long-pressing on this key will make it repeat. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="isRepeatable" format="boolean" /> <attr name="isRepeatable" format="boolean" />
<!-- The icon to show in the popup preview. <!-- The icon to show in the popup preview. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="iconPreview" format="reference" /> <attr name="iconPreview" format="reference" />
<!-- The string of characters to output when this key is pressed. <!-- The string of characters to output when this key is pressed. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyOutputText" format="string" /> <attr name="keyOutputText" format="string" />
<!-- The label to display on the key. <!-- The label to display on the key. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyLabel" format="string" /> <attr name="keyLabel" format="string" />
<!-- The icon to display on the key instead of the label. <!-- The icon to display on the key instead of the label. -->
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyIcon" format="reference" /> <attr name="keyIcon" format="reference" />
<!-- Mode of the keyboard. If the mode doesn't match the <!-- Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the key will be skipped. -->
requested keyboard mode, the key will be skipped.
{@deprecated Copy this definition into your own application project.} -->
<attr name="keyboardMode" /> <attr name="keyboardMode" />
</declare-styleable> </declare-styleable>
</resources> </resources>