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

item_account_choose.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: fc4899aa9de9af1228caf194a5c42b27978e1007 (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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/accountLayout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/selectableItemBackground"
    android:padding="24dp"
    android:orientation="horizontal">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/accountItemAvatar"
        android:layout_width="32dp"
        android:layout_height="32dp"
        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_gravity="center"
        android:ellipsize="middle"
        android:singleLine="true"
        android:layout_marginLeft="16dp"
        android:layout_marginStart="16dp"
        android:textColor="?android:textColorPrimary"
        tools:hint="Username"/>

</LinearLayout>