Align ImageView with EditText horizontally

前端 未结 7 976
天涯浪人
天涯浪人 2021-01-01 04:21

I\'m trying hard to find a way of aligning an EditText and an ImageView properly on Android. I keep getting this result:

<

相关标签:
7条回答
  • 2021-01-01 05:27

    I used a quick workaround by simply moving the EditText down 2dp by simply adding the following to the EditText:

    android:layout_marginBottom="-2dp"
    android:layout_marginTop="2dp"
    
    0 讨论(0)
提交回复
热议问题