You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
build and install framework-res.apk from source
fall back to prebuilt if aapt command is not available
This commit is contained in:
53
res/res/menu/webview_copy.xml
Normal file
53
res/res/menu/webview_copy.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/select_all"
|
||||
android:title="@string/selectAll"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
<item android:id="@+id/cut"
|
||||
android:icon="?android:attr/actionModeCutDrawable"
|
||||
android:title="@string/cut"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
<item android:id="@+id/copy"
|
||||
android:icon="?android:attr/actionModeCopyDrawable"
|
||||
android:title="@string/copy"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
<item android:id="@+id/paste"
|
||||
android:icon="?android:attr/actionModePasteDrawable"
|
||||
android:title="@string/paste"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
<item android:id="@+id/share"
|
||||
android:icon="?android:attr/actionModeShareDrawable"
|
||||
android:title="@string/share"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
<item android:id="@+id/find"
|
||||
android:icon="?android:attr/actionModeFindDrawable"
|
||||
android:title="@string/find"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
<item android:id="@+id/websearch"
|
||||
android:icon="?android:attr/actionModeWebSearchDrawable"
|
||||
android:title="@string/websearch"
|
||||
android:showAsAction="ifRoom|withText"
|
||||
/>
|
||||
</menu>
|
||||
|
||||
28
res/res/menu/webview_find.xml
Normal file
28
res/res/menu/webview_find.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/find_prev"
|
||||
android:icon="?android:attr/findOnPagePreviousDrawable"
|
||||
android:showAsAction="always"
|
||||
android:title="@string/find_previous"
|
||||
/>
|
||||
<item android:id="@+id/find_next"
|
||||
android:icon="?android:attr/findOnPageNextDrawable"
|
||||
android:showAsAction="always"
|
||||
android:title="@string/find_next"
|
||||
/>
|
||||
</menu>
|
||||
Reference in New Issue
Block a user