
This includes shadowed variables, unnecessary parameters, layouts with string literals, items that cause performance bottlenecks, and the merge of extension types into only the necessary separate classes.
54 lines
2 KiB
XML
54 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:id="@+id/extensionCardView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/extensionIconImageView"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="3dp"
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/extensionNameTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/poppins_semi_bold"
|
|
android:text="@string/extension_name"
|
|
android:textSize="15sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/extensionVersionTextView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/poppins_semi_bold"
|
|
android:text="@string/extension_version"
|
|
android:textSize="10sp"
|
|
tools:ignore="SmallSp" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/closeTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/ic_download_24"
|
|
android:textSize="14sp"
|
|
app:tint="?attr/colorOnBackground"
|
|
tools:ignore="ContentDescription"/>
|
|
</LinearLayout>
|