edittext 的一个案例
2024-09-01 01:18:42
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:myAndroid = "http://schemas.android.com/apk/res/cn.loyulcare.android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bgcolor"
android:orientation="vertical">" <TextView
android:id = "@+id/tvMineInfoTitle"
android:text="@string/mine_info"
android:layout_marginTop="10dp"
style = "@style/NurserDetailsTitleStyle"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" > <View
android:layout_width="match_parent"
android:layout_height="@dimen/divider_line_width"
android:layout_marginTop="0dp"
android:background="@color/divider_line_color" /> <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/White"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="@dimen/layout_outline_padding"
android:paddingRight="@dimen/layout_outline_padding" > <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/text_padding"
android:paddingRight="@dimen/text_padding"
android:paddingTop="@dimen/text_padding"
android:text="姓名"
android:textColor="@color/bgcolor"
android:textSize="@dimen/content_text_size" /> <EditText
android:id="@+id/etName"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@color/White"
android:hint="@string/select_or_input_nickname"
android:inputType="text"
android:padding="@dimen/text_padding"
android:textColor="@color/Black"
android:textSize="@dimen/content_text_size" /> </LinearLayout> <View
android:layout_width="match_parent"
android:layout_height="@dimen/divider_line_width"
android:background="@color/divider_line_color" />
</LinearLayout>
最新文章
- sql 关于查询时 出现的 从数据类型 varchar 转换为 numeric 时出错 的解决方法。
- 【Python全栈笔记】07 [模块二] 20 Oct 冒泡排序
- 【转】C++多态性
- CentOS使用virtualenv搭建独立的Python环境-python虚拟环境
- CLR via C# 提纲
- LightOJ1032 Fast Bit Calculations(数位DP)
- 在ubuntu上搭建turnserver
- 快速、直接的XSS漏洞检测爬虫 – XSScrapy
- bzoj 3637: Query on a tree VI 树链剖分 &;&; AC600
- careercup-中等难度 17.4
- php-- 避免表单的重复提交
- Quartz定时任务学习(五)触发器
- linux安装git方法(转)
- 设计模式之享元模式(Flyweight)摘录
- Thrift实践
- session,cookie,sessionStorage,localStorage的区别及应用场景
- Luogu 2679 子串 (动态规划)
- nginx安装ngx_lua_waf防护
- IO多路复用 IO异步
- mac 终端显示彩色
热门文章
- 51NOD 1934:受限制的排列——题解
- BZOJ1027 [HNOI2004]打鼹鼠 【dp】
- UVA.11300 Spreading the Wealth (思维题 中位数模型)
- UVA.10192 Vacation (DP LCS)
- bzoj1778: [Usaco2010 Hol]Dotp 驱逐猪猡(概率DP+高斯消元)
- linux 使用vim文件加密/解密的方法
- ucenter搭建
- windows下vue项目启动步骤
- Change FZU - 2277 毒瘤啊 毒瘤题目
- bzoj1026 windy数 数位DP