<?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:id="@+id/cloudFileContent"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:orientation="vertical"
	android:visibility="visible">

	<TextView
		android:id="@+id/cloudFileText"
		style="@style/AppTheme.ListItemDarkTextColor"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:ellipsize="middle"
		android:singleLine="true"
		android:textSize="16sp" />
	<!-- using android:singleLine to fix https://code.google.com/p/android/issues/detail?id=33868 -->

	<RelativeLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content">

		<TextView
			android:id="@+id/cloudFileSubText"
			style="@style/AppTheme.ListItemLightTextColor"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:ellipsize="middle"
			android:singleLine="true"
			android:textColor="@color/textColorLight"
			android:textSize="14sp"
			android:visibility="gone" />
		<!-- using android:singleLine to fix https://code.google.com/p/android/issues/detail?id=33868 -->

		<LinearLayout
			android:id="@+id/cloudFileProgress"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:visibility="gone">

			<ImageView
				android:id="@+id/progressIcon"
				android:layout_width="16dp"
				android:layout_height="16dp"
				app:tint="@color/textColorLight" />

			<include
				layout="@layout/view_cloud_file_progress"
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:layout_marginEnd="32dp"
				android:layout_marginStart="8dp" />
		</LinearLayout>
	</RelativeLayout>
</LinearLayout>
