From: dswitkin Date: Thu, 22 Oct 2009 14:51:53 +0000 (+0000) Subject: - Added back support for Cupcake by making the choice of preview callback conditional... X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=2928327fe47e3bf901adbe88a72df525f30d0604;hp=983da3cbc8dcb9080df1bc6d43497545c9e57a2b;p=zxing.git - Added back support for Cupcake by making the choice of preview callback conditional on the build flavor. - Fixed a number of non-dpi-aware resource dimensions. - Bumped the version to 3.0 beta 3. git-svn-id: http://zxing.googlecode.com/svn/trunk@1081 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index a793e077..eec262af 100755 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -20,10 +20,10 @@ version to be published. The next versionCode will be 7, regardless of whether t versionName is 2.31, 2.4, or 3.0. --> - - + android:versionName="3.0 beta3" + android:versionCode="37"> + + + android:paddingRight="8dip" + android:paddingTop="8dip" + android:paddingBottom="8dip"/> diff --git a/android/res/layout-land/share.xml b/android/res/layout-land/share.xml index 71447149..34c3cd3f 100755 --- a/android/res/layout-land/share.xml +++ b/android/res/layout-land/share.xml @@ -20,7 +20,7 @@ android:layout_height="fill_parent" android:background="@color/share_view" android:orientation="vertical" - android:padding="16px"> + android:padding="16dip"> + android:paddingBottom="32dip"/> + android:paddingRight="48dip"/> + android:padding="4dip"> + android:padding="4dip"> + android:padding="12dip"> @@ -88,7 +88,7 @@ android:text="@string/msg_default_contents" android:textColor="@color/result_text" android:textSize="22sp" - android:paddingLeft="12px" + android:paddingLeft="12dip" android:autoLink="web"/> @@ -140,7 +140,7 @@ android:layout_weight="0" android:background="@color/status_view" android:baselineAligned="false" - android:padding="4px"> + android:padding="4dip"> + android:paddingBottom="8dip" + android:paddingLeft="8dip" + android:paddingRight="8dip"/> \ No newline at end of file diff --git a/android/res/layout/help.xml b/android/res/layout/help.xml index 062ff68b..d8613a58 100644 --- a/android/res/layout/help.xml +++ b/android/res/layout/help.xml @@ -25,7 +25,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:fadingEdge="vertical" - android:fadingEdgeLength="16dip"/> + android:fadingEdgeLength="12dip"/> diff --git a/android/res/layout/search_book_contents_header.xml b/android/res/layout/search_book_contents_header.xml index f3399c06..1468015d 100644 --- a/android/res/layout/search_book_contents_header.xml +++ b/android/res/layout/search_book_contents_header.xml @@ -18,7 +18,8 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@color/sbc_header_view" - android:paddingLeft="8px" + android:paddingLeft="8dip" + android:paddingBottom="4dip" android:enabled="false" android:textColor="@color/sbc_header_text" android:singleLine="true" diff --git a/android/res/layout/search_book_contents_list_item.xml b/android/res/layout/search_book_contents_list_item.xml index a79f5a0d..2cfaf07a 100644 --- a/android/res/layout/search_book_contents_list_item.xml +++ b/android/res/layout/search_book_contents_list_item.xml @@ -20,13 +20,13 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@color/sbc_list_item" - android:padding="8px"> + android:padding="6dip"> + android:padding="16dip"> + android:paddingBottom="32dip"/> + android:paddingBottom="32dip"/>