[fenix] For https://github.com/mozilla-mobile/fenix/issues/24252 - Rename primaryText...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / app_share_list_item.xml
blob42ce0b046ecfaafd485723d595977d5c86ab4ea8
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <androidx.constraintlayout.widget.ConstraintLayout
7     xmlns:android="http://schemas.android.com/apk/res/android"
8     xmlns:app="http://schemas.android.com/apk/res-auto"
9     xmlns:tools="http://schemas.android.com/tools"
10     android:layout_width="76dp"
11     android:layout_height="80dp"
12     android:background="?selectableItemBackgroundBorderless">
14     <ImageView
15         android:id="@+id/appIcon"
16         android:layout_width="40dp"
17         android:layout_height="40dp"
18         android:layout_marginTop="8dp"
19         android:importantForAccessibility="no"
20         app:layout_constraintBottom_toTopOf="@id/appName"
21         app:layout_constraintEnd_toEndOf="parent"
22         app:layout_constraintStart_toStartOf="parent"
23         app:layout_constraintTop_toTopOf="parent"
24         tools:srcCompat="@tools:sample/avatars" />
26     <TextView
27         android:id="@+id/appName"
28         android:layout_width="wrap_content"
29         android:layout_height="wrap_content"
30         android:layout_marginTop="3dp"
31         android:layout_marginBottom="5dp"
32         android:ellipsize="end"
33         android:gravity="center|top"
34         android:lines="2"
35         android:textAlignment="gravity"
36         android:textColor="?attr/textPrimary"
37         android:textSize="10sp"
38         app:layout_constraintBottom_toBottomOf="parent"
39         app:layout_constraintEnd_toEndOf="parent"
40         app:layout_constraintStart_toStartOf="parent"
41         app:layout_constraintTop_toBottomOf="@id/appIcon"
42         tools:text="Copy to clipboard" />
44 </androidx.constraintlayout.widget.ConstraintLayout>