Merge "Small fixes to attachments UI"

This commit is contained in:
Ben Komalo 2011-08-09 16:17:02 -07:00 committed by Android (Google) Code Review
commit 747c4d6f14
2 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,7 @@
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:orientation="vertical" android:orientation="vertical"
> >
<ProgressBar <ProgressBar

View File

@ -115,12 +115,13 @@
<style name="Attachment" /> <style name="Attachment" />
<style name="Attachment.Button" parent="@android:style/Widget.Holo.Button"> <style name="Attachment.Button" parent="@android:style/Widget.Holo.Button">
<item name="android:minHeight">0dip</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">0dip</item> <item name="android:layout_width">0dip</item>
<item name="android:layout_weight">1</item> <item name="android:layout_weight">1</item>
<item name="android:layout_gravity">center_vertical</item> <item name="android:layout_gravity">center_vertical</item>
<item name="android:paddingTop">0dip</item> <item name="android:paddingTop">2dip</item>
<item name="android:paddingBottom">0dip</item> <item name="android:paddingBottom">2dip</item>
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item> <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
<item name="android:textColor">@color/buttontext</item> <item name="android:textColor">@color/buttontext</item>
<item name="android:singleLine">true</item> <item name="android:singleLine">true</item>