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"
minSdk = 24
targetSdk = 36
versionCode = 6
versionName = "1.5"
versionCode = 7
versionName = "1.6"
setProperty(
"archivesBaseName",
"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 curImeAction = EditorInfo.IME_ACTION_UNSPECIFIED;
@SuppressLint("InflateParams")
@Override
public View onCreateInputView() {
@ -144,8 +145,10 @@ public class TrendyMyInputMethodService extends InputMethodService implements Tr
@Override
public void onDestroy() {
super.onDestroy();
if (videoView != null) {
videoView.stopPlayback();
}
}
@Override
public void onPress(int primaryCode) {

View File

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