Harbor link, additional description

This commit is contained in:
Kelvin 2024-09-30 20:20:16 +02:00
parent 7f26ac00b1
commit f5d9b2ba41
2 changed files with 39 additions and 1 deletions

View file

@ -76,6 +76,9 @@ class PolycentricProfileActivity : AppCompatActivity() {
_buttonDelete = findViewById(R.id.button_delete);
_loaderOverlay = findViewById(R.id.loader_overlay);
_textSystem = findViewById(R.id.text_system)
findViewById<TextView>(R.id.text_cta2).setOnClickListener {
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://harbor.social")))
}
findViewById<ImageButton>(R.id.button_back).setOnClickListener {
saveIfRequired();
finish();

View file

@ -70,8 +70,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/inter_regular"
android:text="Further customize your profile, make platform claims, and other creator-specific features in the Harbor app.\n\nYou can export this profile to Harbor using the Export button."
android:text="Further customize your profile, make platform claims, and other creator-specific features in the Harbor app."
android:textSize="12dp"
android:linksClickable="true"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:textAlignment="center"
@ -81,6 +82,40 @@
app:layout_constraintTop_toBottomOf="@id/text_system"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<TextView
android:id="@+id/text_cta2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/inter_regular"
android:text="https://harbor.social"
android:textSize="12dp"
android:linksClickable="true"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:textAlignment="center"
android:ellipsize="middle"
android:textColor="#AAAAFF"
android:layout_marginTop="5dp"
app:layout_constraintTop_toBottomOf="@id/text_cta"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<TextView
android:id="@+id/text_cta3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/inter_regular"
android:text="After you've installed Harbor you can export this profile to Harbor using the Export button."
android:textSize="12dp"
android:linksClickable="true"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:textAlignment="center"
android:ellipsize="middle"
android:textColor="@color/gray_ac"
android:layout_marginTop="5dp"
app:layout_constraintTop_toBottomOf="@id/text_cta2"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<LinearLayout
android:id="@+id/layout_buttons"