mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
fix: alignment issues fixed
This commit is contained in:
parent
09f4cfb1ad
commit
476c0ea4cd
@ -54,7 +54,6 @@ class AlbumThumbnailView : FrameLayout {
|
|||||||
super.dispatchDraw(canvas)
|
super.dispatchDraw(canvas)
|
||||||
cornerMask.mask(canvas)
|
cornerMask.mask(canvas)
|
||||||
}
|
}
|
||||||
|
|
||||||
// endregion
|
// endregion
|
||||||
|
|
||||||
// region Interaction
|
// region Interaction
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/albumCellContainer"
|
android:id="@+id/albumCellContainer"
|
||||||
@ -12,6 +12,10 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<ViewStub
|
<ViewStub
|
||||||
|
android:layout_alignTop="@+id/albumCellContainer"
|
||||||
|
android:layout_alignStart="@+id/albumCellContainer"
|
||||||
|
android:layout_alignEnd="@+id/albumCellContainer"
|
||||||
|
android:layout_alignBottom="@+id/albumCellContainer"
|
||||||
android:id="@+id/albumTransferControlsStub"
|
android:id="@+id/albumTransferControlsStub"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@ -19,11 +23,15 @@
|
|||||||
android:layout="@layout/transfer_controls_stub" />
|
android:layout="@layout/transfer_controls_stub" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
|
android:layout_alignTop="@+id/albumCellContainer"
|
||||||
|
android:layout_alignStart="@+id/albumCellContainer"
|
||||||
|
android:layout_alignEnd="@+id/albumCellContainer"
|
||||||
|
android:layout_alignBottom="@+id/albumCellContainer"
|
||||||
tools:visibility="visible"
|
tools:visibility="visible"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:layout_gravity="bottom"
|
android:layout_gravity="bottom"
|
||||||
android:id="@+id/albumCellBodyParent"
|
android:id="@+id/albumCellBodyParent"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/albumCellShade"
|
android:id="@+id/albumCellShade"
|
||||||
@ -69,4 +77,4 @@
|
|||||||
android:text="@string/ConversationItem_read_more"/>
|
android:text="@string/ConversationItem_read_more"/>
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
</merge>
|
</RelativeLayout>
|
Loading…
x
Reference in New Issue
Block a user