From 2a924b870e09a36e160bf61135306844ef2416b1 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 23 Feb 2022 19:20:27 -0500 Subject: [PATCH] rename --- .../com/rookiedev/hexapod/ControlActivity.kt | 2 +- .../{control_left.xml => ic_control_left.xml} | 2 +- ...xml => ic_control_left_climb_backward.xml} | 2 +- ....xml => ic_control_left_climb_forward.xml} | 2 +- ...otatex.xml => ic_control_left_rotatex.xml} | 2 +- ...otatey.xml => ic_control_left_rotatey.xml} | 2 +- ...otatez.xml => ic_control_left_rotatez.xml} | 2 +- ...ft_twist.xml => ic_control_left_twist.xml} | 2 +- .../src/main/res/layout/activity_control.xml | 127 ++---------------- 9 files changed, 19 insertions(+), 124 deletions(-) rename software/android/app/src/main/res/drawable/{control_left.xml => ic_control_left.xml} (99%) rename software/android/app/src/main/res/drawable/{control_left_climb_backward.xml => ic_control_left_climb_backward.xml} (99%) rename software/android/app/src/main/res/drawable/{control_left_climb_forward.xml => ic_control_left_climb_forward.xml} (99%) rename software/android/app/src/main/res/drawable/{control_left_rotatex.xml => ic_control_left_rotatex.xml} (99%) rename software/android/app/src/main/res/drawable/{control_left_rotatey.xml => ic_control_left_rotatey.xml} (99%) rename software/android/app/src/main/res/drawable/{control_left_rotatez.xml => ic_control_left_rotatez.xml} (99%) rename software/android/app/src/main/res/drawable/{control_left_twist.xml => ic_control_left_twist.xml} (99%) diff --git a/software/android/app/src/main/java/com/rookiedev/hexapod/ControlActivity.kt b/software/android/app/src/main/java/com/rookiedev/hexapod/ControlActivity.kt index 2d4a385..ff1c62b 100644 --- a/software/android/app/src/main/java/com/rookiedev/hexapod/ControlActivity.kt +++ b/software/android/app/src/main/java/com/rookiedev/hexapod/ControlActivity.kt @@ -147,7 +147,7 @@ class ControlActivity : AppCompatActivity() { controlWindowInsets(true) - controlImage = findViewById(R.id.control_image) + controlImage = findViewById(R.id.right_control_image) progressBar = findViewById(R.id.progressBar) buttonRotateX = findViewById(R.id.button_rotatex) diff --git a/software/android/app/src/main/res/drawable/control_left.xml b/software/android/app/src/main/res/drawable/ic_control_left.xml similarity index 99% rename from software/android/app/src/main/res/drawable/control_left.xml rename to software/android/app/src/main/res/drawable/ic_control_left.xml index 8a0f3c5..0132185 100644 --- a/software/android/app/src/main/res/drawable/control_left.xml +++ b/software/android/app/src/main/res/drawable/ic_control_left.xml @@ -8,7 +8,7 @@ android:translateY="-33.9187"> + android:fillColor="#646464" /> + android:fillColor="#646464" /> diff --git a/software/android/app/src/main/res/drawable/control_left_climb_forward.xml b/software/android/app/src/main/res/drawable/ic_control_left_climb_forward.xml similarity index 99% rename from software/android/app/src/main/res/drawable/control_left_climb_forward.xml rename to software/android/app/src/main/res/drawable/ic_control_left_climb_forward.xml index c2d6ef8..4a803a8 100644 --- a/software/android/app/src/main/res/drawable/control_left_climb_forward.xml +++ b/software/android/app/src/main/res/drawable/ic_control_left_climb_forward.xml @@ -8,7 +8,7 @@ android:translateY="-33.9187"> + android:fillColor="#646464" /> diff --git a/software/android/app/src/main/res/drawable/control_left_rotatex.xml b/software/android/app/src/main/res/drawable/ic_control_left_rotatex.xml similarity index 99% rename from software/android/app/src/main/res/drawable/control_left_rotatex.xml rename to software/android/app/src/main/res/drawable/ic_control_left_rotatex.xml index 1caba59..cc08c9d 100644 --- a/software/android/app/src/main/res/drawable/control_left_rotatex.xml +++ b/software/android/app/src/main/res/drawable/ic_control_left_rotatex.xml @@ -8,7 +8,7 @@ android:translateY="-33.9187"> + android:fillColor="#646464" /> diff --git a/software/android/app/src/main/res/drawable/control_left_rotatey.xml b/software/android/app/src/main/res/drawable/ic_control_left_rotatey.xml similarity index 99% rename from software/android/app/src/main/res/drawable/control_left_rotatey.xml rename to software/android/app/src/main/res/drawable/ic_control_left_rotatey.xml index 2995af5..d25e008 100644 --- a/software/android/app/src/main/res/drawable/control_left_rotatey.xml +++ b/software/android/app/src/main/res/drawable/ic_control_left_rotatey.xml @@ -8,7 +8,7 @@ android:translateY="-33.9187"> + android:fillColor="#646464" /> diff --git a/software/android/app/src/main/res/drawable/control_left_rotatez.xml b/software/android/app/src/main/res/drawable/ic_control_left_rotatez.xml similarity index 99% rename from software/android/app/src/main/res/drawable/control_left_rotatez.xml rename to software/android/app/src/main/res/drawable/ic_control_left_rotatez.xml index 3219f2e..ebb7515 100644 --- a/software/android/app/src/main/res/drawable/control_left_rotatez.xml +++ b/software/android/app/src/main/res/drawable/ic_control_left_rotatez.xml @@ -8,7 +8,7 @@ android:translateY="-33.9187"> + android:fillColor="#646464" /> diff --git a/software/android/app/src/main/res/drawable/control_left_twist.xml b/software/android/app/src/main/res/drawable/ic_control_left_twist.xml similarity index 99% rename from software/android/app/src/main/res/drawable/control_left_twist.xml rename to software/android/app/src/main/res/drawable/ic_control_left_twist.xml index 9616de3..c22a08d 100644 --- a/software/android/app/src/main/res/drawable/control_left_twist.xml +++ b/software/android/app/src/main/res/drawable/ic_control_left_twist.xml @@ -8,7 +8,7 @@ android:translateY="-33.9187"> + android:fillColor="#646464" /> diff --git a/software/android/app/src/main/res/layout/activity_control.xml b/software/android/app/src/main/res/layout/activity_control.xml index 74fe607..99fd217 100644 --- a/software/android/app/src/main/res/layout/activity_control.xml +++ b/software/android/app/src/main/res/layout/activity_control.xml @@ -17,126 +17,21 @@ android:layout_height="match_parent" android:layout_weight="1"> - - - - -