fix: Add build script and fix manifest
- Add build-apk.sh for easy compilation - Simplify AndroidManifest.xml - Fix themes.xml to use basic Android themes - Enable BuildConfig - Add okhttp-dnsoverhttps dependency
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:keyWidth="33.33%p"
|
||||
android:horizontalGap="@dimen/password_keyboard_horizontalGap"
|
||||
android:verticalGap="@dimen/password_keyboard_verticalGap"
|
||||
android:keyHeight="@dimen/password_keyboard_key_height_numeric"
|
||||
>
|
||||
|
||||
<Row android:rowEdgeFlags="top">
|
||||
<Key android:codes="49" android:keyIcon="@drawable/sym_keyboard_num1"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:codes="50" android:keyIcon="@drawable/sym_keyboard_num2"/>
|
||||
<Key android:codes="51" android:keyIcon="@drawable/sym_keyboard_num3"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row>
|
||||
<Key android:codes="52" android:keyIcon="@drawable/sym_keyboard_num4"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:codes="53" android:keyIcon="@drawable/sym_keyboard_num5"/>
|
||||
<Key android:codes="54" android:keyIcon="@drawable/sym_keyboard_num6"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row>
|
||||
<Key android:codes="55" android:keyIcon="@drawable/sym_keyboard_num7"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:codes="56" android:keyIcon="@drawable/sym_keyboard_num8"/>
|
||||
<Key android:codes="57" android:keyIcon="@drawable/sym_keyboard_num9"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:rowEdgeFlags="bottom">
|
||||
<Key android:codes="48" android:keyIcon="@drawable/sym_keyboard_num0_no_plus"
|
||||
android:keyWidth="66.66%p" android:keyEdgeFlags="left"/>
|
||||
<Key android:codes="10" android:keyIcon="@drawable/sym_keyboard_ok"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
</Keyboard>
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:keyWidth="8.272%p"
|
||||
keyboardHeight="@dimen/password_keyboard_height"
|
||||
android:keyHeight="@dimen/password_keyboard_key_height_alpha"
|
||||
android:horizontalGap="@dimen/password_keyboard_horizontalGap"
|
||||
android:verticalGap="@dimen/password_keyboard_verticalGap">
|
||||
|
||||
<Row android:keyWidth="8.272%p">
|
||||
<Key android:keyLabel="Tab"
|
||||
android:codes="9"/>
|
||||
<Key android:keyLabel="q" android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="w"/>
|
||||
<Key android:keyLabel="e"/>
|
||||
<Key android:keyLabel="r"/>
|
||||
<Key android:keyLabel="t"/>
|
||||
<Key android:keyLabel="y"/>
|
||||
<Key android:keyLabel="u"/>
|
||||
<Key android:keyLabel="i"/>
|
||||
<Key android:keyLabel="o"/>
|
||||
<Key android:keyLabel="p"/>
|
||||
<Key android:keyIcon="@drawable/sym_keyboard_delete_holo"
|
||||
android:codes="-5"
|
||||
android:keyWidth="9.331%p"
|
||||
android:isRepeatable="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.157%p">
|
||||
<Key android:codes="-2"
|
||||
android:keyLabel="@string/password_keyboard_label_symbol_key"
|
||||
android:keyWidth="11.167%p"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="a"/>
|
||||
<Key android:keyLabel="s"/>
|
||||
<Key android:keyLabel="d"/>
|
||||
<Key android:keyLabel="f"/>
|
||||
<Key android:keyLabel="g"/>
|
||||
<Key android:keyLabel="h"/>
|
||||
<Key android:keyLabel="j"/>
|
||||
<Key android:keyLabel="k"/>
|
||||
<Key android:keyLabel="l"/>
|
||||
<Key android:codes="10"
|
||||
android:keyIcon="@drawable/sym_keyboard_ok"
|
||||
android:keyWidth="15.750%p"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p">
|
||||
<Key android:codes="-1"
|
||||
android:keyIcon="@drawable/sym_keyboard_shift"
|
||||
android:keyWidth="15.192%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="z"/>
|
||||
<Key android:keyLabel="x"/>
|
||||
<Key android:keyLabel="c"/>
|
||||
<Key android:keyLabel="v"/>
|
||||
<Key android:keyLabel="b"/>
|
||||
<Key android:keyLabel="n"/>
|
||||
<Key android:keyLabel="m"/>
|
||||
<Key android:keyLabel="," />
|
||||
<Key android:keyLabel="." />
|
||||
<Key android:codes="-1"
|
||||
android:keyIcon="@drawable/sym_keyboard_shift"
|
||||
android:keyWidth="12.530%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p"
|
||||
android:keyboardMode="@+id/mode_normal">
|
||||
<Key android:keyLabel="/" android:horizontalGap="24.126%p"/>
|
||||
<Key android:keyLabel=" "
|
||||
android:keyWidth="37.454%p"/>
|
||||
<Key android:keyLabel="'" />
|
||||
<Key android:keyLabel="-" />
|
||||
</Row>
|
||||
|
||||
</Keyboard>
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:keyWidth="8.272%p"
|
||||
keyboardHeight="@dimen/password_keyboard_height"
|
||||
android:keyHeight="@dimen/password_keyboard_key_height_alpha"
|
||||
android:horizontalGap="@dimen/password_keyboard_horizontalGap"
|
||||
android:verticalGap="@dimen/password_keyboard_verticalGap">
|
||||
|
||||
<Row android:keyWidth="8.272%p">
|
||||
<Key android:keyLabel="Tab"
|
||||
android:codes="9"/>
|
||||
<Key android:keyLabel="Q" android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="W"/>
|
||||
<Key android:keyLabel="E"/>
|
||||
<Key android:keyLabel="R"/>
|
||||
<Key android:keyLabel="T"/>
|
||||
<Key android:keyLabel="Y"/>
|
||||
<Key android:keyLabel="U"/>
|
||||
<Key android:keyLabel="I"/>
|
||||
<Key android:keyLabel="O"/>
|
||||
<Key android:keyLabel="P"/>
|
||||
<Key android:keyIcon="@drawable/sym_keyboard_delete_holo"
|
||||
android:codes="-5"
|
||||
android:keyWidth="9.331%p"
|
||||
android:isRepeatable="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.157%p">
|
||||
<Key android:codes="-2"
|
||||
android:keyLabel="@string/password_keyboard_label_symbol_key"
|
||||
android:keyWidth="11.167%p"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="A"/>
|
||||
<Key android:keyLabel="S"/>
|
||||
<Key android:keyLabel="D"/>
|
||||
<Key android:keyLabel="F"/>
|
||||
<Key android:keyLabel="G"/>
|
||||
<Key android:keyLabel="H"/>
|
||||
<Key android:keyLabel="J"/>
|
||||
<Key android:keyLabel="K"/>
|
||||
<Key android:keyLabel="L"/>
|
||||
<Key android:codes="10"
|
||||
android:keyIcon="@drawable/sym_keyboard_ok"
|
||||
android:keyWidth="15.750%p"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p">
|
||||
<Key android:codes="-1"
|
||||
android:keyIcon="@drawable/sym_keyboard_shift"
|
||||
android:keyWidth="15.192%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="Z"/>
|
||||
<Key android:keyLabel="X"/>
|
||||
<Key android:keyLabel="C"/>
|
||||
<Key android:keyLabel="V"/>
|
||||
<Key android:keyLabel="B"/>
|
||||
<Key android:keyLabel="N"/>
|
||||
<Key android:keyLabel="M"/>
|
||||
<Key android:keyLabel="!" />
|
||||
<Key android:keyLabel="\?" />
|
||||
<Key android:codes="-1"
|
||||
android:keyIcon="@drawable/sym_keyboard_shift"
|
||||
android:keyWidth="12.530%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p"
|
||||
android:keyboardMode="@+id/mode_normal">
|
||||
<Key android:keyLabel="\@" android:horizontalGap="24.126%p"/>
|
||||
<Key android:keyLabel=" "
|
||||
android:keyWidth="37.454%p"/>
|
||||
<Key android:keyLabel=""" />
|
||||
<Key android:keyLabel="_" />
|
||||
</Row>
|
||||
|
||||
</Keyboard>
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:keyWidth="8.272%p"
|
||||
keyboardHeight="@dimen/password_keyboard_height"
|
||||
android:keyHeight="@dimen/password_keyboard_key_height_alpha"
|
||||
android:horizontalGap="@dimen/password_keyboard_horizontalGap"
|
||||
android:verticalGap="@dimen/password_keyboard_verticalGap">
|
||||
|
||||
<Row android:keyWidth="8.272%p">
|
||||
<Key android:keyLabel="Tab"
|
||||
android:codes="9"/>
|
||||
<Key android:keyLabel="1" android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="2"/>
|
||||
<Key android:keyLabel="3"/>
|
||||
<Key android:keyLabel="4"/>
|
||||
<Key android:keyLabel="5"/>
|
||||
<Key android:keyLabel="6"/>
|
||||
<Key android:keyLabel="7"/>
|
||||
<Key android:keyLabel="8"/>
|
||||
<Key android:keyLabel="9"/>
|
||||
<Key android:keyLabel="0"/>
|
||||
<Key android:keyIcon="@drawable/sym_keyboard_delete_holo"
|
||||
android:codes="-5"
|
||||
android:keyWidth="9.331%p"
|
||||
android:isRepeatable="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.157%p">
|
||||
<Key android:codes="-2"
|
||||
android:keyLabel="@string/password_keyboard_label_alpha_key"
|
||||
android:keyWidth="11.167%p"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="\#"/>
|
||||
<Key android:keyLabel="$"/>
|
||||
<Key android:keyLabel="%"/>
|
||||
<Key android:keyLabel="&"/>
|
||||
<Key android:keyLabel="*"/>
|
||||
<Key android:keyLabel="-"/>
|
||||
<Key android:keyLabel="+"/>
|
||||
<Key android:keyLabel="("/>
|
||||
<Key android:keyLabel=")"/>
|
||||
<Key android:codes="10"
|
||||
android:keyIcon="@drawable/sym_keyboard_ok"
|
||||
android:keyWidth="15.750%p"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p">
|
||||
<Key android:codes="-1"
|
||||
android:keyLabel="@string/password_keyboard_label_alt_key"
|
||||
android:keyWidth="15.192%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="<"/>
|
||||
<Key android:keyLabel=">"/>
|
||||
<Key android:keyLabel="="/>
|
||||
<Key android:keyLabel=":"/>
|
||||
<Key android:keyLabel=";"/>
|
||||
<Key android:keyLabel=","/>
|
||||
<Key android:keyLabel="."/>
|
||||
<Key android:keyLabel="!" />
|
||||
<Key android:keyLabel="\?" />
|
||||
<Key android:codes="-1"
|
||||
android:keyLabel="@string/password_keyboard_label_alt_key"
|
||||
android:keyWidth="12.530%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p">
|
||||
<Key android:keyLabel="\@" android:horizontalGap="16.084%p"/>
|
||||
<Key android:keyLabel="/" />
|
||||
<Key android:keyLabel=" "
|
||||
android:keyWidth="37.454%p"/>
|
||||
<Key android:keyLabel="\'" />
|
||||
<Key android:keyLabel="-" />
|
||||
</Row>
|
||||
|
||||
</Keyboard>
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:keyWidth="10%p"
|
||||
android:horizontalGap="@dimen/password_keyboard_horizontalGap"
|
||||
android:verticalGap="@dimen/password_keyboard_verticalGap"
|
||||
android:keyHeight="@dimen/password_keyboard_key_height_alpha">
|
||||
|
||||
<Row android:keyWidth="8.272%p"
|
||||
android:rowEdgeFlags="top">
|
||||
<Key android:keyLabel="Tab" android:codes="9"/>
|
||||
<Key android:keyLabel="~" />
|
||||
<Key android:keyLabel="`" />
|
||||
<Key android:keyLabel="|" />
|
||||
<Key android:keyLabel="•" />
|
||||
<Key android:keyLabel="√" />
|
||||
<Key android:keyLabel="π" />
|
||||
<Key android:keyLabel="÷" />
|
||||
<Key android:keyLabel="×" />
|
||||
<Key android:keyLabel="§" />
|
||||
<Key android:keyLabel="Δ" />
|
||||
<Key android:keyIcon="@drawable/sym_keyboard_delete_holo"
|
||||
android:codes="-5"
|
||||
android:keyWidth="9.331%p"
|
||||
android:isRepeatable="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.157%p">
|
||||
<Key android:codes="-2"
|
||||
android:keyLabel="@string/password_keyboard_label_alpha_key"
|
||||
android:keyWidth="11.167%p"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="£" />
|
||||
<Key android:keyLabel="¢" />
|
||||
<Key android:keyLabel="€" />
|
||||
<Key android:keyLabel="¥" />
|
||||
<Key android:keyLabel="^"/>
|
||||
<Key android:keyLabel="°" />
|
||||
<Key android:keyLabel="±" />
|
||||
<Key android:keyLabel="{" />
|
||||
<Key android:keyLabel="}" />
|
||||
<Key android:codes="10"
|
||||
android:keyIcon="@drawable/sym_keyboard_ok"
|
||||
android:keyWidth="15.750%p"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<Row android:keyWidth="8.042%p">
|
||||
<Key android:codes="-1"
|
||||
android:keyLabel="@string/password_keyboard_label_alt_key"
|
||||
android:keyWidth="15.192%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="left"/>
|
||||
<Key android:keyLabel="\\" />
|
||||
<Key android:keyLabel="©" />
|
||||
<Key android:keyLabel="®" />
|
||||
<Key android:keyLabel="™" />
|
||||
<Key android:keyLabel="℅" />
|
||||
<Key android:keyLabel="[" />
|
||||
<Key android:keyLabel="]" />
|
||||
<Key android:keyLabel="¡" />
|
||||
<Key android:keyLabel="¿" />
|
||||
<Key android:codes="-1"
|
||||
android:keyLabel="@string/password_keyboard_label_alt_key"
|
||||
android:keyWidth="12.530%p"
|
||||
android:isModifier="true"
|
||||
android:isSticky="true"
|
||||
android:keyEdgeFlags="right"/>
|
||||
</Row>
|
||||
|
||||
<!-- This row is intentionally not marked as a bottom row -->
|
||||
<Row android:keyWidth="8.042%p">
|
||||
<Key android:keyLabel=" " android:horizontalGap="32.168%p"
|
||||
android:keyWidth="37.454%p"/>
|
||||
</Row>
|
||||
</Keyboard>
|
||||
Reference in New Issue
Block a user