summaryrefslogtreecommitdiffstats
path: root/res/layout/event_info_dialog.xml
diff options
context:
space:
mode:
authorIsaac Katzenelson <isaack@android.com>2012-06-04 16:38:11 -0700
committerIsaac Katzenelson <isaack@android.com>2012-06-04 16:38:11 -0700
commitd4e45fa96c8c377d91271fbb368db64dc1fd5b48 (patch)
treedee52bbc97ff7f43e44a9bbcd21c23478cb14325 /res/layout/event_info_dialog.xml
parent2fd42e77a4214bbeff4bb84779a83ccadaf0a0f3 (diff)
downloadandroid_packages_apps_Calendar-d4e45fa96c8c377d91271fbb368db64dc1fd5b48.tar.gz
android_packages_apps_Calendar-d4e45fa96c8c377d91271fbb368db64dc1fd5b48.tar.bz2
android_packages_apps_Calendar-d4e45fa96c8c377d91271fbb368db64dc1fd5b48.zip
Fix event info buttons size
Change-Id: I0b66237ebc31b643a4233343e4c372bc4566b807
Diffstat (limited to 'res/layout/event_info_dialog.xml')
-rw-r--r--res/layout/event_info_dialog.xml32
1 files changed, 17 insertions, 15 deletions
diff --git a/res/layout/event_info_dialog.xml b/res/layout/event_info_dialog.xml
index 1128d87e..2ec6bef8 100644
--- a/res/layout/event_info_dialog.xml
+++ b/res/layout/event_info_dialog.xml
@@ -73,7 +73,7 @@
<TextView
android:id="@+id/title"
android:layout_weight=".8"
- android:layout_width="wrap_content"
+ android:layout_width="0dip"
android:layout_height="wrap_content"
android:autoLink="all"
android:textStyle="bold"
@@ -92,28 +92,30 @@
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
android:layout_gravity="right">
- <Button
+ <ImageButton
android:id="@+id/edit"
- android:layout_width="32dip"
- android:layout_height="32dip"
- android:layout_weight="1"
+ android:contentDescription="@string/edit_label"
+ android:layout_width="48dip"
+ android:layout_height="48dip"
android:enabled="false"
android:visibility="gone"
- android:layout_marginTop="8dip"
- android:layout_marginRight="16dip"
+ android:layout_marginRight="8dip"
+ android:padding="8dip"
+ android:scaleType="centerInside"
style="?android:attr/buttonBarButtonStyle"
- android:background="@drawable/event_info_compose_button" />
- <Button
+ android:src="@drawable/ic_menu_compose_holo_dark" />
+ <ImageButton
android:id="@+id/delete"
- android:layout_width="32dip"
- android:layout_height="32dip"
- android:layout_marginTop="8dip"
- android:layout_marginLeft="16dip"
- android:layout_weight="1"
+ android:contentDescription="@string/delete_label"
+ android:layout_width="48dip"
+ android:layout_height="48dip"
+ android:layout_marginLeft="8dip"
+ android:padding="8dip"
+ android:scaleType="centerInside"
android:enabled="false"
android:visibility="gone"
style="?android:attr/buttonBarButtonStyle"
- android:background="@drawable/event_info_delete_button" />
+ android:src="@drawable/ic_menu_trash_holo_dark" />
</LinearLayout>
</LinearLayout>