First version.

This commit is contained in:
rics
2011-10-12 13:16:02 +02:00
commit f404937f84
272 changed files with 6694 additions and 0 deletions

View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Guenther Hoelzl, Shawn Brown
This file is part of MINDdroid.
MINDdroid is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
MINDdroid is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
MINDdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="5dp" >
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/logo_splash_minddroid"/>
<ScrollView android:id="@+id/ScrollView"
android:layout_marginBottom="110dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:scrollbars="vertical"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:padding="5dp">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="6pt"
android:gravity="center"
android:text="@string/about_general"/>
<TextView
android:paddingTop="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="6pt"
android:gravity="center"
android:autoLink="web"
android:linksClickable="true"
android:text="@string/about_license_gpl"/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/gplv3"/>
<TextView
android:paddingTop="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="6pt"
android:gravity="center"
android:text="@string/about_license_lego"/>
<TextView
android:id="@+id/AboutPeople"
android:paddingTop="12dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="6pt"
android:gravity="center"
android:autoLink="web"
android:linksClickable="true"
android:text="@string/about_people"/>
<TextView
android:paddingTop="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="6pt"
android:gravity="center"
android:text="@string/about_thanks"/>
<TextView
android:paddingTop="5dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="6pt"
android:gravity="center"
android:text="@string/about_LEGO_legal"/>
</LinearLayout>
</ScrollView>
<RelativeLayout android:layout_marginTop="-110dip" android:gravity="bottom" android:layout_height="wrap_content" android:layout_width="fill_parent">
<ImageView
android:id="@+id/legalImage"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/ic_splash_legal"/>
<Button
android:id="@+id/AboutOKbutton"
android:textSize="20sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/legalImage"
android:text="@string/about_ok"
/>
</RelativeLayout>
</LinearLayout>

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2009 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@android:color/white"
>
<TextView android:id="@+id/title_paired_devices"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/title_paired_devices"
android:visibility="gone"
android:background="#666"
android:textColor="#fff"
android:textSize="20sp"
android:paddingLeft="5dp"
/>
<ListView android:id="@+id/paired_devices"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stackFromBottom="true"
android:layout_weight="1"
android:background="@android:color/white"
/>
<TextView android:id="@+id/title_new_devices"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/title_other_devices"
android:visibility="gone"
android:background="#666"
android:textColor="#fff"
android:textSize="20sp"
android:paddingLeft="5dp"
/>
<ListView android:id="@+id/new_devices"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stackFromBottom="true"
android:layout_weight="2"
android:background="@android:color/white"
/>
<Button android:id="@+id/button_scan"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_scan"
/>
</LinearLayout>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 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.
-->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:textColor="#ff9f00"
android:textStyle="bold"
/>

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/NXJUploader_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/background_1"
>
<TextView
android:id="@+id/heading_tv"
android:layout_marginTop="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/nxj_uploader_name"
android:textSize="12pt"
android:gravity="center"
android:textStyle="bold"
android:textColor="#ff9f00"
android:layout_gravity="center_horizontal"
/>
<Button
android:id="@+id/nxt_button"
android:layout_marginTop="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="12pt"
android:text="@string/nxj_select_nxt"
/>
<TextView
android:id="@+id/nxt_name"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#60000000"
android:textSize="8pt"
android:textColor="#ff9f00"
android:minLines="1"
android:gravity="center_horizontal"
/>
<Button
android:id="@+id/file_button"
android:layout_marginTop="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="12pt"
android:text="@string/nxj_select_file"
/>
<TextView
android:id="@+id/nxj_file_name"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#60000000"
android:textSize="8pt"
android:textColor="#ff9f00"
android:minLines="1"
android:gravity="center_horizontal"
/>
<Button
android:id="@+id/upload_button"
android:layout_marginTop="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/nxj_action"
android:textSize="12pt"
android:layout_gravity="center_horizontal"
/>
</LinearLayout>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Guenther Hoelzl, Shawn Brown
This file is part of MINDdroid.
MINDdroid is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
MINDdroid is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
MINDdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<ScrollView android:id="@+id/ScrollView"
android:layout_marginBottom="130dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="wrap_content">
<RadioGroup android:id="@+id/robot_type"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical">
<RadioButton android:id="@+id/robot_type_1" android:text="Shooterbot"
android:drawableBottom="@drawable/shooterbot" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:scaleType="centerCrop" android:drawablePadding="1dp" android:paddingBottom="8dp"/>
<RadioButton android:id="@+id/robot_type_2" android:text="Tribot"
android:drawableBottom="@drawable/tribot" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:scaleType="centerCrop" android:drawablePadding="1dp" android:paddingBottom="8dp"/>
<RadioButton android:id="@+id/robot_type_3" android:text="Robogator"
android:drawableBottom="@drawable/robogator" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:scaleType="centerCrop" android:drawablePadding="1dp" android:paddingBottom="8dp"/>
<RadioButton android:id="@+id/robot_type_4" android:text="leJOS NXJ model"
android:drawableBottom="@drawable/nxj" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:scaleType="centerCrop" android:drawablePadding="1dp"/>
<RadioButton android:id="@+id/robot_type_5" android:text="OpenCV vehicle"
android:drawableBottom="@drawable/opencv" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:scaleType="centerCrop" android:drawablePadding="1dp"/>
</RadioGroup>
</LinearLayout>
</ScrollView>

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Guenther Hoelzl, Shawn Brown
This file is part of MINDdroid.
MINDdroid is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
MINDdroid is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
MINDdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="5dp" >
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/logo_splash_minddroid"/>
<TextView
android:padding="10dp"
android:id="@+id/TutorialTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#00ccff"
android:textSize="12pt"
android:gravity="center"/>
<ImageView
android:id="@+id/legalImage"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/ic_splash_legal"/>
<Button
android:id="@+id/nextButton"
android:textSize="20sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/legalImage"
android:text="@string/want_to_know_more"/>
</LinearLayout>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Guenther Hoelzl, Shawn Brown
This file is part of MINDdroid.
MINDdroid is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
MINDdroid is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
MINDdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="5dp" >
<ImageView
android:id="@+id/TutorialImageView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:gravity="center"/>
<TextView
android:id="@+id/TutorialTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dip"
android:layout_gravity="center_horizontal|top"
android:background="#FFFFFFFF"
android:textColor="#FF000000"
android:textStyle="bold"/>
</FrameLayout>

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Guenther Hoelzl, Shawn Brown
This file is part of MINDdroid.
MINDdroid is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
MINDdroid is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
MINDdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="5dp" >
<ScrollView android:id="@+id/ScrollView"
android:layout_marginBottom="50dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:scrollbars="vertical"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:padding="5dp">
<TextView
android:id="@+id/TutorialTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="10pt"
android:textColor="#00ccff"
android:autoLink="web"
android:linksClickable="true"
android:gravity="left"/>
</LinearLayout>
</ScrollView>
<RelativeLayout android:layout_marginTop="-50dip" android:gravity="bottom" android:layout_height="wrap_content" android:layout_width="fill_parent">
<Button
android:id="@+id/nextButton"
android:textSize="20sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/next"
/>
</RelativeLayout>
</LinearLayout>

