project_files/Android-build/SDL-android-project/res/layout/spinner_textimg_entry.xml
author Wuzzy <Wuzzy2@mail.ru>
Thu, 11 Jul 2019 16:24:09 +0200
changeset 15231 c10e9261ab9c
parent 5613 a7e40b20ce44
permissions -rw-r--r--
Make lowest line of Splash image frames transparent to work around scaling issues The Splash image is scaled. Sometimes, the lowest line is repeated on the top, which caused some weird lines to appear above big splashes (e.g. piano). This has been done fully automated with a script. Only the alpha channel was changed. The color information is preserved.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:gravity="center">
	<ImageView
		android:id="@+id/spinner_img"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_gravity="center"
		android:adjustViewBounds="true"
		android:scaleType="centerInside"
		android:layout_marginRight="5dip"
		/>
	<TextView
		android:id="@+id/spinner_txt"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:textSize="14dip"
		android:textColor="#FFF"
		android:gravity="center"/>
</LinearLayout>