1
0
Fork 1

Change image scaling

This commit is contained in:
12aw 2024-03-25 16:22:15 +01:00
parent cbeda7adcd
commit c4c69d6667
6 changed files with 9 additions and 9 deletions

View file

@ -267,7 +267,7 @@
android:paddingRight="12dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:scaleType="fitXY"
android:scaleType="fitCenter"
android:visibility="gone" />
<TextView

View file

@ -96,7 +96,7 @@
android:maxWidth="500dp"
android:maxHeight="800dp"
android:longClickable="true"
android:scaleType="fitXY"
android:scaleType="fitCenter"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoSquare" />
<TextView

View file

@ -36,7 +36,7 @@
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:scaleType="fitXY"
android:scaleType="fitCenter"
app:strokeColor="@color/custom_theme_accent"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoRound" />
@ -47,7 +47,7 @@
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:scaleType="fitXY"
android:scaleType="fitCenter"
app:strokeColor="@color/custom_theme_accent"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoSquare" />

View file

@ -37,7 +37,7 @@
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:scaleType="fitXY"
android:scaleType="fitCenter"
app:strokeColor="@color/custom_theme_accent"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoRound" />
@ -48,7 +48,7 @@
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:scaleType="fitXY"
android:scaleType="fitCenter"
app:strokeColor="@color/custom_theme_accent"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoSquare" />

View file

@ -31,7 +31,7 @@
android:layout_marginEnd="-1.5dp"
android:layout_marginRight="-1.5dp"
android:padding="0dp"
android:scaleType="fitXY"
android:scaleType="fitCenter"
android:visibility="gone"
app:strokeColor="@color/custom_theme_accent"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoRound" />
@ -46,7 +46,7 @@
android:layout_marginEnd="-1.5dp"
android:layout_marginRight="-1.5dp"
android:padding="0dp"
android:scaleType="fitXY"
android:scaleType="fitCenter"
android:visibility="gone"
app:strokeColor="@color/custom_theme_accent"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoSquare" />

View file

@ -13,6 +13,6 @@
android:layout_height="match_parent"
android:background="@color/black54"
app:shapeAppearance="@style/ShapeAppearanceOverlay.PhotoRound"
android:scaleType="fitXY" />
android:scaleType="fitCenter" />
</eu.siacs.conversations.ui.widget.SquareFrameLayout>
</layout>