Big changes: Multilingual, dbupdating, bugfixes:
* Multilingual backend support with initial Russian language support * Updater service to update the database in the background, and overhauled backend access * Fixed long pressing numbers in Lang mode would not input digit * Fixed Add Word not behaving as you would expect * Some other minor fixes
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<!-- Gradient Bg for bootan -->
|
||||
<gradient
|
||||
android:startColor="#424542"
|
||||
android:endColor="#A5A2A5"
|
||||
android:angle="90" />
|
||||
</shape>
|
||||
<!-- Gradient Bg for bootan -->
|
||||
<gradient
|
||||
android:startColor="#424542"
|
||||
android:endColor="#A5A2A5"
|
||||
android:angle="90" />
|
||||
</shape>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/button_grad_press"
|
||||
android:state_pressed="true" />
|
||||
<item android:drawable="@drawable/button_grad"
|
||||
android:state_focused="true" />
|
||||
<item android:drawable="@drawable/button_grad" />
|
||||
</selector>
|
||||
<item android:drawable="@drawable/button_grad_press"
|
||||
android:state_pressed="true" />
|
||||
<item android:drawable="@drawable/button_grad"
|
||||
android:state_focused="true" />
|
||||
<item android:drawable="@drawable/button_grad" />
|
||||
</selector>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<!-- Gradient Bg for bootan -->
|
||||
<gradient
|
||||
android:startColor="#181C18"
|
||||
android:endColor="#6B6D6B"
|
||||
android:angle="90" />
|
||||
</shape>
|
||||
<!-- Gradient Bg for button -->
|
||||
<gradient
|
||||
android:startColor="#181C18"
|
||||
android:endColor="#6B6D6B"
|
||||
android:angle="90" />
|
||||
</shape>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<!-- Gradient Bg for bootan -->
|
||||
<gradient
|
||||
android:startColor="#8C8E8C"
|
||||
android:endColor="#636163"
|
||||
android:angle="90" />
|
||||
</shape>
|
||||
<!-- Gradient Bg for button -->
|
||||
<gradient
|
||||
android:startColor="#8C8E8C"
|
||||
android:endColor="#636163"
|
||||
android:angle="90" />
|
||||
</shape>
|
||||
|
|
|
|||
BIN
res/drawable/holdicon.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
res/drawable/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
res/drawable/ime_en_lang_lower.png
Normal file
|
After Width: | Height: | Size: 842 B |
BIN
res/drawable/ime_en_lang_single.png
Normal file
|
After Width: | Height: | Size: 749 B |
BIN
res/drawable/ime_en_lang_upper.png
Normal file
|
After Width: | Height: | Size: 874 B |
BIN
res/drawable/ime_en_text_lower.png
Normal file
|
After Width: | Height: | Size: 967 B |
BIN
res/drawable/ime_en_text_single.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
res/drawable/ime_en_text_upper.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
res/drawable/ime_number.png
Normal file
|
After Width: | Height: | Size: 824 B |
BIN
res/drawable/ime_ru_lang_lower.png
Normal file
|
After Width: | Height: | Size: 831 B |
BIN
res/drawable/ime_ru_lang_single.png
Normal file
|
After Width: | Height: | Size: 764 B |
BIN
res/drawable/ime_ru_lang_upper.png
Normal file
|
After Width: | Height: | Size: 752 B |
BIN
res/drawable/ime_ru_text_lower.png
Normal file
|
After Width: | Height: | Size: 929 B |
BIN
res/drawable/ime_ru_text_single.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
res/drawable/ime_ru_text_upper.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
res/drawable/key_eight.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
res/drawable/key_five.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
res/drawable/key_four.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
res/drawable/key_nine.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
res/drawable/key_one.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
res/drawable/key_pound.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
res/drawable/key_seven.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
res/drawable/key_six.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
res/drawable/key_star.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
res/drawable/key_three.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
res/drawable/key_two.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
res/drawable/key_zero.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
res/drawable/rcycle.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -1,41 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<EditText
|
||||
android:id="@+id/add_word_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:privateImeOptions="org.nyanya.android.traditionalt9.addword=true" >
|
||||
<EditText
|
||||
android:id="@+id/add_word_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="text"
|
||||
android:privateImeOptions="org.nyanya.android.traditionalt9.addword=true" >
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/add_word_add"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:onClick="addWordButton"
|
||||
android:text="@string/add_word" />
|
||||
<Button
|
||||
android:id="@+id/add_word_add"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:onClick="addWordButton"
|
||||
android:text="@string/add_word" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/add_word_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:onClick="cancelButton"
|
||||
android:text="@string/cancel" />
|
||||
<Button
|
||||
android:id="@+id/add_word_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:onClick="cancelButton"
|
||||
android:text="@string/cancel" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,40 +1,40 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dp" >
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/left_hold_upper"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/main_left_insert"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="15sp" />
|
||||
<TextView
|
||||
android:id="@+id/left_hold_upper"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/main_left_insert"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/left_hold_lower"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:drawableLeft="@drawable/holdicon"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:text="@string/main_left_addword"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="11sp" />
|
||||
<TextView
|
||||
android:id="@+id/left_hold_lower"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:drawableLeft="@drawable/holdicon"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:text="@string/main_left_addword"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="11sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dp" >
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/main_left_insert"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="15sp" />
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/main_left_insert"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,61 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/bggradient"
|
||||
android:baselineAligned="true"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal" >
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/bggradient"
|
||||
android:baselineAligned="true"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ViewSwitcher
|
||||
android:id="@+id/main_left"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:longClickable="true" >
|
||||
|
||||
<ViewSwitcher
|
||||
android:id="@+id/main_left"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:longClickable="true" >
|
||||
|
||||
<include android:id="@+id/main_left_nohold" layout="@layout/lbuttonnohold" />
|
||||
<include android:id="@+id/main_left_hold" layout="@layout/lbuttonhold" />
|
||||
|
||||
</ViewSwitcher>
|
||||
<include android:id="@+id/main_left_hold" layout="@layout/lbuttonhold" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/main_mid"
|
||||
android:layout_width="94px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:text="@string/main_mid"
|
||||
android:textColor="@color/button_text" />
|
||||
</ViewSwitcher>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/main_right"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/button_custom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingTop="1dp" >
|
||||
<Button
|
||||
android:id="@+id/main_mid"
|
||||
android:layout_width="94px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:text="@string/main_mid"
|
||||
android:textColor="@color/button_text" />
|
||||
|
||||
<include
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="0dp"
|
||||
layout="@layout/rbutton" />
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/main_right"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/button_custom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingTop="1dp" >
|
||||
|
||||
</LinearLayout>
|
||||
<include
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="0dp"
|
||||
layout="@layout/rbutton" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,57 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/bggradient"
|
||||
android:baselineAligned="true"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal" >
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/bggradient"
|
||||
android:baselineAligned="true"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/main_leftold"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:text="@string/main_left_insert"
|
||||
android:textColor="@color/button_text" />
|
||||
<Button
|
||||
android:id="@+id/main_leftold"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:text="@string/main_left_insert"
|
||||
android:textColor="@color/button_text" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/main_mid"
|
||||
android:layout_width="94px"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:text="@string/main_mid"
|
||||
android:textColor="@color/button_text" />
|
||||
<Button
|
||||
android:id="@+id/main_mid"
|
||||
android:layout_width="94px"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginRight="1px"
|
||||
android:background="@drawable/button_custom"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:text="@string/main_mid"
|
||||
android:textColor="@color/button_text" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/main_right"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/button_custom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingTop="1dp" >
|
||||
<RelativeLayout
|
||||
android:id="@+id/main_right"
|
||||
android:layout_width="190px"
|
||||
android:layout_height="58dp"
|
||||
android:layout_marginLeft="1px"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@drawable/button_custom"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:longClickable="true"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingTop="1dp" >
|
||||
|
||||
<include
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="0dp"
|
||||
layout="@layout/rbutton" />
|
||||
</RelativeLayout>
|
||||
<include
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="0dp"
|
||||
layout="@layout/rbutton" />
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,42 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dp" >
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:layout_marginRight="0dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="5dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:drawableLeft="@drawable/rcycle"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/main_right_upper"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="15sp" />
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:drawableLeft="@drawable/rcycle"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/main_right_upper"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:drawableLeft="@drawable/holdicon"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:text="@string/main_right_lower"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="11sp" />
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|center_horizontal"
|
||||
android:drawableLeft="@drawable/holdicon"
|
||||
android:drawablePadding="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="2dp"
|
||||
android:text="@string/main_right_lower"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textColor="@color/button_text"
|
||||
android:textSize="11sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,202 +1,202 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:padding="2dp" >
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:padding="2dp" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keyone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_one"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keyone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_one"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keytwo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerInParent="false"
|
||||
android:background="@drawable/key_two"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keytwo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerInParent="false"
|
||||
android:background="@drawable/key_two"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keythree"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_three"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keythree"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_three"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keyfour"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_four"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keyfour"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_four"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keyfive"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/key_five"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keyfive"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/key_five"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keysix"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_six"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keysix"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_six"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keyseven"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_seven"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keyseven"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_seven"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keyeight"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/key_eight"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keyeight"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/key_eight"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keynine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_nine"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keynine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_nine"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keystar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_star"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/symbol_prev"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text" />
|
||||
<TextView
|
||||
android:id="@+id/text_keystar"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="@drawable/key_star"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/symbol_prev"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keyzero"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/key_zero"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
<TextView
|
||||
android:id="@+id/text_keyzero"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/key_zero"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text"
|
||||
android:textSize="30sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_keypound"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_pound"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/symbol_next"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text" />
|
||||
<TextView
|
||||
android:id="@+id/text_keypound"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/key_pound"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/symbol_next"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textColor="@color/key_text" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_settings"/>
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
</menu>
|
||||
|
|
|
|||
61
res/values-ru/strings.xml
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">Traditional T9</string>
|
||||
<string name="ime_name">Клавиатура T9</string>
|
||||
<string name="ime_english">T9</string>
|
||||
<string name="ime_number">Цифры</string>
|
||||
<string name="pref_inputmode">Режим ввода по умолчанию</string>
|
||||
<string name="pref_inputmode_desc">Режим ввода по умолчанию</string>
|
||||
<string name="traditionalt9_settings">Traditional T9 настройки</string>
|
||||
<string name="main_left_insert">вставить символ</string>
|
||||
<string name="main_left_addword">Добавить слово</string>
|
||||
<string name="main_mid">Готово</string>
|
||||
<string name="main_mid_commit">Commit</string>
|
||||
<string name="main_right_upper">Режим ввода</string>
|
||||
<string name="main_right_lower">Изменить IME</string>
|
||||
<string name="main_left_notfound">Добавить слово?</string>
|
||||
<string name="ricon_desc">Hold Icon</string>
|
||||
<string name="symbol_next">Следущая страница</string>
|
||||
<string name="symbol_prev">Предыдущая страница</string>
|
||||
<string name="add_word">Добавить слово</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="add_word_blank">Невозможно добавить слово.</string>
|
||||
<string name="add_word_badchar">Невозможно добавить слово с таким символом %1$s.</string>
|
||||
<string name="add_word_exist1">Слово (%1$s) уже есть в словаре.</string>
|
||||
<string name="add_word_exist2">Слово (%1$s) уже есть в словаре %2$s.</string>
|
||||
<string name="cancel">Отмена</string>
|
||||
<string name="title_activity_add_word">Добавить слово</string>
|
||||
<string name="action_settings">Настройки</string>
|
||||
|
||||
<string name="pref_russiansupport">Включить поддержку Русского языка</string>
|
||||
|
||||
<string name="pref_loaddict">Загрузить словарь</string>
|
||||
<string name="pref_loaduserdict">Загрузить свой словарь</string>
|
||||
<string name="pref_loaduserdictdesc">SDcard/traditionalt9/user.lang.dict (lang: en/ru)</string>
|
||||
<string name="pref_nukedict">Nuke dictionary</string>
|
||||
<string name="pref_backupdict">Backup dictionary</string>
|
||||
<string name="pref_restoredict">Restore dictionary</string>
|
||||
<string name="pref_querytest">Query test</string>
|
||||
<string name="pref_testfunc">Test func</string>
|
||||
|
||||
<string name="pref_loadingdict">Загрузка словаря</string>
|
||||
<string name="pref_loadinguserdict">Загрузка пользовательского словаря...</string>
|
||||
<string name="pref_load_title">Загрузить словарь IME</string>
|
||||
<string name="pref_loadingbackup">Восстановление словаря...</string>
|
||||
<string name="pref_savingbackup">Сохранение словаря...</string>
|
||||
<string name="pref_nukingdict">Очистка словаря... Пожалуйста, подождите...</string>
|
||||
|
||||
<string name="pref_backup_warn">Предупреждение: Существующая копия базы данных будет перезаписана. Продолжить?</string>
|
||||
<string name="pref_backup_title">Резервное копирование базы данных IME</string>
|
||||
<string name="pref_backup_noext">Ошибка: Внешняя память недоступна. Резервное копирование невозможно невозможно.</string>
|
||||
<string name="pref_restore_warn">При восстановлении существующая база данных будет очищена. Если это нежелательно, то сначала выберите \"%1$s\" перед использованием этой опции.</string>
|
||||
<string name="pref_restore_title">Восстановить базу данных IME</string>
|
||||
<string name="pref_restore_noext">Ошибка: Внешняя память недоступна. Восстановление невозможно.</string>
|
||||
<string name="pref_restore_nofile">Ошибка: Файл встановления не найден.</string>
|
||||
<string name="pref_nuke_warn">Предупреждение: Будет выполнена очстка словаря. Продолжить?</string>
|
||||
<string name="pref_nuke_title">Очистить IME словарь</string>
|
||||
|
||||
<string name="hello_world">Hello world!</string>
|
||||
|
||||
</resources>
|
||||
|
|
@ -1,13 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string-array name="pref_inputmode_entries">
|
||||
<item >English</item>
|
||||
<item >Text</item>
|
||||
<item >Number</item>
|
||||
</string-array>
|
||||
<string-array name="pref_inputmode_values">
|
||||
<item >0</item>
|
||||
<item >1</item>
|
||||
<item >2</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
<string-array name="pref_inputmode_entries">
|
||||
<item >Dictionary</item>
|
||||
<item >Text</item>
|
||||
<item >Number</item>
|
||||
</string-array>
|
||||
<string-array name="pref_inputmode_values">
|
||||
<item >0</item>
|
||||
<item >1</item>
|
||||
<item >2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_lang_defaults">
|
||||
<item >0</item>
|
||||
</string-array>
|
||||
<string-array name="pref_lang_titles">
|
||||
<item >English</item>
|
||||
<item >Russian</item>
|
||||
</string-array>
|
||||
<string-array name="pref_lang_values">
|
||||
<item >0</item>
|
||||
<item >1</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="candidate_normal">#FF000000</color>
|
||||
<color name="candidate_recommended">#FFE35900</color>
|
||||
<color name="candidate_other">#ff808080</color>
|
||||
<color name="candidate_background">#bbffffff</color>
|
||||
<color name="button_press">#FFFCBE2B</color>
|
||||
<color name="button_focus">#FF2A9AEB</color>
|
||||
<color name="button_default">#FFA8A8A8</color>
|
||||
<color name="button_text">#FFFFFFFF</color>
|
||||
<color name="key_text">#FF000000</color>
|
||||
<color name="key_shadow">#FFFFFFFF</color>
|
||||
</resources>
|
||||
<color name="candidate_normal">#FF000000</color>
|
||||
<color name="candidate_recommended">#FFE35900</color>
|
||||
<color name="candidate_other">#ff808080</color>
|
||||
<color name="candidate_background">#bbffffff</color>
|
||||
<color name="button_press">#FFFCBE2B</color>
|
||||
<color name="button_focus">#FF2A9AEB</color>
|
||||
<color name="button_default">#FFA8A8A8</color>
|
||||
<color name="button_text">#FFFFFFFF</color>
|
||||
<color name="key_text">#FF000000</color>
|
||||
<color name="key_shadow">#FFFFFFFF</color>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
/*
|
||||
**
|
||||
** Copyright 2008, 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
|
||||
** 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
|
||||
** 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
|
||||
** 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<dimen name="key_height">50dip</dimen>
|
||||
<dimen name="candidate_font_height">16sp</dimen>
|
||||
<dimen name="candidate_vertical_padding">6sp</dimen>
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
<dimen name="key_height">50dip</dimen>
|
||||
<dimen name="candidate_font_height">16sp</dimen>
|
||||
<dimen name="candidate_vertical_padding">6sp</dimen>
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,54 +1,73 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="help_url">https://github.com/Clam-/TraditionalT9/wiki/Traditional-T9-keypad-IME-for-Android</string>
|
||||
<string name="app_name">Traditional T9</string>
|
||||
<string name="ime_name">Traditional T9</string>
|
||||
<string name="ime_english">English</string>
|
||||
<string name="ime_number">Numbers</string>
|
||||
<string name="pref_inputmode">Default Input Mode</string>
|
||||
<string name="pref_inputmode_desc">Default mode used for \'normal\' text entry</string>
|
||||
<string name="traditionalt9_settings">Traditional T9 Settings</string>
|
||||
<string name="main_left_insert">Insert symbol</string>
|
||||
<string name="main_left_addword">Add word</string>
|
||||
<string name="main_mid">Done</string>
|
||||
<string name="main_mid_commit">Commit</string>
|
||||
<string name="main_right_upper">Cycle Mode</string>
|
||||
<string name="main_right_lower">Options</string>
|
||||
<string name="main_left_notfound">Add word?</string>
|
||||
<string name="ricon_desc">Hold Icon</string>
|
||||
<string name="symbol_next">Next Page</string>
|
||||
<string name="symbol_prev">Prev Page</string>
|
||||
<string name="add_word">Add word</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="close">Close</string>
|
||||
<string name="add_word_blank">Blank word not added.</string>
|
||||
<string name="add_word_badchar">Cannot add word with unmappable symbol for %1$s.</string>
|
||||
<string name="add_word_exist1">Word (%1$s) already in DB.</string>
|
||||
<string name="add_word_exist2">Word (%1$s) already in DB for %2$s.</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="title_activity_add_word">Add Word</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="database_notready">Database unavailable.</string>
|
||||
|
||||
<string name="app_name">Traditional T9</string>
|
||||
<string name="ime_name">Traditional T9</string>
|
||||
<string name="ime_english">English</string>
|
||||
<string name="ime_number">Numbers</string>
|
||||
<string name="pref_inputmode">Default Input Mode</string>
|
||||
<string name="pref_inputmode_desc">Default mode used for \'normal\' text entry</string>
|
||||
<string name="traditionalt9_settings">Traditional T9 Settings</string>
|
||||
<string name="main_left_insert">Insert symbol</string>
|
||||
<string name="main_left_addword">Add word</string>
|
||||
<string name="main_mid">Done</string>
|
||||
<string name="main_mid_commit">Commit</string>
|
||||
<string name="main_right_upper">Cycle Mode</string>
|
||||
<string name="main_right_lower">Change IME</string>
|
||||
<string name="main_left_notfound">Add word?</string>
|
||||
<string name="ricon_desc">Hold Icon</string>
|
||||
<string name="symbol_next">Next Page</string>
|
||||
<string name="symbol_prev">Prev Page</string>
|
||||
<string name="add_word">Add word</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="add_word_blank">Blank word not added.</string>
|
||||
<string name="add_word_badchar">Cannot add word with unmappable symbol.</string>
|
||||
<string name="add_word_exist1">Word (</string>
|
||||
<string name="add_word_exist2">) already in DB.</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="title_activity_add_word">Add Word</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
|
||||
<string name="pref_loaddict">Load dictionary</string>
|
||||
<string name="pref_nukedict">Nuke dictionary</string>
|
||||
<string name="pref_backupdict">Backup dictionary</string>
|
||||
<string name="pref_restoredict">Restore dictionary</string>
|
||||
<string name="pref_querytest">Query test</string>
|
||||
|
||||
<string name="pref_loadingdict">Loading dictionary…</string>
|
||||
<string name="pref_loadingbackup">Restoring dictionary…</string>
|
||||
<string name="pref_savingbackup">Backing up dictionary…</string>
|
||||
<string name="pref_nukingdict">Nuking dictionary… Please wait…</string>
|
||||
|
||||
<string name="pref_backup_warn">Warning: An existing database backup exists. Do you wish to overwrite?</string>
|
||||
<string name="pref_backup_title">Backup IME database</string>
|
||||
<string name="pref_backup_noext">Error: No external storage available for backup. Backup will not continue.</string>
|
||||
<string name="pref_restore_warn">Backup database entries will overwrite existing database entries. Entries not in the backup will be retained. If that is not desired behaviour select \"%1$s\" before selecting this option.</string>
|
||||
<string name="pref_restore_title">Restore IME database</string>
|
||||
<string name="pref_restore_noext">Error: No external storage available for restoring. Restore will not continue.</string>
|
||||
<string name="pref_restore_nofile">Error: Backup file not found.</string>
|
||||
<string name="pref_nuke_warn">Warning: This will delete your entire dictionary. Do you wish to continue?</string>
|
||||
<string name="pref_nuke_title">Nuke IME dictionary</string>
|
||||
|
||||
<string name="hello_world">Hello world!</string>
|
||||
<string name="no_keyboard_title">Warning: No keypad/keyboard</string>
|
||||
<string name="no_keyboard">This device does not have a hardware keyboard/keypad, therefore it will not function in any useful way.
|
||||
Sorry for the inconvenience.</string>
|
||||
|
||||
</resources>
|
||||
<string name="updating_database_title">Updating dictionary database...</string>
|
||||
<string name="updating_database">Updating dictionary database, this might take a while.</string>
|
||||
<string name="updating_database_done">Updating dictionary database complete.</string>
|
||||
<string name="updating_database_unavailable">Updating dictionary database, word input unavailable at this time.</string>
|
||||
|
||||
<string name="pref_lang_title">Multilingual support...</string>
|
||||
<string name="pref_help">"Show help</string>
|
||||
<string name="pref_loaddict">Load dictionary</string>
|
||||
<string name="pref_loaduserdict">Load user dictionary</string>
|
||||
<string name="pref_loaduserdictdesc">SDcard/traditionalt9/user.lang.dict (lang: en/ru)</string>
|
||||
<string name="pref_nukedict">Nuke dictionary</string>
|
||||
<string name="pref_backupdict">Backup dictionary</string>
|
||||
<string name="pref_restoredict">Restore dictionary</string>
|
||||
<string name="pref_querytest">Query test</string>
|
||||
<string name="pref_testfunc">Test func</string>
|
||||
|
||||
<string name="pref_loadingdict">Loading dictionary…</string>
|
||||
<string name="pref_loadinguserdict">Loading user dictionary…</string>
|
||||
<string name="pref_load_title">Load IME dictionary</string>
|
||||
<string name="pref_loadingbackup">Restoring dictionary…</string>
|
||||
<string name="pref_savingbackup">Backing up dictionary…</string>
|
||||
<string name="pref_nukingdict">Nuking dictionary… Please wait…</string>
|
||||
<string name="pref_loaduser_notfound">Dictionary for %1$s not found. Not loading.</string>
|
||||
|
||||
<string name="pref_backup_warn">Warning: An existing database backup exists. Do you wish to overwrite?</string>
|
||||
<string name="pref_backup_title">Backup IME database</string>
|
||||
<string name="pref_backup_noext">Error: No external storage available for backup. Backup will not continue.</string>
|
||||
<string name="pref_restore_warn">Backup database entries will overwrite existing database entries. Entries not in the backup will be retained. If that is not desired behaviour select \"%1$s\" before selecting this option.</string>
|
||||
<string name="pref_restore_title">Restore IME database</string>
|
||||
<string name="pref_restore_noext">Error: No external storage available for restoring. Restore will not continue.</string>
|
||||
<string name="pref_restore_nofile">Error: Backup file not found.</string>
|
||||
<string name="pref_nuke_warn">Warning: This will delete your entire dictionary. Do you wish to continue?</string>
|
||||
<string name="pref_nuke_title">Nuke IME dictionary</string>
|
||||
|
||||
<string name="hello_world">Hello world!</string>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
<resources>
|
||||
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Light">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
<!--
|
||||
Base application theme, dependent on API level. This theme is replaced
|
||||
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
|
||||
-->
|
||||
<style name="AppBaseTheme" parent="android:Theme.Light">
|
||||
<!--
|
||||
Theme customizations available in newer API levels can go in
|
||||
res/values-vXX/styles.xml, while customizations related to
|
||||
backward-compatibility can go here.
|
||||
-->
|
||||
</style>
|
||||
|
||||
<!-- Application theme. -->
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
</style>
|
||||
<!-- Application theme. -->
|
||||
<style name="AppTheme" parent="AppBaseTheme">
|
||||
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:key="first_preferencescreen">
|
||||
<ListPreference
|
||||
android:key="pref_inputmode"
|
||||
android:title="@string/pref_inputmode"
|
||||
android:dialogTitle="@string/pref_inputmode"
|
||||
android:entries="@array/pref_inputmode_entries"
|
||||
android:entryValues="@array/pref_inputmode_values"
|
||||
android:defaultValue="0" android:summary="@string/pref_inputmode_desc"/>
|
||||
<Preference android:title="@string/pref_loaddict" android:key="loaddict"/>
|
||||
<Preference android:title="@string/pref_nukedict" android:key="nukedict"/>
|
||||
<Preference android:title="@string/pref_backupdict" android:key="backupdict"/>
|
||||
<Preference android:title="@string/pref_restoredict" android:key="restoredict"/>
|
||||
<Preference android:title="@string/pref_querytest" android:key="querytest"/>
|
||||
</PreferenceScreen>
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:key="first_preferencescreen">
|
||||
<Preference android:title="@string/pref_help" android:key="help"/>
|
||||
<ListPreference
|
||||
android:key="pref_inputmode"
|
||||
android:title="@string/pref_inputmode"
|
||||
android:dialogTitle="@string/pref_inputmode"
|
||||
android:entries="@array/pref_inputmode_entries"
|
||||
android:entryValues="@array/pref_inputmode_values"
|
||||
android:defaultValue="0" android:summary="@string/pref_inputmode_desc"/>
|
||||
<pl.wavesoftware.widget.MultiSelectListPreference
|
||||
android:defaultValue="@array/pref_lang_defaults"
|
||||
android:entries="@array/pref_lang_titles"
|
||||
android:entryValues="@array/pref_lang_values"
|
||||
android:key="pref_lang_support"
|
||||
android:persistent="true"
|
||||
android:title="@string/pref_lang_title" />
|
||||
<Preference android:title="@string/pref_loaddict" android:key="loaddict"/>
|
||||
<Preference android:title="@string/pref_loaduserdict" android:summary="@string/pref_loaduserdictdesc" android:key="loaduserdict"/>
|
||||
<Preference android:title="@string/pref_nukedict" android:key="nukedict"/>
|
||||
<Preference android:title="@string/pref_backupdict" android:key="backupdict"/>
|
||||
<Preference android:title="@string/pref_restoredict" android:key="restoredict"/>
|
||||
<Preference android:title="@string/pref_querytest" android:key="querytest"/>
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||