This commit is contained in:
ocean 2026-01-07 18:42:20 +08:00
parent 1ae2a9d552
commit 8c8f04cc17
3 changed files with 16 additions and 13 deletions

View File

@ -19,8 +19,8 @@ android {
applicationId = "com.keyborad.theme.trendyborad" applicationId = "com.keyborad.theme.trendyborad"
minSdk = 24 minSdk = 24
targetSdk = 36 targetSdk = 36
versionCode = 6 versionCode = 7
versionName = "1.5" versionName = "1.6"
setProperty( setProperty(
"archivesBaseName", "archivesBaseName",
"TrendyBoard-" + versionName + "(${versionCode})_$timestamp" "TrendyBoard-" + versionName + "(${versionCode})_$timestamp"

View File

@ -49,6 +49,7 @@ public class TrendyMyInputMethodService extends InputMethodService implements Tr
private int c = R.xml.xml_three; private int c = R.xml.xml_three;
private int curImeAction = EditorInfo.IME_ACTION_UNSPECIFIED; private int curImeAction = EditorInfo.IME_ACTION_UNSPECIFIED;
@SuppressLint("InflateParams") @SuppressLint("InflateParams")
@Override @Override
public View onCreateInputView() { public View onCreateInputView() {
@ -144,8 +145,10 @@ public class TrendyMyInputMethodService extends InputMethodService implements Tr
@Override @Override
public void onDestroy() { public void onDestroy() {
super.onDestroy(); super.onDestroy();
if (videoView != null) {
videoView.stopPlayback(); videoView.stopPlayback();
} }
}
@Override @Override
public void onPress(int primaryCode) { public void onPress(int primaryCode) {

View File

@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="MyKeyBoard" beanWrapper="Theme.MaterialComponents.DayNight.NoActionBar"> <style name="MyKeyBoard" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item> <item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item> <item name="colorPrimaryVariant">@color/purple_700</item>