Added Redirect settings page

This commit is contained in:
partisan 2025-05-20 14:31:24 +02:00
commit e8549c8841
13 changed files with 268 additions and 35 deletions
app/src/main/res/layout

View file

@ -15,7 +15,7 @@
android:id="@+id/titleText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Support Pulse Development 💖"
android:text="@string/donate_title"
android:textSize="20sp"
android:textStyle="bold"
android:layout_marginBottom="8dp" />
@ -24,7 +24,7 @@
android:id="@+id/descText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Pulse is free and open-source. You can support future development through Ko-fi. As a thank-you, donors get special animation effects!"
android:text="@string/donate_description"
android:textSize="16sp"
android:layout_marginBottom="12dp" />
@ -43,14 +43,14 @@
android:id="@+id/kofiButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Donate via Ko-fi 💙"
android:text="@string/donate_button"
android:layout_marginBottom="12dp" />
<TextView
android:id="@+id/postDonatePrompt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Already donated? Tap below to activate your token."
android:text="@string/donate_post_prompt"
android:textSize="16sp"
android:layout_marginTop="24dp"
android:layout_marginBottom="8dp" />
@ -59,7 +59,7 @@
android:id="@+id/openTokenSection"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="I have a token"
android:text="@string/donate_have_token"
android:layout_marginBottom="16dp" />
<!-- Token activation section (initially hidden) -->
@ -74,7 +74,7 @@
android:id="@+id/instruction"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Enter your Ko-fi token:"
android:text="@string/donate_token_instruction"
android:textSize="16sp"
android:layout_marginBottom="8dp" />
@ -82,7 +82,7 @@
android:id="@+id/tokenInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="token:abcd1234efgh5678"
android:hint="@string/donate_token_hint"
android:inputType="text"
android:maxLength="32"
android:layout_marginBottom="12dp"/>
@ -91,7 +91,7 @@
android:id="@+id/verifyButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Activate Token" />
android:text="@string/donate_token_activate" />
<TextView
android:id="@+id/resultText"