添加自动完成开关
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
android:id="@+id/code_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="12dp"
|
||||
android:textIsSelectable="true" />
|
||||
android:padding="12dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -1,24 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<menu xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:ignore="AlwaysShowAction">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_save"
|
||||
android:icon="@drawable/ic_save"
|
||||
android:title="@string/action_save"
|
||||
app:showAsAction="ifRoom" />
|
||||
app:showAsAction="always" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_debug_source"
|
||||
android:icon="@drawable/ic_bug_report"
|
||||
android:title="@string/debug_source"
|
||||
app:showAsAction="ifRoom" />
|
||||
app:showAsAction="always" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_login"
|
||||
android:title="@string/login"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_auto_complete"
|
||||
android:title="@string/auto_complete"
|
||||
android:checkable="true"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_copy_source"
|
||||
android:title="@string/copy_source"
|
||||
|
||||
@@ -944,5 +944,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -947,5 +947,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -947,5 +947,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -944,5 +944,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -946,5 +946,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -946,5 +946,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -947,5 +947,6 @@
|
||||
<string name="sort_by_time">时间排序</string>
|
||||
<string name="enable_record">开启记录</string>
|
||||
<string name="copy_all">拷贝所有</string>
|
||||
<string name="auto_complete">自动补全</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user