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

item_navigation.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: 84694fa96fd6a2f5ec92d86875acdc80fe0b2fae (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
<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:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/bg_navdrawer_item"
    android:gravity="center_vertical"
    android:paddingTop="@dimen/spacer_1hx"
    android:paddingBottom="@dimen/spacer_1hx"
    android:paddingStart="@dimen/spacer_1x"
    android:paddingEnd="@dimen/spacer_2x">

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

    <TextView
        android:id="@+id/navigationItemLabel"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/spacer_1x"
        android:layout_weight="1"
        android:ellipsize="end"
        android:lines="1"
        android:textColor="?android:textColorSecondary"
        tools:text="@tools:sample/lorem/random" />

    <TextView
        android:id="@+id/navigationItemCount"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="@dimen/spacer_1x"
        android:textColor="?android:textColorPrimary"
        tools:text="37" />
</LinearLayout>