2019-10-02 10:30:07 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-02-21 23:15:46 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-08-26 19:00:08 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-03-21 19:26:28 +01:00
|
|
|
android:id="@+id/fileFrame"
|
2019-10-02 10:30:07 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:paddingTop="@dimen/dimen4dp"
|
|
|
|
android:paddingBottom="@dimen/dimen4dp"
|
2021-02-21 23:15:46 +01:00
|
|
|
android:gravity="center_vertical"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:orientation="horizontal">
|
2019-10-02 10:30:07 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2019-10-02 10:30:07 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
2019-10-02 10:30:07 +02:00
|
|
|
|
2021-02-21 23:15:46 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-03-16 21:01:49 +01:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
|
|
|
android:padding="@dimen/dimen12dp"
|
2021-02-21 23:15:46 +01:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/fileTypeIs"
|
2021-02-21 23:15:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_marginEnd="@dimen/dimen16dp"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
android:src="@drawable/ic_file"/>
|
2021-02-21 23:15:46 +01:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/infoSection"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2021-02-21 23:15:46 +01:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/fileName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/defaultFilename"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen16sp"/>
|
2020-03-16 21:01:49 +01:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/infoRow"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/fileInfo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/sizeCopy"
|
|
|
|
android:textColor="?attr/hintColor"
|
|
|
|
android:textSize="@dimen/dimen12sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2021-02-21 23:15:46 +01:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-10-02 10:30:07 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2019-10-02 10:30:07 +02:00
|
|
|
|
2021-02-21 23:15:46 +01:00
|
|
|
</LinearLayout>
|