Skip to content

Commit c3065eb

Browse files
committed
InfoActivity Description
Added a better description on the InfoActivity. Added "Made By" section with links. Added GitHub Repo link
1 parent 1a3703e commit c3065eb

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

GayPass/app/src/main/java/com/example/gaypass/InfoActivity.kt

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package com.example.gaypass
22

33
import android.os.Bundle
4+
import android.text.method.LinkMovementMethod
5+
import android.widget.TextView
46

57
import androidx.appcompat.app.AppCompatActivity
68
import com.example.gaypass.managers.ThemeManager
@@ -11,6 +13,9 @@ class InfoActivity : AppCompatActivity() {
1113
super.onCreate(savedInstanceState)
1214
setContentView(R.layout.activity_info)
1315

16+
val textView = findViewById<TextView>(R.id.warningText)
17+
textView.movementMethod = LinkMovementMethod.getInstance()
18+
1419
// apply theme
1520
ThemeManager(this, window, supportActionBar, findViewById(R.id.info_box)).applyTheme()
1621
}

GayPass/app/src/main/res/values/strings.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
<string name="gui_noQuotes_text">No Quotes</string>
4949

5050
<!-- Info Values -->
51-
<string name="info">This is GayPass App. It lets you to manage and store your GreenPass QR-Code easly</string>
51+
<string name="info">
52+
GayPass is an Android App that let you to store your Greeen Pass QR-Code in a cool and easy way.
53+
You can store your QR-Code, delete it and update it !
54+
Under the QR there is a Dumb Quote chosen random from a large database.\n\nMade By:\n\t<a href="https://github.com/ncvescera">@ncvescera</a>\n\t<a href="https://github.com/CiroSimonetti">@crsimonetti</a>\n\n
55+
GitHub Repo: <a href="https://github.com/ncvescera/GayPass">GayPass</a>
56+
</string>
5257
<string name="version">Version: v2.0 - Big Slut</string>
5358
</resources>

0 commit comments

Comments
 (0)