-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android app: refactor the app (useless rn)
commit is useless af, just wanted to make this for wishsing everyone an 🎄 happy and joyful christmas 🎅 hoho
- Loading branch information
1 parent
d3acc62
commit 371d59d
Showing
12 changed files
with
103 additions
and
74 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<solid android:color="#2D2D2D" /> <!-- Background color --> | ||
<corners android:radius="16dp" /> <!-- Rounded corners radius --> | ||
<stroke android:width="2dp" android:color="#BBBBBB" /> <!-- Border color and width --> | ||
</shape> |
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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?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:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="#2D2D2D" | ||
style="@style/Theme.MainActivity" | ||
tools:context=".MainActivity"> | ||
|
||
<TextView | ||
android:id="@+id/spacer" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:textSize="24sp" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/testConfigFile" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:background="@drawable/round_border" | ||
android:padding="16dp" | ||
android:layout_marginTop="32dp" | ||
app:layout_constraintTop_toBottomOf="@id/spacer" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" > | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Test config file" | ||
android:textColor="#FFFFFF" | ||
android:textSize="16sp" /> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Select a config file to test" | ||
android:textColor="#BBBBBB" | ||
android:textSize="14sp" | ||
android:layout_marginTop="8dp" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:id="@+id/aboutMe" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:background="@drawable/round_border" | ||
android:padding="16dp" | ||
android:layout_marginTop="16dp" | ||
app:layout_constraintTop_toBottomOf="@id/testConfigFile" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="About me" | ||
android:textColor="#FFFFFF" | ||
android:textSize="16sp" /> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="About me and customfetch" | ||
android:textColor="#BBBBBB" | ||
android:textSize="14sp" | ||
android:layout_marginTop="8dp" /> | ||
</LinearLayout> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
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
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
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="main_500">@android:color/system_accent1_500</color> | ||
<color name="main_dark_800">@android:color/system_accent1_800</color> | ||
</resources> |
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
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
This file was deleted.
Oops, something went wrong.