forked from upstream-mirrors/OpenTracks
Use fitcenter to scale images
This commit is contained in:
@@ -73,7 +73,7 @@ limitations under the License.
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:scaleType="fitStart" />
|
||||
android:scaleType="fitCenter" />
|
||||
</LinearLayout>
|
||||
<TableLayout
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -31,7 +31,7 @@ limitations under the License.
|
||||
android:id="@+id/marker_detail_waypoint_photo"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:scaleType="fitStart" />
|
||||
android:scaleType="fitCenter" />
|
||||
<TextView
|
||||
android:id="@+id/marker_detail_waypoint_name"
|
||||
style="@style/TextLarge.WithTopMargin" />
|
||||
|
||||
Reference in New Issue
Block a user