|
|
|
@ -14,70 +14,82 @@ |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:paddingVertical="16dp" |
|
|
|
android:paddingHorizontal="24dp"> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:id="@+id/icon" |
|
|
|
android:layout_width="24dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_marginEnd="20dp" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
app:tint="?attr/colorOnSurface" /> |
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="1" |
|
|
|
android:orientation="vertical" |
|
|
|
android:layout_gravity="center_vertical"> |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_gravity="center" |
|
|
|
android:paddingVertical="16dp" |
|
|
|
android:paddingHorizontal="24dp"> |
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView |
|
|
|
android:id="@+id/title" |
|
|
|
style="@style/TextAppearance.Material3.TitleMedium" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAlignment="viewStart" |
|
|
|
tools:text="@string/applets" /> |
|
|
|
<ImageView |
|
|
|
android:id="@+id/icon" |
|
|
|
android:layout_width="24dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_marginEnd="20dp" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
app:tint="?attr/colorOnSurface" /> |
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView |
|
|
|
android:id="@+id/description" |
|
|
|
style="@style/TextAppearance.Material3.BodyMedium" |
|
|
|
android:layout_width="match_parent" |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="6dp" |
|
|
|
android:textAlignment="viewStart" |
|
|
|
tools:text="@string/applets_description" /> |
|
|
|
android:layout_weight="1" |
|
|
|
android:orientation="vertical" |
|
|
|
android:layout_gravity="center_vertical"> |
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView |
|
|
|
style="@style/TextAppearance.Material3.LabelMedium" |
|
|
|
android:id="@+id/details" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAlignment="viewStart" |
|
|
|
android:textSize="14sp" |
|
|
|
android:textStyle="bold" |
|
|
|
android:requiresFadingEdge="horizontal" |
|
|
|
android:layout_marginTop="6dp" |
|
|
|
android:visibility="gone" |
|
|
|
tools:visibility="visible" |
|
|
|
tools:text="/tree/primary:Games" /> |
|
|
|
<com.google.android.material.textview.MaterialTextView |
|
|
|
android:id="@+id/title" |
|
|
|
style="@style/TextAppearance.Material3.TitleMedium" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAlignment="viewStart" |
|
|
|
tools:text="@string/applets" /> |
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView |
|
|
|
android:id="@+id/description" |
|
|
|
style="@style/TextAppearance.Material3.BodyMedium" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginTop="6dp" |
|
|
|
android:textAlignment="viewStart" |
|
|
|
tools:text="@string/applets_description" /> |
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView |
|
|
|
style="@style/TextAppearance.Material3.LabelMedium" |
|
|
|
android:id="@+id/details" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAlignment="viewStart" |
|
|
|
android:textSize="14sp" |
|
|
|
android:textStyle="bold" |
|
|
|
android:requiresFadingEdge="horizontal" |
|
|
|
android:layout_marginTop="6dp" |
|
|
|
android:visibility="gone" |
|
|
|
tools:visibility="visible" |
|
|
|
tools:text="/tree/primary:Games" /> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton |
|
|
|
android:id="@+id/buttonSecondaryAction" |
|
|
|
style="@style/Widget.Material3.Button.IconButton" |
|
|
|
android:layout_width="40dp" |
|
|
|
android:layout_height="40dp" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
<com.google.android.material.divider.MaterialDivider |
|
|
|
android:id="@+id/dividerSecondaryActions" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:visibility="gone" |
|
|
|
app:iconSize="20dp" |
|
|
|
tools:visibility="visible" |
|
|
|
tools:icon="@drawable/ic_info_outline" /> |
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
<com.google.android.material.chip.ChipGroup |
|
|
|
android:id="@+id/layoutSecondaryActions" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:paddingHorizontal="24dp" |
|
|
|
android:paddingVertical="8dp" |
|
|
|
android:visibility="gone" |
|
|
|
app:singleLine="false" |
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</com.google.android.material.card.MaterialCardView> |