Skip to content

Commit

Permalink
refactor(main):refactor joystick code
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCShou committed Oct 16, 2022
1 parent 1436a1f commit 827eaca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/zcshou/joystick/JoyStick.java
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ public interface JoyStickClickListener {
void onPositionInfo(double lng, double lat);
}


@SuppressLint({"InflateParams", "ClickableViewAccessibility"})
private void initJoyStickMapView() {
mMapLayout = (FrameLayout)inflater.inflate(R.layout.joystick_map, null);
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/layout/joystick_history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="300dp"
android:layout_height="500dp"
android:minHeight="340dp"
android:minWidth="340dp"
android:background="@drawable/border_window"
android:orientation="vertical">

Expand Down

0 comments on commit 827eaca

Please sign in to comment.