added color change and a new empety screen

This commit is contained in:
2026-07-04 22:31:52 -04:00
parent 873227600f
commit 6b1a2588eb
19 changed files with 569 additions and 30 deletions

View File

@@ -4,6 +4,14 @@
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
<DropdownSelection timestamp="2026-07-04T23:58:28.643577900Z">
<Target type="DEFAULT_BOOT">
<handle>
<DeviceId pluginId="LocalEmulator" identifier="path=C:\Users\cayde\.android\avd\Pixel_9_Pro_XL.avd" />
</handle>
</Target>
</DropdownSelection>
<DialogSelection />
</SelectionState>
</selectionStates>
</component>

6
Generator/.idea/studiobot.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="StudioBotProjectSettings">
<option name="shareContext" value="OptedIn" />
</component>
</project>

View File

@@ -12,11 +12,17 @@
android:roundIcon="@drawable/ic_launcher_background"
android:supportsRtl="true"
android:theme="@style/Theme.Generator">
<activity
android:name=".ColorActivity"
android:exported="false" />
<activity
android:name=".MakeAutoActivity"
android:exported="false" />
<activity
android:name=".StartingPreview"
android:exported="false" />
<activity
android:name=".makeActivity"
android:name=".MakeStartingActivity"
android:exported="false" />
<activity
android:name=".MainActivity"

View File

