2014-11-07 17:26:21 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/ListItemLayout"
|
2015-08-21 18:32:24 +03:00
|
|
|
android:layout_width="match_parent"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:orientation="horizontal"
|
2016-03-30 12:07:34 +03:00
|
|
|
android:layout_height="wrap_content"
|
2016-03-08 15:17:55 +03:00
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
|
|
|
android:paddingBottom="@dimen/standard_half_padding"
|
|
|
|
>
|
2014-11-07 17:26:21 +03:00
|
|
|
|
|
|
|
<FrameLayout
|
2016-10-07 04:59:16 +03:00
|
|
|
android:layout_width="@dimen/upload_list_item_frame_layout_width"
|
2016-06-13 19:15:06 +03:00
|
|
|
android:layout_height="@dimen/standard_list_item_size"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:focusable="false"
|
|
|
|
android:focusableInTouchMode="false">
|
|
|
|
|
|
|
|
<ImageView
|
2016-01-20 20:06:35 +03:00
|
|
|
android:id="@+id/thumbnail"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:layout_width="@dimen/file_icon_size"
|
|
|
|
android:layout_height="@dimen/file_icon_size"
|
2014-12-10 15:44:20 +03:00
|
|
|
android:layout_gravity="center"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:src="@drawable/ic_menu_archive" />
|
2014-12-10 10:18:12 +03:00
|
|
|
|
2014-11-07 17:26:21 +03:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-10-07 04:59:16 +03:00
|
|
|
android:layout_width="@dimen/zero"
|
2016-03-30 12:07:34 +03:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:layout_gravity="center_vertical"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
2014-11-14 19:02:58 +03:00
|
|
|
android:id="@+id/upload_name"
|
2014-11-07 17:26:21 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:textColor="@color/textColor"
|
|
|
|
android:text="@string/placeholder_filename"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:textSize="@dimen/two_line_primary_text_size" />
|
2014-11-07 17:26:21 +03:00
|
|
|
|
2016-01-27 15:59:51 +03:00
|
|
|
|
2014-11-30 22:18:27 +03:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:layout_height="wrap_content">
|
2014-11-30 22:18:27 +03:00
|
|
|
<TextView
|
2016-01-27 15:59:51 +03:00
|
|
|
android:id="@+id/upload_file_size"
|
2014-11-30 22:18:27 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:gravity="left"
|
2014-11-30 22:18:27 +03:00
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
2015-08-21 18:32:24 +03:00
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:text="@string/placeholder_filesize"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:textSize="@dimen/upload_list_item_text_size"/>
|
2014-11-30 22:18:27 +03:00
|
|
|
<TextView
|
2016-01-27 15:59:51 +03:00
|
|
|
android:id="@+id/upload_date"
|
2014-11-30 22:18:27 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:layout_marginStart="@dimen/standard_quarter_margin"
|
|
|
|
android:layout_marginEnd="@dimen/standard_quarter_margin"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:text="@string/placeholder_timestamp"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:textSize="@dimen/upload_list_item_text_size"/>
|
2016-01-27 15:59:51 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/upload_status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:text="@string/uploads_view_upload_status_succeeded"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:textSize="@dimen/upload_list_item_text_size"/>
|
2014-11-30 22:18:27 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
2014-12-15 10:46:04 +03:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/upload_progress_bar"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
2015-08-21 18:32:24 +03:00
|
|
|
android:layout_width="match_parent"
|
2014-12-15 10:46:04 +03:00
|
|
|
android:layout_height="wrap_content"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:visibility="gone"/>
|
2014-11-07 17:26:21 +03:00
|
|
|
|
2016-01-27 15:59:51 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/upload_account"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/auth_username"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:textSize="@dimen/upload_list_item_text_size_independent"/>
|
2014-11-07 17:26:21 +03:00
|
|
|
|
2016-01-27 15:59:51 +03:00
|
|
|
<TextView
|
2016-03-30 12:07:34 +03:00
|
|
|
android:id="@+id/upload_remote_path"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/instant_upload_path"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:textSize="@dimen/upload_list_item_text_size_independent"/>
|
2014-11-07 17:26:21 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2014-12-12 12:59:44 +03:00
|
|
|
|
|
|
|
<FrameLayout
|
2016-06-13 19:15:06 +03:00
|
|
|
android:layout_width="@dimen/min_list_item_size"
|
|
|
|
android:layout_height="@dimen/standard_list_item_size"
|
2014-12-12 12:59:44 +03:00
|
|
|
android:focusable="false"
|
|
|
|
android:focusableInTouchMode="false"
|
2016-01-27 15:59:51 +03:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:paddingLeft="@dimen/standard_half_padding"
|
2014-12-12 12:59:44 +03:00
|
|
|
>
|
2015-08-21 18:32:24 +03:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/upload_right_button"
|
2016-10-07 04:59:16 +03:00
|
|
|
android:layout_width="@dimen/upload_list_item_image_size"
|
|
|
|
android:layout_height="@dimen/upload_list_item_image_size"
|
2015-08-21 18:32:24 +03:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@android:color/transparent"
|
2014-12-12 12:59:44 +03:00
|
|
|
/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
2014-11-07 17:26:21 +03:00
|
|
|
</LinearLayout>
|