From: kruland2607 Date: Wed, 23 May 2012 21:20:46 +0000 (+0000) Subject: Variety of changes based on suggestions from ADT Lint. Includes removing extra drawa... X-Git-Tag: upstream/12.09^2~232 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=321a4093664c27e2f7c61d990be81bfa8169e00e;p=debian%2Fopenrocket Variety of changes based on suggestions from ADT Lint. Includes removing extra drawables left about after switching to ActionBarSherlock. Layout changes for speed improvements. etc. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@720 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/android/res/drawable-hdpi/actionbar_shadow.9.png b/android/res/drawable-hdpi/actionbar_shadow.9.png deleted file mode 100644 index 3c80a3fc..00000000 Binary files a/android/res/drawable-hdpi/actionbar_shadow.9.png and /dev/null differ diff --git a/android/res/drawable-mdpi/actionbar_shadow.9.png b/android/res/drawable-mdpi/actionbar_shadow.9.png deleted file mode 100644 index cae1778f..00000000 Binary files a/android/res/drawable-mdpi/actionbar_shadow.9.png and /dev/null differ diff --git a/android/res/drawable-mdpi/ic_home_carat.png b/android/res/drawable-mdpi/ic_home_carat.png deleted file mode 100644 index 22dad56d..00000000 Binary files a/android/res/drawable-mdpi/ic_home_carat.png and /dev/null differ diff --git a/android/res/drawable-xhdpi/actionbar_shadow.9.png b/android/res/drawable-xhdpi/actionbar_shadow.9.png deleted file mode 100644 index 30778e3f..00000000 Binary files a/android/res/drawable-xhdpi/actionbar_shadow.9.png and /dev/null differ diff --git a/android/res/drawable/actionbar_compat_item.xml b/android/res/drawable/actionbar_compat_item.xml deleted file mode 100644 index 4b3960cf..00000000 --- a/android/res/drawable/actionbar_compat_item.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - diff --git a/android/res/drawable/actionbar_compat_item_focused.xml b/android/res/drawable/actionbar_compat_item_focused.xml deleted file mode 100644 index 04811d33..00000000 --- a/android/res/drawable/actionbar_compat_item_focused.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/android/res/drawable/actionbar_compat_item_pressed.xml b/android/res/drawable/actionbar_compat_item_pressed.xml deleted file mode 100644 index 72ff4b4f..00000000 --- a/android/res/drawable/actionbar_compat_item_pressed.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/android/res/drawable/home_item.xml b/android/res/drawable/home_item.xml deleted file mode 100644 index 9afcd5a0..00000000 --- a/android/res/drawable/home_item.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - diff --git a/android/res/layout-xlarge-land/motorbrowser.xml b/android/res/layout-xlarge-land/motorbrowser.xml index 33c1237d..25a2a836 100644 --- a/android/res/layout-xlarge-land/motorbrowser.xml +++ b/android/res/layout-xlarge-land/motorbrowser.xml @@ -2,18 +2,19 @@ + android:layout_weight="4" /> + android:layout_weight="1" /> \ No newline at end of file diff --git a/android/res/layout/component_list_item.xml b/android/res/layout/component_list_item.xml index 6956b2d0..7b12fc2d 100644 --- a/android/res/layout/component_list_item.xml +++ b/android/res/layout/component_list_item.xml @@ -3,11 +3,11 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" - padding="2dip" > + android:padding="2dip" > diff --git a/android/res/layout/tree_list_item_wrapper.xml b/android/res/layout/tree_list_item_wrapper.xml index ba93f47d..7fe31961 100644 --- a/android/res/layout/tree_list_item_wrapper.xml +++ b/android/res/layout/tree_list_item_wrapper.xml @@ -1,7 +1,8 @@ + android:layout_height="fill_parent" + android:baselineAligned="false" > diff --git a/android/res/menu/rocket_viewer_option_menu.xml b/android/res/menu/rocket_viewer_option_menu.xml index ac2387e2..349893b6 100644 --- a/android/res/menu/rocket_viewer_option_menu.xml +++ b/android/res/menu/rocket_viewer_option_menu.xml @@ -7,7 +7,7 @@ maxy ) { maxy = ceil; } @@ -144,7 +144,7 @@ public class BurnPlotFragment extends Fragment { if ( maxx >= 2.0 ) { maxx = Math.ceil(maxx); } else { - maxx = new Double( Math.ceil(maxx*10.0) ).intValue() /10.0; + maxx = Math.ceil(maxx*10.0) /10.0; } renderer.setXAxisMax(maxx);