Worked around a bug in Android 1.0 with using gravity and padding at the same time...
authordswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Tue, 2 Dec 2008 22:10:27 +0000 (22:10 +0000)
committerdswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Tue, 2 Dec 2008 22:10:27 +0000 (22:10 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@774 59b500cc-1b3d-0410-9834-0bbf25fbcc57

android/res/layout-land/share.xml
android/res/layout/share.xml

index e8f81d1..7144714 100755 (executable)
@@ -20,7 +20,6 @@
               android:layout_height="fill_parent"
               android:background="@color/share_view"
               android:orientation="vertical"
-              android:gravity="center"
               android:padding="16px">
 
   <TextView
@@ -37,7 +36,7 @@
       android:layout_height="wrap_content"
       android:background="@color/share_view"
       android:orientation="horizontal"
-      android:gravity="center">
+      android:layout_gravity="center">
 
     <ImageView
         android:layout_width="wrap_content"
index e170edc..03b67fb 100755 (executable)
@@ -20,7 +20,6 @@
               android:layout_height="fill_parent"
               android:background="@color/share_view"
               android:orientation="vertical"
-              android:gravity="center"
               android:padding="16px">
 
   <TextView
@@ -37,7 +36,7 @@
       android:layout_height="wrap_content"
       android:background="@color/share_view"
       android:orientation="vertical"
-      android:gravity="center">
+      android:layout_gravity="center">
 
     <ImageView
         android:layout_width="wrap_content"