【发布时间】:2019-01-12 23:15:38
【问题描述】:
我有以下输入文本的代码
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:background="@drawable/ic_login_screen_input_container">
<EditText android:id="@+id/input_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:hint="Name"/>
</android.support.design.widget.TextInputLayout>
如您所见,我将圆形容器添加为背景图像,但输入文本框后面仍然有矩形框。我的最终目标是创建一个这样的输入文本框:
请告诉我应该如何实现这一目标
【问题讨论】:
标签: android-layout material-design