nkzxw / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

android:layout_marginRight="10dp" not working for editText inside LinearLayout #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a Linear layout
2. Add editText box
3. Give width "match_parent" and give layout_marginRight some non-zero value.

What is the expected output? What do you see instead?
The right margin should be shown on the output screen

What version of the product are you using? On what operating system?
Windows 7- Chrome browser 18.0.1025.168 m

Please provide any additional information below.
This is the layout that I tried to draw

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    android:id="@+id/widget32"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    xmlns:android="http://schemas.android.com/apk/res/android">
<EditText
    android:id="@+id/widget33"
    android:layout_width="match_parent"
    android:layout_height="138px"
    android:layout_marginTop="10dp"
    android:layout_marginBottom="10dp"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="10dp"
    android:text="EditText"
    android:textSize="18sp" />
</LinearLayout>

Original issue reported on code.google.com by hrg1...@gmail.com on 8 May 2012 at 5:03

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r199.

Original comment by brendan....@gmail.com on 26 May 2012 at 4:54