1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-28 15:21:17 +00:00
syncthing-android/src/main/res/layout/item_folder_list.xml

59 lines
2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="4dip">
<TextView
android:id="@+id/id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_alignParentLeft="true"
2015-06-19 18:15:35 +00:00
android:layout_alignParentStart="true"
android:layout_toLeftOf="@+id/state"
2015-06-19 18:15:35 +00:00
android:layout_toStartOf="@+id/state"
android:lines="1"
android:ellipsize="end" />
<TextView
android:id="@+id/state"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_alignParentRight="true"
2015-06-19 18:15:35 +00:00
android:layout_alignParentEnd="true"
android:layout_alignBottom="@+id/id"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/directory"
android:layout_below="@id/state"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end" />
<TextView
android:id="@+id/items"
android:layout_below="@id/directory"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/size"
android:layout_below="@id/items"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/invalid"
android:textColor="@color/text_red"
android:layout_below="@id/size"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>