Witam!
Pisałem aplikację na jednym telefonie, a teraz przeniosłem się na inny. Na poprzednim przyciski wyglądały tak jak tego oczekiwałem, a na aktualnym i również na innym są bardzo małe. Dodatkowo radiobutton nie jest taki jak na screenie tylko defaultowy.
Taj wygląda podgląd graficzny xml:
http://prntscr.com/49dlnk
A tak kod:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#323232"
android:orientation="vertical" >
<ImageButton
android:id="@+id/logfaceBUt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/registerButt"
android:layout_alignLeft="@+id/start"
android:layout_marginBottom="10dp"
android:background="@null"
android:src="@drawable/logface" />
</RelativeLayout>
Jak prawidłowo powinien wyglądać XML, aby buttony wyglądały tak jak na screenie?
Podawałem stałą width i height ale to nic nie zmieniało.