App: Minor changes
This commit is contained in:
parent
1c245e9b43
commit
ed730bc438
2
MobileApp/.idea/misc.xml
generated
2
MobileApp/.idea/misc.xml
generated
@ -13,7 +13,7 @@
|
|||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/drawable/my_btn_toggle.xml" value="0.1" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/drawable/my_btn_toggle.xml" value="0.1" />
|
||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/drawable/vorwarts.xml" value="0.1" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/drawable/vorwarts.xml" value="0.1" />
|
||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/activity_main.xml" value="0.16666666666666666" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/activity_main.xml" value="0.16666666666666666" />
|
||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_automatik.xml" value="0.3333333333333333" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_automatik.xml" value="0.14666666666666667" />
|
||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_dashboard.xml" value="0.14666666666666667" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_dashboard.xml" value="0.14666666666666667" />
|
||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_einstellungen.xml" value="0.25" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_einstellungen.xml" value="0.25" />
|
||||||
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_home.xml" value="0.16666666666666666" />
|
<entry key="..\:/Line-Following-Robot/MobileApp/app/src/main/res/layout/fragment_home.xml" value="0.16666666666666666" />
|
||||||
|
@ -79,7 +79,7 @@ public class DashboardFragment extends Fragment {
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
// on below line we are getting text from edit text
|
// on below line we are getting text from edit text
|
||||||
String item = Integer.toString(autoList.size() + 1) + ": Links";
|
String item = "Links";
|
||||||
|
|
||||||
// on below line we are checking if item is not empty
|
// on below line we are checking if item is not empty
|
||||||
if (!item.isEmpty()) {
|
if (!item.isEmpty()) {
|
||||||
@ -99,7 +99,7 @@ public class DashboardFragment extends Fragment {
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
// on below line we are getting text from edit text
|
// on below line we are getting text from edit text
|
||||||
String item = Integer.toString(autoList.size() + 1) + ": Rechts";
|
String item = "Rechts";
|
||||||
|
|
||||||
// on below line we are checking if item is not empty
|
// on below line we are checking if item is not empty
|
||||||
if (!item.isEmpty()) {
|
if (!item.isEmpty()) {
|
||||||
@ -132,9 +132,11 @@ public class DashboardFragment extends Fragment {
|
|||||||
|
|
||||||
public String listToString(ArrayList<String> list){
|
public String listToString(ArrayList<String> list){
|
||||||
String result = "";
|
String result = "";
|
||||||
|
//if(!list.size().isEmptry()) {
|
||||||
for (String s : list) {
|
for (String s : list) {
|
||||||
result += s + ";";
|
result += s + ";";
|
||||||
}
|
}
|
||||||
|
//}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
android:id="@+id/automaticList"
|
android:id="@+id/automaticList"
|
||||||
android:layout_width="413dp"
|
android:layout_width="413dp"
|
||||||
android:layout_height="470dp"
|
android:layout_height="470dp"
|
||||||
android:layout_marginTop="124dp"
|
android:layout_marginTop="110dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@+id/startAutomatic" />
|
app:layout_constraintTop_toTopOf="@+id/startAutomatic" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user