Welcome to mirror list, hosted at ThFree Co, Russian Federation.

item_account.xml « layout « res « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac14985bc7856d02b35230b3514255fb3d1d2b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="?attr/selectableItemBackground"
    android:paddingLeft="6dp"
    android:paddingStart="6dp"
    android:paddingRight="8dp"
    android:paddingEnd="8dp">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/accountItemAvatar"
        android:layout_width="44dp"
        android:layout_height="44dp"
        android:padding="10dp"
        android:scaleType="center"
        android:focusable="false"
        app:srcCompat="@drawable/ic_account_circle_grey_24dp"
        android:contentDescription="@null" />

    <TextView
        android:id="@+id/accountItemLabel"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginLeft="64dp"
        android:layout_marginStart="64dp"
        android:layout_marginRight="64dp"
        android:layout_marginEnd="64dp"
        android:ellipsize="middle"
        android:singleLine="true"
        android:textColor="?android:textColorPrimary"
        tools:hint="@tools:sample/full_names"/>

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/delete"
        android:layout_width="44dp"
        android:layout_height="44dp"
        android:padding="10dp"
        android:scaleType="center"
        android:focusable="false"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        app:srcCompat="@drawable/ic_delete_grey600_24dp"
        android:contentDescription="@string/menu_delete" />

</RelativeLayout>