new setting to show/hide new stt button - defaults to 'show' to enable discovery by user. move compose stt feature from double-tap compose entry box to new button on compose activity

This commit is contained in:
gavine99
2025-02-12 14:35:17 +11:00
parent 7003306666
commit 51a0576ce0
11 changed files with 112 additions and 59 deletions
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<vector xmlns:aapt="http://schemas.android.com/aapt"
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="56dp"
android:width="56dp"
android:viewportHeight="100.0"
android:viewportWidth="100.0">
<path android:fillColor="#FF000000" android:pathData="m41.16 52.48h0.37891l0.46875-0.019531c0.32031 0 0.62891-0.03125 0.94141-0.089844 0.62891-0.078125 1.25-0.23047 1.8516-0.42969 2.4102-0.80078 4.4805-2.5391 5.7109-4.7695 1.2383-2.2383 1.5898-4.9492 0.98047-7.4492-0.30859-1.25-0.85156-2.4492-1.5898-3.5117-0.37109-0.53125-0.80078-1.0312-1.2617-1.4805l-1.0586-1.0391c-5.3086-5.3086-9.0508-12.078-10.648-19.211-0.33984-1.5781-0.80078-3.9297-1.7617-5.4805-0.96094-1.5781-2.4297-2.5312-4.8203-1.7812-1.9609 0.60938-2.4805 2.1016-2.3984 3.8516 0.039063 0.87891 0.23828 1.8086 0.48047 2.7383 0.12891 0.46094 0.26172 0.92188 0.37891 1.3711 0.14844 0.48047 0.28906 0.94922 0.42969 1.3984 2.5117 8.0508 7.1914 15.391 13.301 21.129 0.37109 0.37109 0.76953 0.71094 1.1602 1.0586l0.57031 0.51172c0.10156 0.078125 0.19141 0.17188 0.28125 0.26172 0.35156 0.35938 0.64844 0.78906 0.85156 1.2617 0.42188 0.92969 0.46094 2.0586 0.12109 3.0391-0.32812 0.98828-1.0586 1.8594-1.9883 2.3789-0.46094 0.26172-0.96875 0.42188-1.5 0.48828-0.33984 0.058594-1.5586 0.039063-2.4805 0.039063h-1.5781c-1.6602 0.019531-3.2891 0.91016-4.1914 2.3008-0.46094 0.69141-0.75 1.5-0.82812 2.3281l-0.019532 0.30859v0.23828 0.19141 0.37891 1.5195 6.0781 6.0781 2.9297c-0.019531 0.39062-0.12891 0.76172-0.33984 1.0898-0.19922 0.32812-0.51172 0.60156-0.83984 0.78125-0.17188 0.089844-0.35156 0.14844-0.53125 0.19922-0.089844 0.019531-0.19141 0.03125-0.28125 0.039062-0.10938 0-0.14062 0.019531-0.46094 0.011719h-6.0781-3.0391-0.37891-0.33984c-0.14844 0-0.30078 0.019531-0.44922 0.039062-0.60156 0.070313-1.1914 0.23047-1.75 0.46875-1.1094 0.48047-2.0703 1.3086-2.7188 2.3281-0.16016 0.26172-0.30859 0.53125-0.42188 0.80078l-0.14844 0.35156-0.30859 0.69922-0.62109 1.3906-1.2305 2.7812c-1.0781 2.4414-3.5898 5.6602-0.30078 7.3086 3.5586 1.7812 4.2305-2.4609 5.3008-4.7617l2.4883-5.3984c0.12109-0.23828 0.23828-0.26172 0.39844-0.28125l2.9414 0.019532 5.9492 0.019531c0.51172 0 0.92188 0.019531 1.6797-0.03125 0.67969-0.070313 1.3594-0.19922 2-0.44922 1.3008-0.46094 2.4492-1.2812 3.3398-2.3203 0.89062-1.0391 1.5-2.3203 1.7617-3.6719 0.050781-0.33984 0.10938-0.67969 0.12109-1.0195l0.019531-0.5v-0.37109-1.4883l-0.019531-5.9492v-5.9492-2.7617h2.5z "/>
<path android:fillColor="#FF000000" android:pathData="m60.738 79.211c2.8281 2.7891 2.6914 1.2695 3.0898 0.87891 2.5391-2.7188 3.7891-6.4688 4.0195-10.129 0.12891-1.8516 0.050782-3.6992-0.16016-5.5898s-0.55078-3.8398-1.0586-5.9102c-0.21094-0.96875-0.82812-2.3711-4.6719 0.80859-3.1797 2.6211-2.3711 2.8906-2.1094 3.3594 0.62109 1.0117 1.1719 2.0508 1.6094 3.1797 0.42969 1.1289 0.71875 2.3516 0.67969 3.5898-0.12109 2.5898-1.0703 5.0898-2.6406 7.1289-0.30078 0.33984-1.3906 0.10156 1.2383 2.6797z "/>
<path android:fillColor="#FF000000" android:pathData="m77.199 88.02c-0.62891 0.82812-2.2812 1.3789 0.51172 3.8008 3 2.6094 3.3008 0.39844 4.0117-0.46875 4.3203-5.6914 6.6602-12.762 7.1289-19.859 0.25-3.5586 0.089844-7.1289-0.37891-10.699-0.46875-3.5781-1.2695-7.1602-2.4102-10.762-0.21875-0.85938-0.66016-1.8594-1.5-2.3281-0.85156-0.46875-2.1289-0.33984-4.1914 1.0703-3.3984 2.3398-2 3.6484-1.4219 4.8086 1.3711 2.5898 2.4414 5.3281 3.1992 8.1797 0.75 2.8516 1.1602 5.8281 1.0195 8.8086-0.33984 6.2305-2.4414 12.309-5.9609 17.43z "/>
</vector>