mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
* Fix #5182 Switch From Mapbox to MapLibre * Fix #5182 Switch From Mapbox to MapLibre - Resolved requestFeature() issue * Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on two screens * Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on additional screens * Fix #5182 Switch From Mapbox to MapLibre - Resolved dark mode issue on notification screen * Fix #5182 Switch From Mapbox to MapLibre - Test errors
126 lines
No EOL
4.4 KiB
XML
126 lines
No EOL
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.drawerlayout.widget.DrawerLayout 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:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/mainBackground">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/mediaDetailContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/reviewActivityContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<include layout="@layout/toolbar" />
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/skip_image"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:drawableEnd="@drawable/ic_info_outline_24dp"
|
|
android:drawablePadding="@dimen/medium_height"
|
|
android:drawableTint="@color/button_blue_dark"
|
|
android:paddingLeft="@dimen/medium_height"
|
|
android:paddingRight="@dimen/medium_height"
|
|
android:text="@string/skip_image"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/button_blue_dark"
|
|
android:textStyle="bold" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:weightSum="2">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dimen_0"
|
|
android:layout_marginTop="@dimen/tiny_padding"
|
|
android:layout_weight="1">
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/review_image_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginTop="@dimen/dimen_0"
|
|
app:srcCompat="@drawable/commons_logo" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_container_upload_overlay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_gravity="center|bottom"
|
|
android:background="#77000000"
|
|
android:gravity="center"
|
|
android:padding="@dimen/tiny_gap">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_image_caption"
|
|
style="?android:textAppearanceMedium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#FFFFFFFF" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pb_review_image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<fr.free.nrw.commons.review.ReviewViewPager
|
|
android:id="@+id/view_pager_review"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dimen_0"
|
|
android:layout_weight="1"
|
|
android:fadingEdge="none" />
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_container_bottom_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="?attr/colorPrimaryDark"
|
|
android:elevation="@dimen/miniscule_margin"
|
|
android:padding="@dimen/medium_height">
|
|
|
|
<com.viewpagerindicator.CirclePageIndicator
|
|
android:id="@+id/pager_indicator_review"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:background="?attr/colorPrimaryDark"
|
|
android:foregroundGravity="center_vertical" />
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout> |