add round icon; build fixes

This commit is contained in:
Yuriy Liskov
2024-03-04 19:29:54 +02:00
parent a812642cf7
commit 9cce45faf9
9 changed files with 23 additions and 16 deletions

View File

@@ -2,12 +2,14 @@
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
mavenCentral()
// jcenter()
// maven {
// url 'https://maven.google.com/'
// name 'Google'
// }
// google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
@@ -37,15 +39,17 @@ buildscript {
supportXVersion = 'androidx.legacy:legacy-support-v4:1.0.0'
leanbackCompatXVersion = 'androidx.leanback:leanback:1.0.0'
designXVersion = 'com.google.android.material:material:1.0.0'
voiceOverlayVersion = 'com.algolia.instantsearch:voice:1.0.0-beta02' // https://github.com/algolia/voice-overlay-android
voiceOverlayVersion = 'com.algolia.instantsearch:voice:1.1.0' // https://github.com/algolia/voice-overlay-android
}
}
allprojects {
repositories {
jcenter()
google()
mavenCentral()
//jcenter()
// com.android.support libs
maven { url 'https://maven.google.com' }
//maven { url 'https://maven.google.com' }
}
gradle.projectsEvaluated {

View File

@@ -1 +1,3 @@
/build
/playstore
/origin

View File

@@ -14,8 +14,8 @@ android {
applicationId "org.liskovsoft.leankeykeyboard.pro"
minSdkVersion project.properties.minSdkVersion
targetSdkVersion project.properties.targetSdkVersion
versionCode 190
versionName "6.1.20"
versionCode 192
versionName "6.1.22"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@@ -29,6 +29,7 @@
<application
android:banner="@mipmap/ic_banner_main"
android:icon="@mipmap/ic_launcher_main"
android:roundIcon="@mipmap/ic_launcher_main_round"
android:label="@string/ime_name"
android:theme="@style/Theme.Leanback">
@@ -100,7 +101,7 @@
<receiver
android:name="com.liskovsoft.leankeyboard.receiver.RestartServiceReceiver"
android:enabled="true"
android:exported="false">
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED"/>
<action android:name="android.intent.action.PACKAGE_REMOVED"/>

View File

@@ -33,7 +33,7 @@ public class KbSettingsFragment extends BaseSettingsFragment {
@NonNull
@Override
public Guidance onCreateGuidance(Bundle savedInstanceState) {
String title = getActivity().getResources().getString(R.string.kb_settings);
String title = getActivity().getResources().getString(R.string.ime_name);
String desc = getActivity().getResources().getString(R.string.kb_settings_desc);
Drawable icon = ContextCompat.getDrawable(getActivity(), R.drawable.ic_launcher);

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ime_name" translatable="false">LeanKey Keyboard Pro</string>
<string name="ime_service_name" translatable="false">LeanKey Keyboard Pro</string>
<string name="ime_name" translatable="false">LeanKey Keyboard</string>
<string name="ime_service_name" translatable="false">LeanKey Keyboard</string>
<string name="word_separators">".,;:!?
() [] *</string>
<string name="label_go_key">Merge</string>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ime_name" translatable="false">LeanKey Keyboard Pro</string>
<string name="ime_service_name" translatable="false">LeanKey Keyboard Pro</string>
<string name="ime_name" translatable="false">LeanKey Keyboard</string>
<string name="ime_service_name" translatable="false">LeanKey Keyboard</string>
<string name="word_separators">" .,;:!?
()[]*&amp;@{}/&lt;>_+=|"
</string>