mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
Help & About: Use icon without background
This commit is contained in:
parent
282b40c191
commit
4732ff2477
@ -34,7 +34,7 @@ class AboutActivity : BaseActivity() {
|
||||
}
|
||||
|
||||
binding.appIcon.setOnClickListener {
|
||||
val sendIntent: Intent = Intent().apply {
|
||||
val sendIntent = Intent().apply {
|
||||
action = Intent.ACTION_SEND
|
||||
putExtra(Intent.EXTRA_TEXT, GITHUB_URL)
|
||||
type = "text/plain"
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@ -16,14 +17,15 @@
|
||||
app:navigationIcon="?homeAsUpIndicator"
|
||||
app:title="@string/about" />
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/appIcon"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="90dp"
|
||||
<ImageView
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@mipmap/ic_launcher_round"
|
||||
app:shapeAppearance="@style/CircleImageView" />
|
||||
android:src="@drawable/ic_launcher_lockscreen"
|
||||
app:tint="?attr/colorSecondary"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -17,14 +17,15 @@
|
||||
app:navigationIcon="?homeAsUpIndicator"
|
||||
app:title="@string/community" />
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="90dp"
|
||||
<ImageView
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginBottom="40dp"
|
||||
android:src="@mipmap/ic_launcher_round"
|
||||
app:shapeAppearance="@style/CircleImageView" />
|
||||
android:src="@drawable/ic_launcher_lockscreen"
|
||||
app:tint="?attr/colorSecondary"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/faq"
|
||||
|
Loading…
x
Reference in New Issue
Block a user