item_node_first.xml 1.67 KB
Newer Older
1 2 3 4 5
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
6 7 8 9
    android:layout_marginBottom="4dp"
    android:layout_marginLeft="8dp"
    android:layout_marginRight="8dp"
    android:layout_marginTop="4dp"
10 11 12 13
    android:gravity="center_vertical"
    android:orientation="horizontal">

    <ImageView
14
        android:id="@+id/image_status"
15 16 17 18
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:srcCompat="@drawable/ic_folder" />

19 20
    <LinearLayout
        android:layout_width="match_parent"
21
        android:layout_height="wrap_content"
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
        android:orientation="vertical">

        <TextView
            android:id="@+id/text_main"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="8dp"
            android:text="TextView"
            android:textColor="@color/black"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/text_secondary"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="8dp"
            android:text="TextView"
            android:textSize="12sp"
            android:textStyle="italic" />

    </LinearLayout>
43 44

    <ImageView
45
        android:id="@+id/image_icon"
46 47
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
48
        android:visibility="gone"
49 50 51
        app:srcCompat="@drawable/ic_download" />

</LinearLayout>