mirror of
https://github.com/yuliskov/LeanKeyboard.git
synced 2025-12-23 22:17:44 -05:00
add round icon; build fixes
This commit is contained in:
20
build.gradle
20
build.gradle
@@ -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 {
|
||||
|
||||
2
leankeykeyboard/.gitignore
vendored
2
leankeykeyboard/.gitignore
vendored
@@ -1 +1,3 @@
|
||||
/build
|
||||
/playstore
|
||||
/origin
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
BIN
leankeykeyboard/src/main/res/mipmap-nodpi/adaptive_icon.png
Normal file
BIN
leankeykeyboard/src/main/res/mipmap-nodpi/adaptive_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user