+++ /dev/null
-<!--
- Copyright 2011 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@drawable/actionbar_compat_item_pressed"
- android:state_pressed="true" />
- <item android:drawable="@drawable/actionbar_compat_item_focused"
- android:state_focused="true" />
- <item android:drawable="@android:color/transparent" />
-</selector>
+++ /dev/null
-<!--
- Copyright 2011 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
- <solid android:color="#ef7000" />
-</shape>
+++ /dev/null
-<!--
- Copyright 2011 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
-<shape xmlns:android="http://schemas.android.com/apk/res/android">
- <solid android:color="#eda700" />
-</shape>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-
-<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/or_launcher"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
android:layout_width="match_parent"\r
android:layout_height="match_parent"\r
+ android:baselineAligned="false"\r
android:orientation="horizontal" >\r
\r
<FrameLayout\r
android:id="@+id/motorBrowserList"\r
android:layout_width="wrap_content"\r
android:layout_height="match_parent"\r
- android:layout_weight="4"/>\r
+ android:layout_weight="4" />\r
\r
<FrameLayout\r
android:id="@+id/sidepane"\r
android:layout_width="wrap_content"\r
android:layout_height="wrap_content"\r
- android:layout_weight="1"/>\r
+ android:layout_weight="1" />\r
\r
</LinearLayout>
\ No newline at end of file
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical"
- padding="2dip" >
+ android:padding="2dip" >
<TextView
android:id="@android:id/text1"
- android:layout_width="fill_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="4dip"
<TextView
android:id="@+id/filebrowser_list_item_name"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:text="@string/motor_commonname" />
<EditText
+ android:inputType="text"
android:id="@+id/TCMotorSearchFormCommonNameField"
android:text="" />
</TableRow>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
+ android:layout_height="fill_parent"
+ android:baselineAligned="false" >
<LinearLayout
android:id="@+id/treeview_list_item_image_layout"
<FrameLayout
android:id="@+id/treeview_list_item_frame"
- android:layout_width="fill_parent"
+ android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="1" >
</FrameLayout>
<item\r
android:id="@+id/motor_list_menu_option"\r
android:icon="@drawable/ic_motorbrowser"\r
- android:showAsAction="always"\r
+ android:showAsAction="ifRoom"\r
android:title="@string/viewmotorslabel"/>\r
<item\r
android:id="@+id/preference_menu_option"\r
int datasize = timePoints.length;\r
for( int i = 0; i<datasize; i++ ) {\r
series.add(timePoints[i], thrustPoints[i]);\r
- int ceil = new Double(Math.ceil(thrustPoints[i])).intValue();\r
+ int ceil =(int) Math.ceil(thrustPoints[i]);\r
if ( ceil > maxy ) {\r
maxy = ceil;\r
}\r
if ( maxx >= 2.0 ) {\r
maxx = Math.ceil(maxx);\r
} else {\r
- maxx = new Double( Math.ceil(maxx*10.0) ).intValue() /10.0;\r
+ maxx = Math.ceil(maxx*10.0) /10.0;\r
}\r
renderer.setXAxisMax(maxx);\r
\r