Skip to content

Commit

Permalink
Move parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rkkr committed Nov 2, 2019
1 parent ea3ae92 commit bf0485a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 21 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "rkr.tinykeyboard.inputmethod"
minSdkVersion 15
targetSdkVersion 29
versionCode 2
versionName "0.2"
versionCode 3
versionName "0.3"
}
buildTypes {
release {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@

<resources>
<dimen name="key_height">50dp</dimen>
<dimen name="key_width">10%p</dimen>
<dimen name="key_text_size">18dp</dimen>
</resources>
3 changes: 0 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@
<string name="label_go_key">Go</string>
<string name="label_next_key">Next</string>
<string name="label_send_key">Send</string>

<!-- Labels for subtype -->
<string name="label_subtype_generic">%s</string>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/xml/method.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
android:supportsSwitchingToNextInputMethod="true"
>
<subtype
android:label="@string/label_subtype_generic"
android:label="%s"
android:imeSubtypeLocale="en_US"
android:imeSubtypeMode="keyboard" />
</input-method>
10 changes: 5 additions & 5 deletions app/src/main/res/xml/qwerty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
-->

<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:keyWidth="@dimen/key_width"
android:keyHeight="@dimen/key_height"
>

Expand Down Expand Up @@ -62,10 +62,10 @@

<Row android:rowEdgeFlags="bottom">
<Key android:codes="-2" android:keyLabel="123" android:keyWidth="15%p" android:keyEdgeFlags="left"/>
<Key android:codes="44" android:keyLabel="," android:keyWidth="10%p"/>
<Key android:codes="-101" android:keyLabel="@string/language" android:keyWidth="10%p"/>
<Key android:codes="32" android:keyLabel=" " android:keyWidth="35%p" android:isRepeatable="true"/>
<Key android:codes="46" android:keyLabel="." android:keyWidth="10%p"/>
<Key android:codes="44" android:keyLabel=","/>
<Key android:codes="-101" android:keyLabel="@string/language"/>
<Key android:codes="32" android:keyLabel="" android:keyWidth="35%p" android:isRepeatable="true"/>
<Key android:codes="46" android:keyLabel="."/>
<Key android:codes="-4" android:keyLabel="@string/enter" android:keyWidth="20%p" android:keyEdgeFlags="right"/>
</Row>
</Keyboard>
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/res/xml/symbols.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
-->

<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:keyWidth="@dimen/key_width"
android:keyHeight="@dimen/key_height"
>

Expand Down Expand Up @@ -63,10 +63,10 @@

<Row android:rowEdgeFlags="bottom">
<Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="15%p" android:keyEdgeFlags="left"/>
<Key android:codes="44" android:keyLabel="," android:keyWidth="10%p"/>
<Key android:codes="-101" android:keyLabel="@string/language" android:keyWidth="10%p"/>
<Key android:codes="32" android:keyLabel=" " android:keyWidth="35%p" android:isRepeatable="true"/>
<Key android:codes="46" android:keyLabel="." android:keyWidth="10%p"/>
<Key android:codes="44" android:keyLabel=","/>
<Key android:codes="-101" android:keyLabel="@string/language"/>
<Key android:codes="32" android:keyLabel="" android:keyWidth="35%p" android:isRepeatable="true"/>
<Key android:codes="46" android:keyLabel="."/>
<Key android:codes="-4" android:keyLabel="@string/enter" android:keyWidth="20%p" android:keyEdgeFlags="right"/>
</Row>
</Keyboard>
10 changes: 5 additions & 5 deletions app/src/main/res/xml/symbols_shift.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
-->

<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:keyWidth="@dimen/key_width"
android:keyHeight="@dimen/key_height"
>

Expand Down Expand Up @@ -63,10 +63,10 @@

<Row android:rowEdgeFlags="bottom">
<Key android:codes="-2" android:keyLabel="ABC" android:keyWidth="15%p" android:keyEdgeFlags="left"/>
<Key android:codes="44" android:keyLabel="," android:keyWidth="10%p"/>
<Key android:codes="-101" android:keyLabel="@string/language" android:keyWidth="10%p"/>
<Key android:codes="32" android:keyLabel=" " android:keyWidth="35%p" android:isRepeatable="true"/>
<Key android:codes="8230" android:keyLabel="" android:keyWidth="10%p"/>
<Key android:codes="44" android:keyLabel=","/>
<Key android:codes="-101" android:keyLabel="@string/language"/>
<Key android:codes="32" android:keyLabel="" android:keyWidth="35%p" android:isRepeatable="true"/>
<Key android:codes="8230" android:keyLabel=""/>
<Key android:codes="-4" android:keyLabel="@string/enter" android:keyWidth="20%p" android:keyEdgeFlags="right"/>
</Row>
</Keyboard>

0 comments on commit bf0485a

Please sign in to comment.