3
A
回答
3
没有标准的解决方案,我用textView右边textInputLayout和editText填充。
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:gravity="bottom">
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Hint"
app:errorEnabled="true">
<android.support.v7.widget.AppCompatEditText
style="@style/RegistrationEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="80dp" />
</android.support.design.widget.TextInputLayout>
<android.support.v7.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerInParent="true"
android:paddingBottom="12dp"
android:paddingRight="8dp"
android:text="rightLabel" />
</RelativeLayout>
相关问题
- 1. 最长前缀后缀
- 2. Cmake库前缀/后缀
- 3. 球拍后缀为前缀
- 4. 如何有条件地更换前缀或前缀/后缀GSUB
- 5. JacORB:更改前缀和后缀
- 6. Java前缀和后缀操作数
- 7. 最长公共后缀前缀
- 8. Microsoft Word的前缀和后缀工具?
- 9. 改变十进制前缀/后缀
- 10. 变换后缀为前缀的列名
- 11. 超载后缀和前缀运营商
- 12. preg_replace替换前缀后缀加自己
- 13. 中缀后缀
- 14. 前缀后缀中缀Java表达式求值器
- 15. 中缀前缀计算
- 16. 前缀中缀使用Java
- 17. 使用Model.setNsPrefix()定义前缀后无法使用前缀URI?
- 18. Excel VBA打开文件错误1004前缀“〜$”后加上前缀“〜$”
- 19. 将前缀转换为后
- 20. 从中缀到后缀
- 21. C++中缀到后缀
- 22. 堆栈中缀到后缀
- 23. 中缀后缀转换器
- 24. 转换缀以后缀
- 25. 中缀,前缀或后缀顺序槽BST得到打印元素的降序
- 26. 正则表达式验证前缀,中缀和后缀表达式
- 27. 使用后缀数组搜索后缀
- 28. 从后缀树生成后缀
- 29. Automapper由前缀
- 30. 基于前缀
不会[这](http://stackoverflow.com/a/37278154/1083957)对您有所帮助? – azizbekian