diff options
Diffstat (limited to 'com_actionbarsherlock/res/layout/abs__action_menu_item_layout.xml')
-rw-r--r-- | com_actionbarsherlock/res/layout/abs__action_menu_item_layout.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/com_actionbarsherlock/res/layout/abs__action_menu_item_layout.xml b/com_actionbarsherlock/res/layout/abs__action_menu_item_layout.xml new file mode 100644 index 000000000..13149fd63 --- /dev/null +++ b/com_actionbarsherlock/res/layout/abs__action_menu_item_layout.xml @@ -0,0 +1,56 @@ +<?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. +--> + +<com.actionbarsherlock.internal.view.menu.ActionMenuItemView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:addStatesFromChildren="true" + android:gravity="center" + android:focusable="true" + android:paddingLeft="4dip" + android:paddingRight="4dip" + style="?attr/actionButtonStyle"> + <ImageButton android:id="@+id/abs__imageButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:visibility="gone" + android:layout_marginTop="4dip" + android:layout_marginBottom="4dip" + android:layout_marginLeft="4dip" + android:layout_marginRight="4dip" + android:scaleType="fitCenter" + android:adjustViewBounds="true" + android:background="@null" + android:focusable="false" /> + <com.actionbarsherlock.internal.widget.CapitalizingButton android:id="@+id/abs__textButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:visibility="gone" + android:textAppearance="?attr/actionMenuTextAppearance" + style="?attr/buttonStyleSmall" + android:textColor="?attr/actionMenuTextColor" + android:singleLine="true" + android:ellipsize="none" + android:background="@null" + android:paddingTop="4dip" + android:paddingBottom="4dip" + android:paddingLeft="4dip" + android:paddingRight="4dip" + android:focusable="false" /> +</com.actionbarsherlock.internal.view.menu.ActionMenuItemView> |