//Note: This resolves as true even if all $_POST values are empty strings
if (!empty($_POST))
{
// handle post data
$fromPerson = '+from%3A'.$_POST['fromPerson'];
echo $fromPerson;
}
if (isset($_POST['fromPerson']) )
{
$fromPerson = '+from%3A'.$_POST['fromPerson'];
echo $fromPerson;
}
Попробуйте использовать null для фона ...
android:background="@null"
Удалите эту строку:
android:background="@drawable/transparent">
И в вашем наборе классов активности
ImageButton btn = (ImageButton)findViewById(R.id.previous);
btn.setAlpha(100);
. Вы можете установить альфа-уровень от 0 до 255
o означает прозрачный, а 255 означает непрозрачный.