@@ -0,0 +1,205 @@
package com.example.generator;
import android.content.Intent;
import android.content.res.ColorStateList;
import android.os.Bundle;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.RadioButton;
import android.widget.Spinner;
import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import com.google.android.material.button.MaterialButton;
public class ColorActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EdgeToEdge.enable(this);
setContentView(R.layout.activity_color);
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
return insets;
});
Spinner spinnerP = (Spinner) findViewById(R.id.ColorSelector);
ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this, R.array.colorOptions, android.R.layout.simple_spinner_item);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinnerP.setAdapter(adapter);
Spinner spinnerS = (Spinner) findViewById(R.id.ColorSelector2nd);
ArrayAdapter<CharSequence> adapter2 = ArrayAdapter.createFromResource(this, R.array.colorOptions2nd, android.R.layout.simple_spinner_item);
adapter2.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinnerS.setAdapter(adapter2);
Button backButton = (Button) findViewById(R.id.button_back);
Button nextButton = (Button) findViewById(R.id.button_next);
backButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, MainActivity.class);
startActivity(intent);
});
nextButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, MakeStartingActivity.class);
startActivity(intent);
});
MaterialButton TeleExample1 = (MaterialButton) findViewById(R.id.button_tele_example);
MaterialButton TeleExample2 = (MaterialButton) findViewById(R.id.button_tele_example2);
MaterialButton AutoExample1 = (MaterialButton) findViewById(R.id.button_auto_example);
MaterialButton AutoExample2 = (MaterialButton) findViewById(R.id.button_auto_example2);
MaterialButton NavExample1 = (MaterialButton) findViewById(R.id.button_nav_example);
MaterialButton NavExample2 = (MaterialButton) findViewById(R.id.button_nav_example2);
RadioButton radioButton = (RadioButton) findViewById(R.id.radioButton);
CheckBox checkBox = (CheckBox) findViewById(R.id.checkBox);
spinnerP.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parentView, android.view.View selectedItemView, int position, long id) {
String selectedItem = parentView.getItemAtPosition(position).toString();
int mainColorRes = 0;
int bgTintRes = 0;
String hexColor = "";
switch (selectedItem) {
case "Primary Orange":
hexColor = "#FF5722";
mainColorRes = R.color.orangeMain;
bgTintRes = R.color.orangeMain_bg;
break;
case "Primary Green":
hexColor = "#0EE906";
mainColorRes = R.color.greenMain;
bgTintRes = R.color.greenMain_bg;
break;
case "Primary Blue":
hexColor = "#205CDF";
mainColorRes = R.color.blueMain;
bgTintRes = R.color.blueMain_bg;
break;
case "Primary Pink":
hexColor = "#F200DD";
mainColorRes = R.color.pinkMain;
bgTintRes = R.color.pinkMain_bg;
break;
case "Primary Purple":
hexColor = "#A30096";
mainColorRes = R.color.purpleMain;
bgTintRes = R.color.purpleMain_bg;
break;
case "Primary Red":
hexColor = "#DF2020";
mainColorRes = R.color.redMain;
bgTintRes = R.color.redMain_bg;
break;
case "Primary Yellow":
hexColor = "#FFEB3B";
mainColorRes = R.color.yellowMain;
bgTintRes = R.color.yellowMain_bg;
break;
}
if (mainColorRes != 0) {
ColorStateList mainColorStateList = ContextCompat.getColorStateList(ColorActivity.this, mainColorRes);
ColorStateList bgTintStateList = ContextCompat.getColorStateList(ColorActivity.this, bgTintRes);
int mainColorInt = ContextCompat.getColor(ColorActivity.this, mainColorRes);
MakeStartingActivity.Data.setColorP(hexColor);
spinnerP.setBackgroundColor(mainColorInt);
radioButton.setButtonTintList(mainColorStateList);
checkBox.setButtonTintList(mainColorStateList);
TeleExample1.setStrokeColor(mainColorStateList);
TeleExample1.setBackgroundTintList(bgTintStateList);
AutoExample2.setStrokeColor(mainColorStateList);
AutoExample2.setBackgroundTintList(bgTintStateList);
NavExample2.setBackgroundColor(mainColorInt);
NavExample1.setBackgroundColor(mainColorInt);
}
}
@Override
public void onNothingSelected(AdapterView<?> parentView) {}
});
spinnerS.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parentView, android.view.View selectedItemView, int position, long id) {
String selectedItem = parentView.getItemAtPosition(position).toString();
int mainColorRes = 0;
int bgTintRes = 0;
String hexColor = "";
switch (selectedItem) {
case "Secondary Orange":
hexColor = "#FF5722";
mainColorRes = R.color.orangeMain;
bgTintRes = R.color.orangeMain_bg;
break;
case "Secondary Green":
hexColor = "#0EE906";
mainColorRes = R.color.greenMain;
bgTintRes = R.color.greenMain_bg;
break;
case "Secondary Blue":
hexColor = "#205CDF";
mainColorRes = R.color.blueMain;
bgTintRes = R.color.blueMain_bg;
break;
case "Secondary Pink":
hexColor = "#F200DD";
mainColorRes = R.color.pinkMain;
bgTintRes = R.color.pinkMain_bg;
break;
case "Secondary Purple":
hexColor = "#A30096";
mainColorRes = R.color.purpleMain;
bgTintRes = R.color.purpleMain_bg;
break;
case "Secondary Red":
hexColor = "#DF2020";
mainColorRes = R.color.redMain;
bgTintRes = R.color.redMain_bg;
break;
case "Secondary Yellow":
hexColor = "#FFEB3B";
mainColorRes = R.color.yellowMain;
bgTintRes = R.color.yellowMain_bg;
break;
}
if (mainColorRes != 0) {
ColorStateList mainColorStateList = ContextCompat.getColorStateList(ColorActivity.this, mainColorRes);
ColorStateList bgTintStateList = ContextCompat.getColorStateList(ColorActivity.this, bgTintRes);
int mainColorInt = ContextCompat.getColor(ColorActivity.this, mainColorRes);
MakeStartingActivity.Data.setColorS(hexColor);
spinnerS.setBackgroundColor(mainColorInt);
TeleExample2.setStrokeColor(mainColorStateList);
TeleExample2.setBackgroundTintList(bgTintStateList);
AutoExample1.setStrokeColor(mainColorStateList);
AutoExample1.setBackgroundTintList(bgTintStateList);
}
}
@Override
public void onNothingSelected(AdapterView<?> parentView) {}
});
}
}

View File

@@ -1,9 +1,15 @@
package com.example.generator;
import org.apache.commons.codec.binary.Hex;
public class Data {
private String base64;
private int numPos;
private String colorP;
private String colorS;
public String getBase64() {
return base64;
@@ -19,5 +25,21 @@ public class Data {
return Math.max(0, numPos);
}
public String getColorP() {
return colorP;
}
public void setColorP(String colorP) {
this.colorP = colorP;
}
public String getColorS() {
return colorS;
}
public void setColorS(String colorS) {
this.colorS = colorS;
}
}

View File

@@ -24,7 +24,7 @@ public class MainActivity extends AppCompatActivity {
});
Button makeButton = (Button) findViewById(R.id.button_next);
makeButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, makeActivity.class);
Intent intent = new Intent(this, ColorActivity.class);
startActivity(intent);
});
}

