mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +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 {
|
binding.appIcon.setOnClickListener {
|
||||||
val sendIntent: Intent = Intent().apply {
|
val sendIntent = Intent().apply {
|
||||||
action = Intent.ACTION_SEND
|
action = Intent.ACTION_SEND
|
||||||
putExtra(Intent.EXTRA_TEXT, GITHUB_URL)
|
putExtra(Intent.EXTRA_TEXT, GITHUB_URL)
|
||||||
type = "text/plain"
|
type = "text/plain"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
@ -16,14 +17,15 @@
|
|||||||
app:navigationIcon="?homeAsUpIndicator"
|
app:navigationIcon="?homeAsUpIndicator"
|
||||||
app:title="@string/about" />
|
app:title="@string/about" />
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<ImageView
|
||||||
android:id="@+id/appIcon"
|
android:id="@+id/app_icon"
|
||||||
android:layout_width="90dp"
|
android:layout_width="120dp"
|
||||||
android:layout_height="90dp"
|
android:layout_height="120dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginTop="30dp"
|
android:layout_marginTop="30dp"
|
||||||
android:src="@mipmap/ic_launcher_round"
|
android:src="@drawable/ic_launcher_lockscreen"
|
||||||
app:shapeAppearance="@style/CircleImageView" />
|
app:tint="?attr/colorSecondary"
|
||||||
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -17,14 +17,15 @@
|
|||||||
app:navigationIcon="?homeAsUpIndicator"
|
app:navigationIcon="?homeAsUpIndicator"
|
||||||
app:title="@string/community" />
|
app:title="@string/community" />
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<ImageView
|
||||||
android:layout_width="90dp"
|
android:layout_width="120dp"
|
||||||
android:layout_height="90dp"
|
android:layout_height="120dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginTop="30dp"
|
android:layout_marginTop="30dp"
|
||||||
android:layout_marginBottom="40dp"
|
android:layout_marginBottom="40dp"
|
||||||
android:src="@mipmap/ic_launcher_round"
|
android:src="@drawable/ic_launcher_lockscreen"
|
||||||
app:shapeAppearance="@style/CircleImageView" />
|
app:tint="?attr/colorSecondary"
|
||||||
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
android:id="@+id/faq"
|
android:id="@+id/faq"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user