mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Add information icons to explan peer review activity (#2783)
This commit is contained in:
parent
3876e1c52f
commit
874e761691
3 changed files with 70 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<?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"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
|
@ -15,19 +16,48 @@
|
|||
|
||||
<include layout="@layout/toolbar" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/skip_image"
|
||||
<ImageView
|
||||
android:layout_width="22dp"
|
||||
android:layout_height="22dp"
|
||||
android:id="@+id/review_image_info"
|
||||
app:srcCompat="@drawable/ic_info_outline_24dp"
|
||||
android:tint="@color/white"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_margin="20dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/skip_image_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="25dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_below="@+id/toolbar"
|
||||
android:text="@string/skip_image"
|
||||
android:textColor="@color/button_blue_dark"
|
||||
android:textStyle="bold" />
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/skip_image"
|
||||
android:layout_width="130dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/transparent"
|
||||
android:text="@string/skip_image"
|
||||
android:textColor="@color/button_blue_dark"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginLeft="120dp"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="15dp"
|
||||
android:id="@+id/skip_image_info"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginRight="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginEnd="@dimen/activity_margin_horizontal"
|
||||
android:layout_gravity="top"
|
||||
app:srcCompat="@drawable/ic_info_outline_24dp"
|
||||
android:tint="@color/button_blue_dark" />
|
||||
|
||||
</LinearLayout>
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/skip_image"
|
||||
android:layout_below="@+id/skip_image_row"
|
||||
android:layout_above="@+id/reviewPagerIndicator"
|
||||
>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue