Created
October 15, 2019 12:49
-
-
Save francescogatto/3304bc7c257403aed9ca2d294db5ab81 to your computer and use it in GitHub Desktop.
[item_list.xml] #kkd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="80dp" | |
android:foreground="?android:attr/selectableItemBackground" | |
android:orientation="horizontal" | |
android:padding="10dp"> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<FrameLayout | |
android:layout_width="60dp" | |
android:layout_height="60dp"> | |
<ImageView | |
android:id="@+id/documentTypeIcon" | |
android:layout_width="60dp" | |
android:layout_height="60dp" | |
android:layout_marginEnd="8dp" | |
android:tint="#9b9b9b" | |
app:srcCompat="@drawable/ic_insert_drive_file_black_24dp" | |
tools:ignore="VectorDrawableCompat" /> | |
<ImageView | |
android:id="@+id/downloadIcon" | |
android:layout_width="48dp" | |
android:layout_height="48dp" | |
android:layout_gravity="center" | |
android:alpha="0.5" | |
android:background="@drawable/ic_file_download_black_24dp" | |
android:visibility="gone" /> | |
</FrameLayout> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<TextView | |
android:id="@+id/title" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Test" | |
android:textSize="18sp" /> | |
<ProgressBar | |
android:id="@+id/progressBarDocument" | |
style="?android:attr/progressBarStyleHorizontal" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:indeterminate="true" | |
android:visibility="visible" /> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment