[fenix] For https://github.com/mozilla-mobile/fenix/issues/24252 - Rename primaryText...
[gecko.git] / mobile / android / fenix / app / src / main / res / layout / account_share_list_item.xml
blob172d2c35d8ce76528bd00722b0b22c46c2ab63f7
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     <ImageButton
15         android:id="@+id/deviceIcon"
16         android:layout_width="40dp"
17         android:layout_height="40dp"
18         android:layout_marginTop="8dp"
19         android:background="@drawable/device_background"
20         android:clickable="false"
21         android:focusable="false"
22         android:importantForAccessibility="no"
23         app:layout_constraintBottom_toTopOf="@+id/deviceName"
24         app:layout_constraintEnd_toEndOf="parent"
25         app:layout_constraintStart_toStartOf="parent"
26         app:layout_constraintTop_toTopOf="parent"
27         tools:srcCompat="@tools:sample/avatars" />
29     <TextView
30         android:id="@+id/deviceName"
31         android:layout_width="wrap_content"
32         android:layout_height="wrap_content"
33         android:layout_marginTop="3dp"
34         android:layout_marginBottom="5dp"
35         android:ellipsize="end"
36         android:gravity="center|top"
37         android:lines="2"
38         android:textAlignment="gravity"
39         android:textSize="10sp"
40         android:textColor="?attr/textPrimary"
41         app:layout_constraintBottom_toBottomOf="parent"
42         app:layout_constraintEnd_toEndOf="parent"
43         app:layout_constraintStart_toStartOf="parent"
44         app:layout_constraintTop_toBottomOf="@id/deviceIcon"
45         tools:text="Firefox on Macbook Pro" />
47 </androidx.constraintlayout.widget.ConstraintLayout>