am 092ff131: Merge "Expand Reply/Forward/etc buttons for easier tap" into honeycomb

* commit '092ff131afa6b6b0724bc784086ece87b0c01006':
  Expand Reply/Forward/etc buttons for easier tap
This commit is contained in:
Makoto Onuki 2011-01-20 17:07:25 -08:00 committed by Android Git Automerger
commit 92039f9e42
2 changed files with 15 additions and 18 deletions

View File

@ -96,47 +96,39 @@
android:id="@+id/forward_reply_buttons" android:id="@+id/forward_reply_buttons"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dip" android:layout_marginTop="8dip"
android:layout_marginLeft="8dip" android:layout_marginLeft="0dip"
android:layout_marginRight="32dip" android:layout_marginRight="24dip"
android:layout_alignTop="@id/header_background" android:layout_alignTop="@id/header_background"
android:layout_alignRight="@id/header_background" android:layout_alignRight="@id/header_background"
android:orientation="horizontal" android:orientation="horizontal"
> >
<ImageButton <ImageButton
android:id="@+id/reply" android:id="@+id/reply"
android:layout_width="32dip" android:layout_marginRight="16dip"
android:layout_height="32dip"
android:layout_marginRight="32dip"
android:src="@drawable/ic_reply" android:src="@drawable/ic_reply"
android:visibility="gone" android:visibility="gone"
style="@android:style/Widget.Holo.Button.Borderless" style="@style/message_view_action_buttons"
/> />
<ImageButton <ImageButton
android:id="@+id/reply_all" android:id="@+id/reply_all"
android:layout_width="32dip" android:layout_marginRight="16dip"
android:layout_height="32dip"
android:layout_marginRight="32dip"
android:src="@drawable/ic_reply_all" android:src="@drawable/ic_reply_all"
android:visibility="gone" android:visibility="gone"
style="@android:style/Widget.Holo.Button.Borderless" style="@style/message_view_action_buttons"
/> />
<ImageButton <ImageButton
android:id="@+id/forward" android:id="@+id/forward"
android:layout_width="32dip" android:layout_marginRight="16dip"
android:layout_height="32dip"
android:layout_marginRight="32dip"
android:src="@drawable/ic_forward" android:src="@drawable/ic_forward"
android:visibility="gone" android:visibility="gone"
style="@android:style/Widget.Holo.Button.Borderless" style="@style/message_view_action_buttons"
/> />
<ImageButton <ImageButton
android:id="@+id/favorite" android:id="@+id/favorite"
android:layout_width="32dip"
android:layout_height="32dip"
android:src="@drawable/ic_star_none_holo_light" android:src="@drawable/ic_star_none_holo_light"
android:visibility="gone" android:visibility="gone"
style="@android:style/Widget.Holo.Button.Borderless" style="@style/message_view_action_buttons"
/> />
</LinearLayout> </LinearLayout>

View File

@ -108,4 +108,9 @@
<item name="android:textColor">@color/text_primary_color</item> <item name="android:textColor">@color/text_primary_color</item>
<item name="android:singleLine">true</item> <item name="android:singleLine">true</item>
</style> </style>
<style name="message_view_action_buttons" parent="android:Widget.Holo.Button.Borderless">
<item name="android:layout_width">48dip</item>
<item name="android:layout_height">48dip</item>
<item name="android:padding">8dip</item>
</style>
</resources> </resources>