layout_add_login.xml (1892B)
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/. --> 5 <androidx.constraintlayout.widget.ConstraintLayout 6 android:id="@+id/add_login_layout" 7 xmlns:android="http://schemas.android.com/apk/res/android" 8 xmlns:app="http://schemas.android.com/apk/res-auto" 9 android:layout_width="match_parent" 10 android:layout_height="wrap_content" 11 android:background="?attr/selectableItemBackground" 12 android:clickable="true" 13 android:focusable="true"> 14 15 <androidx.appcompat.widget.AppCompatImageView 16 android:id="@+id/add_login_icon" 17 android:layout_width="wrap_content" 18 android:layout_height="wrap_content" 19 android:layout_marginStart="@dimen/credit_cards_saved_cards_item_margin_start" 20 app:srcCompat="@drawable/mozac_ic_plus_24" 21 android:importantForAccessibility="no" 22 app:layout_constraintBottom_toBottomOf="@id/add_login_text" 23 app:layout_constraintStart_toStartOf="parent" 24 app:layout_constraintTop_toTopOf="@id/add_login_text" /> 25 26 <com.google.android.material.textview.MaterialTextView 27 android:id="@+id/add_login_text" 28 android:layout_width="0dp" 29 android:layout_height="wrap_content" 30 android:layout_margin="@dimen/credit_cards_saved_cards_item_margin_start" 31 android:text="@string/preferences_logins_add_login_2" 32 style="@style/Body16TextStyle" 33 app:layout_constraintBottom_toBottomOf="parent" 34 app:layout_constraintEnd_toEndOf="parent" 35 app:layout_constraintStart_toEndOf="@id/add_login_icon" 36 app:layout_constraintTop_toTopOf="parent" 37 android:textAlignment="viewStart" /> 38 39 </androidx.constraintlayout.widget.ConstraintLayout>