diff options
| author | dswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57> | 2008-12-03 01:10:27 +0300 |
|---|---|---|
| committer | dswitkin <dswitkin@59b500cc-1b3d-0410-9834-0bbf25fbcc57> | 2008-12-03 01:10:27 +0300 |
| commit | 8ef5e7cd8a6839b7a69b4b9bce90ceec21dd7690 (patch) | |
| tree | 07c870a9c7ca01285017aac481c42beb808868ed | |
| parent | 486d3c2b17a1ffe377f9c2488528d9748fc29e50 (diff) | |
| download | zxing-android-embedded-8ef5e7cd8a6839b7a69b4b9bce90ceec21dd7690.tar.xz | |
Worked around a bug in Android 1.0 with using gravity and padding at the same time, which broke the Share UI.
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@774 59b500cc-1b3d-0410-9834-0bbf25fbcc57
| -rwxr-xr-x | res/layout-land/share.xml | 3 | ||||
| -rwxr-xr-x | res/layout/share.xml | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/res/layout-land/share.xml b/res/layout-land/share.xml index e8f81d1e..71447149 100755 --- a/res/layout-land/share.xml +++ b/res/layout-land/share.xml @@ -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" diff --git a/res/layout/share.xml b/res/layout/share.xml index e170edc1..03b67fb7 100755 --- a/res/layout/share.xml +++ b/res/layout/share.xml @@ -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" |
