我想将TextView中的文本与位于其下方的EditText内的文本对齐.这可能不使用填充技巧吗?
如果不是,这是因为它气馁了吗?我可以看到它被劝阻,因为它可能会使用户混淆错过两个控件之间的区别.
这是创建上述屏幕截图的布局:
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:id="@+id/text_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="Please align my first character" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/text_view"
android:hint="To my first character" />