fix report view, allow opening posts in list
closes sk22#928 closes sk22#441
This commit is contained in:
@@ -1,40 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<org.joinmastodon.android.ui.views.CheckableRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:clipToPadding="false">
|
||||
|
||||
<FrameLayout
|
||||
<org.joinmastodon.android.ui.views.CheckableRelativeLayout
|
||||
android:id="@+id/checkbox_wrap"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="46sp"
|
||||
android:duplicateParentState="true">
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="16dp">
|
||||
|
||||
<View
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginStart="-4dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:duplicateParentState="true"/>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="46sp"
|
||||
android:duplicateParentState="true">
|
||||
|
||||
</FrameLayout>
|
||||
<View
|
||||
android:id="@+id/checkbox"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_gravity="center"
|
||||
android:duplicateParentState="true"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</org.joinmastodon.android.ui.views.CheckableRelativeLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-16dp"
|
||||
android:layout_marginStart="-16dp"
|
||||
android:layout_marginHorizontal="-16dp"
|
||||
android:layout_toEndOf="@id/checkbox_wrap">
|
||||
|
||||
<include layout="@layout/display_item_header" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</org.joinmastodon.android.ui.views.CheckableRelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
android:id="@+id/forward_report"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:background="?android:selectableItemBackground">
|
||||
|
||||
Reference in New Issue
Block a user