View File

@@ -0,0 +1,38 @@
package com.example.generator;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
public class MakeAutoActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EdgeToEdge.enable(this);
setContentView(R.layout.activity_make_auto);
ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> {
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
return insets;
});
Button backButton = (Button) findViewById(R.id.button_back);
Button nextButton = (Button) findViewById(R.id.button_next);
backButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, StartingPreview.class);
startActivity(intent);
});
nextButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, MakeAutoActivity.class);
startActivity(intent);
});
}
}

View File

@@ -25,7 +25,7 @@ import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.util.Objects;
public class makeActivity extends AppCompatActivity {
public class MakeStartingActivity extends AppCompatActivity {
public static Data Data = new Data();
private ImageView imageView;
private int numPos = -1;
@@ -80,7 +80,6 @@ public class makeActivity extends AppCompatActivity {
Data.setNumPos(numPos);
Data.setBase64(Base64img);
Intent intent = new Intent(this, StartingPreview.class);
intent.putExtra("EXTRA_IMAGE_BASE64", Base64img);
startActivity(intent);
}
}

View File

@@ -34,7 +34,7 @@ public class StartingPreview extends AppCompatActivity {
});
ImageView imageView2 = findViewById(R.id.imageView2);
String imageBase64 = getIntent().getStringExtra("EXTRA_IMAGE_BASE64");
String imageBase64 = MakeStartingActivity.Data.getBase64();
if (imageBase64 != null && !imageBase64.isEmpty()) {
try {
@@ -49,10 +49,9 @@ public class StartingPreview extends AppCompatActivity {
RadioGroup radioGroup = findViewById(R.id.radioGroup);
int totalPositions;
totalPositions = makeActivity.Data.getNumPos();
totalPositions = MakeStartingActivity.Data.getNumPos();
int whiteColor = ContextCompat.getColor(this, R.color.white);
int mainColor = ContextCompat.getColor(this, R.color.main);
int mainColor = ContextCompat.getColor(this, R.color.orangeMain);
ColorStateList buttonTintList = ColorStateList.valueOf(mainColor);
RadioGroup.LayoutParams layoutParams = new RadioGroup.LayoutParams(
RadioGroup.LayoutParams.MATCH_PARENT,
@@ -76,11 +75,11 @@ public class StartingPreview extends AppCompatActivity {
Button backButton = (Button) findViewById(R.id.backButton);
Button nextButton = (Button) findViewById(R.id.buttonNext);
backButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, makeActivity.class);
Intent intent = new Intent(this, MakeStartingActivity.class);
startActivity(intent);
});
nextButton.setOnClickListener((v) -> {
Intent intent = new Intent(this, MainActivity.class);
Intent intent = new Intent(this, MakeAutoActivity.class);
startActivity(intent);
});
}

View File

@@ -0,0 +1,176 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".ColorActivity">
<Button
android:id="@+id/button_next"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/orangeMain"
android:text="Next"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button_back" />
<Button
android:id="@+id/button_nav_example"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="16dp"
android:backgroundTint="@color/orangeMain"
android:text="Next Example"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/button_next"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button_nav_example2" />
<Button
android:id="@+id/button_nav_example2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:layout_marginBottom="16dp"
android:backgroundTint="@color/orangeMain"
android:text="Back Example"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/button_next"
app:layout_constraintEnd_toStartOf="@+id/button_nav_example"
app:layout_constraintStart_toStartOf="parent" />
<Button
android:id="@+id/button_tele_example"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="Tele Main"
android:textColor="@color/white"
android:textSize="20sp"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/button_auto_example2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/guideline2"
app:strokeWidth="5dp" />
<Button
android:id="@+id/button_auto_example2"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="Auto Secondary"
android:textColor="@color/white"
android:textSize="20sp"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/button_auto_example"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button_tele_example"
app:strokeWidth="5dp" />
<Button
android:id="@+id/button_auto_example"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="Auto Main"
android:textColor="@color/white"
android:textSize="20sp"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/button_tele_example2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.536"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button_auto_example2"
app:strokeWidth="5dp" />
<Button
android:id="@+id/button_tele_example2"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="Tele Secondary"
android:textColor="@color/white"
android:textSize="20sp"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/radioButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button_auto_example"
app:strokeWidth="5dp" />
<Button
android:id="@+id/button_back"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:backgroundTint="@color/orangeMain"
android:text="Back"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/button_next"
app:layout_constraintStart_toStartOf="parent" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent=".15" />
<Spinner
android:id="@+id/ColorSelector"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:background="@color/orangeMain"
android:theme="@style/WhiteSpinnerTheme" />
<Spinner
android:id="@+id/ColorSelector2nd"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/greenMain"
android:theme="@style/WhiteSpinnerTheme"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ColorSelector" />
<RadioButton
android:id="@+id/radioButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RadioButton Example"
android:textColor="@color/white"
app:buttonTint="@color/orangeMain"
app:layout_constraintBottom_toTopOf="@+id/button_nav_example"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/checkBox" />
<CheckBox
android:id="@+id/checkBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CheckBox Example"
android:textColor="@color/white"
app:buttonTint="@color/orangeMain"
app:layout_constraintBottom_toTopOf="@+id/button_nav_example2"
app:layout_constraintEnd_toStartOf="@+id/radioButton"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Make New"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
@@ -42,7 +42,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Edit Existing"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"

View File

@@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".makeActivity">
tools:context=".MakeStartingActivity">
<TextView
@@ -28,7 +28,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Next"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
@@ -42,7 +42,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Back"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
@@ -55,7 +55,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Choose image"
app:cornerRadius="0dp"
app:layout_constraintEnd_toEndOf="parent"

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
tools:context=".MakeAutoActivity">
<Button
android:id="@+id/button_next"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/orangeMain"
android:text="Next"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button_back" />
<Button
android:id="@+id/button_back"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:backgroundTint="@color/orangeMain"
android:text="Back"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/button_next"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -89,7 +89,7 @@
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:layout_marginBottom="16dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Back (fake)"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/backButton"
@@ -103,7 +103,7 @@
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="16dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Next (fake)"
app:cornerRadius="0dp"
app:layout_constraintBottom_toTopOf="@+id/buttonNext"
@@ -116,7 +116,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="4dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Back"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"
@@ -129,7 +129,7 @@
android:layout_height="48dp"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/main"
android:backgroundTint="@color/orangeMain"
android:text="Next"
app:cornerRadius="0dp"
app:layout_constraintBottom_toBottomOf="parent"

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="colorOptions">
<item>Primary Orange</item>
<item>Primary Green</item>
<item>Primary Blue</item>
<item>Primary Pink</item>
<item>Primary Purple</item>
<item>Primary Red</item>
<item>Primary Yellow</item>
</string-array>
<string-array name="colorOptions2nd">
<item>Secondary Green</item>
<item>Secondary Orange</item>
<item>Secondary Blue</item>
<item>Secondary Pink</item>
<item>Secondary Purple</item>
<item>Secondary Red</item>
<item>Secondary Yellow</item>
</string-array>
</resources>

View File

@@ -2,11 +2,25 @@
<resources>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="main">#FF5722</color>
<color name="main_bg">#40FF5722</color>
<color name="gray_hint">#AAAAAA</color>
<color name="alliance_red">#F71000</color>
<color name="alliance_blue">#0084ff</color>
<color name="second">#0EE906</color>
<color name="second_bg">#400EE906</color>
<color name="redMain">#DF2020</color>
<color name="redMain_bg">#40DF2020</color>
<color name="blueMain">#205CDF</color>
<color name="blueMain_bg">#40205CDF</color>
<color name="pinkMain">#F200DD</color>
<color name="pinkMain_bg">#40F200DD</color>
<color name="purpleMain">#A30096</color>
<color name="purpleMain_bg">#40A30096</color>
<color name="yellowMain">#F2EE00</color>
<color name="yellowMain_bg">#40F2EE00</color>
<color name="greenMain">#0EE906</color>
<color name="greenMain_bg">#400EE906</color>
<color name="orangeMain">#FF5722</color>
<color name="orangeMain_bg">#40FF5722</color>
</resources>

View File

@@ -1,4 +1,4 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Base application theme. -->
<style name="Base.Theme.Generator" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
@@ -6,4 +6,12 @@
</style>
<style name="Theme.Generator" parent="Base.Theme.Generator" />
<style name="WhiteSpinnerTheme">
<item name="android:textColor">@color/white</item>
<item name="android:background">@color/black</item>
</style>
</resources>