2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
iceraven-browser/app/src/main/res/layout/account_preference.xml

64 lines
2.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
2019-05-24 21:18:27 +00:00
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-05-24 21:18:27 +00:00
android:id="@+id/account_preference_background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?android:attr/selectableItemBackground"
2019-05-24 21:18:27 +00:00
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
2019-05-24 21:18:27 +00:00
<ImageView
android:id="@android:id/icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center"
android:scaleType="fitCenter" />
2019-05-24 21:18:27 +00:00
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:layout_marginEnd="6dp"
android:layout_weight="1"
2019-05-24 21:18:27 +00:00
android:paddingStart="16dp"
android:paddingTop="16dp"
android:paddingEnd="0dp"
android:paddingBottom="16dp">
2019-05-24 21:18:27 +00:00
<TextView
android:id="@+id/displayName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:fadingEdge="horizontal"
android:textColor="?primaryText"
android:textSize="16sp"
android:visibility="gone" />
2019-05-24 21:18:27 +00:00
<TextView
android:id="@+id/email"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/displayName"
android:layout_alignStart="@id/displayName"
android:maxLines="4"
android:text="@string/preferences_account_default_name"
android:textColor="?primaryText"
app:fontFamily="@font/metropolis_bold" />
2019-05-24 21:18:27 +00:00
</RelativeLayout>
<LinearLayout
android:id="@android:id/widget_frame"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical" />
2019-05-24 21:18:27 +00:00
</LinearLayout>