Skip to content

Commit

Permalink
Temporary fix for wrong calculating button size when its label is wra…
Browse files Browse the repository at this point in the history
…pped
  • Loading branch information
arcao committed Mar 21, 2014
1 parent ed25325 commit eea85fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions res/layout/menu_dialog.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="right"
android:layout_height="wrap_content"
android:orientation="vertical" >

<include layout="@layout/header" />
Expand Down
4 changes: 2 additions & 2 deletions res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/foreground1</item>
<item name="android:gravity">center|top</item>
<!-- <item name="android:layout_gravity">center</item> -->
<item name="android:background">@drawable/item_background_holo_light</item>
<item name="android:paddingLeft">4.0dip</item>
<item name="android:paddingTop">10.0dip</item>
<item name="android:paddingRight">4.0dip</item>
<item name="android:paddingBottom">10.0dip</item>
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
<item name="android:maxLines">1</item>
</style>
<style name="LoginMessageView" parent="android:Widget.TextView">
<item name="android:layout_marginTop">10.0dip</item>
Expand Down

0 comments on commit eea85fd

Please sign in to comment.