Skip to content

Commit

Permalink
Version 3.0.0 rc 1
Browse files Browse the repository at this point in the history
  • Loading branch information
suragch committed Nov 19, 2018
1 parent ec82f9b commit 32cacb1
Show file tree
Hide file tree
Showing 12 changed files with 221 additions and 290 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

438 changes: 170 additions & 268 deletions .idea/workspace.xml

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/.DS_Store" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/annotation_processor_list" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/apk_list" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
Expand All @@ -92,12 +93,14 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-libraries" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check-manifest" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/checkDebugClasspath" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/checkReleaseClasspath" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/compatible_screen_manifest" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-runtime-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-verifier" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-apk" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-resources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_main_apk_resources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_merged_manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_split_apk_resources" />
Expand All @@ -109,6 +112,7 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/prebuild" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/processed_res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard-rules" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/reload-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/resources" />
Expand All @@ -120,14 +124,15 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/reports" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Gradle: com.android.support:customview-28.0.0" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:localbroadcastmanager-28.0.0" level="project" />
<orderEntry type="library" name="Gradle: net.studymongolian:mongol-library-1.16.5" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable-28.0.0" level="project" />
<orderEntry type="library" name="Gradle: net.studymongolian:mongol-library-1.16.4" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:interpolator-28.0.0" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils-28.0.0" level="project" />
<orderEntry type="library" name="Gradle: com.android.support:support-core-ui-28.0.0" level="project" />
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "net.studymongolian.chimee"
minSdkVersion 14
targetSdkVersion 28
versionCode 24
versionName "3.0.0 测试版7"
versionCode 25
versionName "3.0.0"
}

buildTypes {
Expand All @@ -25,5 +25,5 @@ dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'net.studymongolian:mongol-library:1.16.4'
implementation 'net.studymongolian:mongol-library:1.16.5'
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Color;
import android.inputmethodservice.ExtractEditText;
import android.inputmethodservice.InputMethodService;
import android.view.LayoutInflater;
Expand All @@ -26,6 +27,7 @@ public View onCreateInputView() {
imeContainer.showSystemKeyboardsOption("ᠰᠢᠰᠲ᠋ᠧᠮ");
imeContainer.setDataSource(new ImeDataSourceHelper(this));
imeContainer.setOnSystemImeListener(this);
imeContainer.setBackgroundColor(getResources().getColor(R.color.keyboard_background));
return imeContainer;
}

Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/layout/activity_add_edit_message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,26 @@
android:layout_weight="0.4">

<net.studymongolian.chimee.KeyboardChagaanTolgoi
style="@style/KeyboardStyle"
app:primaryTextSize="@dimen/aeiou_kbd_text_size"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="vertical_left" />

<net.studymongolian.chimee.KeyboardComputer
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="horizontal_top" />

<net.studymongolian.mongollibrary.KeyboardLatin
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />

<net.studymongolian.mongollibrary.KeyboardCyrillic
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />
Expand Down
8 changes: 7 additions & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,24 +72,30 @@
android:id="@+id/imeContainer"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight=".4">
android:layout_weight=".4"
android:background="@color/very_light_grey">

<net.studymongolian.chimee.KeyboardChagaanTolgoi
style="@style/KeyboardStyle"
app:primaryTextSize="@dimen/aeiou_kbd_text_size"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="vertical_left" />

<net.studymongolian.chimee.KeyboardComputer
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="horizontal_top" />

<net.studymongolian.mongollibrary.KeyboardLatin
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />

<net.studymongolian.mongollibrary.KeyboardCyrillic
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/layout/activity_save.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,26 @@
>

<net.studymongolian.chimee.KeyboardChagaanTolgoi
style="@style/KeyboardStyle"
app:primaryTextSize="@dimen/aeiou_kbd_text_size"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="vertical_left" />

<net.studymongolian.chimee.KeyboardComputer
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="horizontal_top" />

<net.studymongolian.mongollibrary.KeyboardLatin
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />

<net.studymongolian.mongollibrary.KeyboardCyrillic
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/layout/system_keyboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,26 @@
android:layout_height="wrap_content">

<net.studymongolian.chimee.KeyboardChagaanTolgoi
style="@style/KeyboardStyle"
app:primaryTextSize="@dimen/aeiou_kbd_text_size"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="vertical_left" />

<net.studymongolian.chimee.KeyboardComputer
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="horizontal_top" />

<net.studymongolian.mongollibrary.KeyboardLatin
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />

<net.studymongolian.mongollibrary.KeyboardCyrillic
style="@style/KeyboardStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:candidatesLocation="none" />
Expand Down
14 changes: 1 addition & 13 deletions app/src/main/res/values/color.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,7 @@


<!-- keyboard -->
<color name="keyboard_background">@color/black</color>
<color name="keyboard_keys_normal">@color/primary</color>
<color name="keyboard_keys_normal_shadow">@color/medium_grey_lighter</color>
<color name="keyboard_keys_pressed">@color/accent</color>
<color name="keyboard_keys_pressed_shadow">@color/dusty_blue_lighter</color>
<color name="keyboard_format_keys_normal">@color/primary_dark</color>
<color name="keyboard_format_keys_normal_shadow">@color/dark_grey_lighter</color>
<color name="keyboard_suggestionbar_text">@color/dark_grey</color>
<color name="keyboard_suggestionbar_divider">@color/primary</color>
<color name="keyboard_suggestionbar_highlight">@color/accent</color>
<color name="keyboard_letters">@color/white</color>
<color name="keyboard_longtouch_letters">@color/secondary_text_white</color>

<color name="keyboard_background">@color/very_light_grey</color>


<color name="custom_ripple">@color/accent</color>
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="aeiou_kbd_text_size">27sp</dimen>
</resources>
9 changes: 9 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="KeyboardStyle">
<item name="keyBorderWidth">1dp</item>
<item name="keyBorderColor">@color/grey_500</item>
<item name="keySpacing">2dp</item>
</style>
</resources>

0 comments on commit 32cacb1

Please sign in to comment.