Skip to content

Commit

Permalink
free pro upgrade offer
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaji Khan committed Oct 27, 2023
1 parent c90b7da commit b268f8c
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 59 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId "com.shajikhan.ladspa.amprack"
minSdk 23
targetSdk 33
versionCode 67
versionName '3.76'
versionCode 68
versionName '3.78'

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
Expand Down
128 changes: 71 additions & 57 deletions app/src/main/res/layout/activity_purchase2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,68 +15,82 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout

<ScrollView
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_width="match_parent"
android:layout_marginTop="100dp"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="100dp"
android:layout_gravity="center"
android:layout_height="100dp"
android:src="@drawable/logo"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="30dp"
android:textColor="@color/white"
android:shadowColor="@color/white"
android:shadowRadius="5"
android:layout_gravity="center"
android:fontFamily="@font/comfortaa"
android:text="Purchase Pro"/>
<com.google.android.material.button.MaterialButton
android:layout_width="wrap_content"
android:layout_gravity="center"
android:text="Buy Now"
android:id="@+id/buy"
android:textColor="@color/white"
android:textStyle="bold"
android:shadowColor="@color/white"
android:shadowRadius="5"
android:fontFamily="@font/comfortaa"
android:background="@color/fui_transparent"
android:backgroundTint="@color/fui_transparent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content">

<TextView
android:background="@drawable/rounded_corners_transparent"
<LinearLayout
android:layout_width="match_parent"
android:textAlignment="viewStart"
android:fontFamily="@font/comfortaa"
android:textSize="20dp"
android:padding="20dp"
android:layout_marginTop="20dp"
android:textColor="@color/white"
android:breakStrategy="high_quality"
android:text="@string/pro_features"
android:layout_height="wrap_content"/>

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Source Code"
android:fontFamily="@font/comfortaa"
android:shadowRadius="5"
android:layout_gravity="center"
android:shadowColor="@color/white"
android:textColor="@color/white"
android:id="@+id/source"
android:drawableLeft="@drawable/fui_ic_github_white_24dp"
android:background="@color/fui_transparent"
android:textStyle="bold"/>
android:orientation="vertical">

<LinearLayout
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_width="match_parent"
android:layout_marginTop="100dp"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="100dp"
android:layout_gravity="center"
android:layout_height="100dp"
android:src="@drawable/logo"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="30dp"
android:textColor="@color/white"
android:shadowColor="@color/white"
android:shadowRadius="5"
android:layout_gravity="center"
android:fontFamily="@font/comfortaa"
android:text="Purchase Pro"/>
<com.google.android.material.button.MaterialButton
android:layout_width="wrap_content"
android:layout_gravity="center"
android:text="Buy Now"
android:id="@+id/buy"
android:textColor="@color/white"
android:textStyle="bold"
android:shadowColor="@color/white"
android:shadowRadius="5"
android:fontFamily="@font/comfortaa"
android:background="@color/fui_transparent"
android:backgroundTint="@color/fui_transparent"
android:layout_height="wrap_content"/>

<TextView
android:background="@drawable/rounded_corners_transparent"
android:layout_width="match_parent"
android:textAlignment="viewStart"
android:fontFamily="@font/comfortaa"
android:textSize="20dp"
android:padding="20dp"
android:layout_marginTop="20dp"
android:textColor="@color/white"
android:breakStrategy="high_quality"
android:text="@string/pro_features"
android:layout_height="wrap_content"/>

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Source Code"
android:fontFamily="@font/comfortaa"
android:shadowRadius="5"
android:layout_gravity="center"
android:shadowColor="@color/white"
android:textColor="@color/white"
android:id="@+id/source"
android:drawableLeft="@drawable/fui_ic_github_white_24dp"
android:background="@color/fui_transparent"
android:textStyle="bold"/>

</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@
<string name="lame_preset_desc">Select Standard for (almost) transparent quality, although medium would suffice as well. Standard preset should generally be transparent to most people on most music and is already quite high in quality.</string>
<string name="title_activity_purchase">Purchase</string>
<string name="pro_features">
For a limited time, 100 users can get free pro upgrade!\n\nJust upload a video to any social media site with the hashtag #amprack and get free pro! 100 top trending videos will stand to win free pro upgrades every month.\n\n
This is an open source app. You can support its development and unlock all features by purchasing the pro version:\n\n
> One time purchase (No subscription)\n
> Unlimited effects chain\n
Expand Down

0 comments on commit b268f8c

Please sign in to comment.