This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from michaelorbotix/master
Updated UISample to use Calibration Button Widget
- Loading branch information
Showing
108 changed files
with
112 additions
and
2,745 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
samples/UISample/res/drawable-hdpi/color_picker_preview_background.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
samples/UISample/res/drawable-hdpi/color_picker_preview_background_wide.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
samples/UISample/res/drawable-hdpi/color_picker_rgb_background.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
samples/UISample/res/drawable-hdpi/color_picker_wheel_background.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified
0
samples/UISample/res/drawable-hdpi/slidetosleep_background.png
100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Empty file modified
0
samples/UISample/res/drawable-mdpi/slidetosleep_background.png
100644 → 100755
Oops, something went wrong.
Oops, something went wrong.
Empty file modified
0
samples/UISample/res/drawable-xhdpi/blue_button_background.png
100644 → 100755
Oops, something went wrong.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,85 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- | ||
To use the JoystickView's extra attributes, be sure to include a namespace for your project. Note the: | ||
xmlns:app="http://schemas.android.com/apk/res/orbotix.uisample" | ||
This creates a new namespace, "app", which allows the use of the JoystickView's "puck_radius" attribute. | ||
--> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res/orbotix.uisample" | ||
|
||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="#ff888888" | ||
> | ||
android:background="#ff888888" > | ||
|
||
<Button | ||
android:id="@+id/color_button" | ||
style="@style/ControlButton" | ||
android:layout_alignParentTop="true" | ||
android:layout_alignParentRight="true" | ||
android:text="Color" | ||
android:layout_alignParentTop="true" | ||
android:onClick="onColorClick" | ||
/> | ||
android:text="Color" /> | ||
|
||
<Button | ||
android:id="@+id/calibration_button_above" | ||
style="@style/ControlButton" | ||
android:layout_alignParentBottom="true" | ||
android:layout_centerHorizontal="true" | ||
android:text="O" /> | ||
|
||
<Button | ||
android:id="@+id/calibration_button_right" | ||
style="@style/ControlButton" | ||
android:layout_alignParentLeft="true" | ||
android:layout_centerVertical="true" | ||
android:text="O" /> | ||
|
||
<Button | ||
android:id="@+id/calibration_button_left" | ||
style="@style/ControlButton" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerVertical="true" | ||
android:text="O" /> | ||
|
||
<Button | ||
android:id="@+id/calibration_button_below" | ||
style="@style/ControlButton" | ||
android:layout_alignParentTop="true" | ||
android:layout_centerHorizontal="true" | ||
android:text="O" /> | ||
|
||
<orbotix.robot.widgets.joystick.JoystickView | ||
android:id="@+id/joystick" | ||
android:layout_width="300dp" | ||
android:layout_height="300dp" | ||
android:layout_width="250dp" | ||
android:layout_height="250dp" | ||
android:layout_centerHorizontal="true" | ||
android:layout_alignParentBottom="true" | ||
app:puck_radius="40dp" | ||
android:layout_centerVertical="true" | ||
app:edge_overlap="20dp" | ||
/> | ||
app:puck_radius="30dp" /> | ||
|
||
<orbotix.robot.widgets.calibration.CalibrationView | ||
android:id="@+id/calibration" | ||
<orbotix.view.calibration.CalibrationButtonView | ||
android:id="@+id/calibration_above" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
/> | ||
android:layout_height="fill_parent" /> | ||
|
||
</RelativeLayout> | ||
<orbotix.view.calibration.CalibrationButtonView | ||
android:id="@+id/calibration_below" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" /> | ||
|
||
<orbotix.view.calibration.CalibrationButtonView | ||
android:id="@+id/calibration_left" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" /> | ||
|
||
<orbotix.view.calibration.CalibrationButtonView | ||
android:id="@+id/calibration_right" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" /> | ||
|
||
<orbotix.view.calibration.CalibrationView | ||
android:id="@+id/calibration_two_finger" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" /> | ||
|
||
</RelativeLayout> |
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
70 changes: 0 additions & 70 deletions
70
samples/UISample/src/orbotix/robot/animation/DrawnAnimation.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.