mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
40 lines
No EOL
1.3 KiB
XML
40 lines
No EOL
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="2dp"
|
|
android:paddingBottom="0dp"
|
|
android:background="#000000"
|
|
>
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/uploadImage"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="192dp"
|
|
app:actualImageScaleType="centerCrop"
|
|
app:placeholderImage="@drawable/ic_image_black_24dp"
|
|
app:failureImage="@drawable/ic_error_outline_black_24dp"
|
|
android:contentDescription="@string/upload_image"
|
|
/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/uploadOverlay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center|bottom"
|
|
android:background="#77000000"
|
|
android:padding="4dp"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/uploadTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#FFFFFFFF"
|
|
style="?android:textAppearanceSmall"
|
|
/>
|
|
</RelativeLayout>
|
|
|
|
</FrameLayout> |