想弄出来这种效果 弄不出来
还有就是大家弄布局的时候都是用手敲吗 有没有好的模板之类
没有模板,自己弄
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#000000" >
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="1px"
android:layout_weight="1"
android:background="@color/white"
android:ems="10"
android:inputType="number" >
<requestFocus />
</EditText>
<View
android:id="@+id/view1"
android:layout_width="1px"
android:layout_height="match_parent"
android:background="#000000" />
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="1px"
android:layout_weight="1"
android:background="#FFFFFF"
android:gravity="center"
android:text="获取验证码" />
</LinearLayout>
</LinearLayout>
这个已经算是布局中比较简单的
http://blog.csdn.net/menglele1314/article/details/46681233
这个博客里有代码
只想说用手敲代码是种乐趣,这效果,给布局后面部分添加个背景就行了
这么简单的布局要什么模板。
直接自己写就行了。
http://blog.csdn.net/crazy1235/article/details/41912003
最简单的。美工切割图,左右平分就完事了。
一个edittext 再加一个button就ok