-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f97d4a7
commit 6d7d0ef
Showing
21 changed files
with
257 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,65 @@ | ||
# Built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# Files for the ART/Dalvik VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# Generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
|
||
# Gradle files | ||
.gradle/ | ||
build/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
# Log Files | ||
*.log | ||
|
||
# Android Studio Navigation editor temp files | ||
.navigation/ | ||
|
||
# Android Studio captures folder | ||
captures/ | ||
|
||
# IntelliJ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures | ||
.idea/workspace.xml | ||
.idea/tasks.xml | ||
.idea/gradle.xml | ||
.idea/assetWizardSettings.xml | ||
.idea/dictionaries | ||
.idea/libraries | ||
.idea/caches | ||
|
||
# Keystore files | ||
# Uncomment the following line if you do not want to check your keystore files in. | ||
#*.jks | ||
|
||
# External native build folder generated in Android Studio 2.2 and later | ||
.externalNativeBuild | ||
|
||
# Google Services (e.g. APIs or Firebase) | ||
google-services.json | ||
|
||
# Freeline | ||
freeline.py | ||
freeline/ | ||
freeline_project_description.json | ||
|
||
# fastlane | ||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots | ||
fastlane/test_output | ||
fastlane/readme.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
package="com.example.keybord.keyborddemo"> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@mipmap/ic_launcher" | ||
android:label="@string/app_name" | ||
android:supportsRtl="true" | ||
android:theme="@style/AppTheme"> | ||
android:theme="@style/AppTheme" | ||
tools:ignore="GoogleAppIndexingWarning"> | ||
<activity android:name=".MainActivity"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:name=".RecyclerViewActivity"></activity> | ||
<activity android:name=".SystemKeyboardActivity"></activity> | ||
<activity android:name=".SystemKeyboardEidtTextActivity"></activity> | ||
<activity android:name=".SystemKeyboardActivity"/> | ||
<activity android:name=".SystemKeyboardEditTextActivity"/> | ||
</application> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 2 additions & 7 deletions
9
...ddemo/SystemKeyboardEidtTextActivity.java → ...ddemo/SystemKeyboardEditTextActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 19 additions & 13 deletions
32
app/src/main/res/layout/activity_systemkeyboardedittext.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:keyboard="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/activity_main" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
android:layout_height="match_parent"> | ||
|
||
<com.jay.easykeyboard.SystemKeyBoardEditText | ||
android:id="@+id/skb_top" | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" | ||
keyboard:xmlLayoutResId="@xml/keyboard_numbers" | ||
keyboard:outSideCancel="true" | ||
android:id="@+id/skb_top" | ||
android:hint="顶部EditText" | ||
android:layout_margin="10dp" | ||
android:background="@drawable/btn_keyboard_key" | ||
/> | ||
android:background="@drawable/edit_bg" | ||
android:hint="顶部EditText(附加属性:点击外部区域消失)" | ||
android:padding="10dp" | ||
keyboard:keyDrawable="@drawable/btn_keyboard_key" | ||
keyboard:outSideCancel="true" | ||
keyboard:xmlLayoutResId="@xml/keyboard_numbers" /> | ||
|
||
<com.jay.easykeyboard.SystemKeyBoardEditText | ||
android:id="@+id/skb_bottom" | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" | ||
android:layout_margin="10dp" | ||
android:layout_alignParentBottom="true" | ||
android:hint="底部EditText" | ||
android:id="@+id/skb_bottom" | ||
android:background="@drawable/edit_bg" | ||
android:hint="底部EditText(附加属性:输入框自动上移,4位空格)" | ||
android:padding="10dp" | ||
keyboard:keyDrawable="@drawable/btn_keyboard_key" | ||
keyboard:space="true" | ||
android:layout_gravity="bottom" | ||
android:layout_marginBottom="10dp" | ||
keyboard:xmlLayoutResId="@xml/keyboard_numbers" | ||
android:background="@drawable/btn_keyboard_key" | ||
/> | ||
</RelativeLayout> | ||
</FrameLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.