View File

@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Guenther Hoelzl, Shawn Brown
This file is part of MINDdroid.
MINDdroid is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
MINDdroid is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
MINDdroid. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="5dp" >
<ScrollView android:id="@+id/ScrollView"
android:layout_marginBottom="50dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:scrollbars="vertical"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:padding="5dp">
<TextView
android:id="@+id/TutorialTextView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="10pt"
android:gravity="left"
android:textColor="#00ccff"
android:text="@string/tutorial_b"/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/hand_small"/>
<TextView
android:id="@+id/TutorialTextView2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="10pt"
android:gravity="left"
android:textColor="#00ccff"
android:text="@string/tutorial_c1"/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/mobiles_small"/>
<TextView
android:id="@+id/TutorialTextView3"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="10pt"
android:gravity="left"
android:textColor="#00ccff"
android:text="@string/tutorial_c2"/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/shooter_small"/>
<TextView
android:id="@+id/TutorialTextView4"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="10pt"
android:autoLink="web"
android:linksClickable="true"
android:gravity="left"
android:textColor="#00ccff"
android:text="@string/tutorial_d"/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" android:src="@drawable/nxj"/>
</LinearLayout>
</ScrollView>
<RelativeLayout android:layout_marginTop="-50dip" android:gravity="bottom" android:layout_height="wrap_content" android:layout_width="fill_parent">
<Button
android:id="@+id/nextButton"
android:textSize="20sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/next"
/>
</RelativeLayout>
</LinearLayout>