diff options
-rw-r--r-- | res/layout/filtershow_actionbar.xml | 25 | ||||
-rw-r--r-- | res/menu/filtershow_activity_menu.xml | 6 |
2 files changed, 28 insertions, 3 deletions
diff --git a/res/layout/filtershow_actionbar.xml b/res/layout/filtershow_actionbar.xml new file mode 100644 index 000000000..064b0e6a9 --- /dev/null +++ b/res/layout/filtershow_actionbar.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 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. +--> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:background="@drawable/filtershow_button_background" + android:id="@+id/filtershow_done" + android:text="@string/done" + android:gravity="center_vertical" + android:textSize="18dip" + android:drawableLeft="?android:attr/actionModeCloseDrawable" />
\ No newline at end of file diff --git a/res/menu/filtershow_activity_menu.xml b/res/menu/filtershow_activity_menu.xml index ba0a8bcf4..f0c0f3247 100644 --- a/res/menu/filtershow_activity_menu.xml +++ b/res/menu/filtershow_activity_menu.xml @@ -2,18 +2,18 @@ <item android:id="@+id/menu_share" android:actionProviderClass="android.widget.ShareActionProvider" - android:showAsAction="ifRoom" + android:showAsAction="always" android:enabled="false" android:title="@string/share"/> <item android:id="@+id/undoButton" android:icon="@drawable/filtershow_button_undo" - android:showAsAction="ifRoom" + android:showAsAction="always" android:title="@string/filtershow_undo"/> <item android:id="@+id/redoButton" android:icon="@drawable/filtershow_button_redo" - android:showAsAction="ifRoom" + android:showAsAction="always" android:title="@string/filtershow_redo"/> <item android:id="@+id/operationsButton" |