mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
* Basic Zoom feature added along with button to control it * Pinch Zoom added * Merge Conflicts Resolved * Icons Changed * Compressed the high resolution images * Fixed null pointer exception * Fixed null pointer exception * Fixed exception * Fixed error * Fixed Resource availability issue
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"
|
|
android:scaleType="centerCrop"
|
|
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="@dimen/tiny_gap"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/uploadTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#FFFFFFFF"
|
|
style="?android:textAppearanceSmall"
|
|
/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</FrameLayout> |