idrees naik

idrees naik

  • NA
  • 33
  • 11.2k

Android rendering problem

Mar 16 2017 2:44 AM
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/colorPrimaryDark"
tools:context="com.example.naik.database.MainActivity">

<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginTop="59dp"
android:ems="10"
android:inputType="textPersonName"
android:text="@string/editText"
android:textSize="24sp"
tools:ignore="LabelFor" />
<RadioGroup
android:id="@+id/Rgroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="60sp"
android:layout_below="@+id/editText">
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New RadioButton"
android:id="@+id/radioButton1"
android:textSize="25sp" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New RadioButton"
android:id="@+id/radioButton2"
android:textSize="25sp" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New RadioButton"
android:id="@+id/radioButton3"
android:textSize="25sp" />

<RadioButton
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="New RadioButton"
android:id="@+id/radioButton4"
android:textSize="25sp"
android:checked="false" />




</RadioGroup>

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/Rgroup"
android:layout_centerHorizontal="true"
android:layout_marginTop="90dp"
android:text="@string/button" />

<android.support.v7.widget.Toolbar
android:id="@+id/toolbar3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginTop="0dp"
android:background="#b712f5 "
android:minHeight="60sp"
android:theme="?attr/actionBarTheme" >

</android.support.v7.widget.Toolbar>


</RelativeLayout>
this is showing rendering problems i don't know why

Answers (1)