Some changes

This commit is contained in:
Thomas 2020-10-05 20:45:52 +02:00
parent 39e13fdfbe
commit 34811d1956
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
startActivity(browserIntent); startActivity(browserIntent);
}); });
SpannableString contentLicense = new SpannableString(license.getText().toString()); SpannableString contentLicense = new SpannableString(license.getText().toString());
contentLicense.setSpan(new UnderlineSpan(), 0, contentTerms.length(), 0); contentLicense.setSpan(new UnderlineSpan(), 0, contentLicense.length(), 0);
license.setText(contentLicense); license.setText(contentLicense);
license.setOnClickListener(v -> { license.setOnClickListener(v -> {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://framagit.org/framasoft/mobilizon/blob/master/LICENSE")); Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://framagit.org/framasoft/mobilizon/blob/master/LICENSE"));

View File

@ -73,7 +73,7 @@
<TextView <TextView
android:id="@+id/about_the_app" android:id="@+id/about_the_app"
android:layout_margin="40dp" android:layout_margin="40dp"
android:textSize="24sp" android:textSize="20sp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/about" app:layout_constraintTop_toBottomOf="@+id/about"