五大布局:相对布局、线性布局、表格布局、帧布局、绝对布局
在使用布局管理器进行组件布局的时候,也可以将各个布局管理器嵌套在一起使用,例如:在一个线型布局中包含其他的线型布局或者是表格布局这些都是允许的.
相对布局:感觉可圈可点吧,用了其他的布局,就觉得相对布局好麻烦。
线性布局:怎么说呢,比较容易把自己绕晕吧,可能做着做着就忘了嵌套到哪里了。o(╯□╰)o
表格布局:个人比较喜欢吧,感觉排版挺容易的。
个人觉得,做个人简历选表格挺简单的,其他两个布局,老师还没说,不知道是怎么样的O(∩_∩)O
下面是自己的三种布局做的简历,真心差,看不下去了
(个人最满意的还是表格布局)
相对布局:
layout===》》》Activity_mian.xml
<ScrollView
android:id="@+id/pps"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:id="@+id/tv_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/name"
android:textSize="10sp"
android:gravity="center"
/>
<TextView
android:layout_below="@id/tv_name"
android:id="@+id/tv_account"
android:layout_width="40dip"
android:layout_height="30dip"
android:textSize="10sp"
android:text="@string/name1"
/>
<TextView
android:layout_below="@id/tv_name"
android:layout_toRightOf="@id/tv_account"
android:id="@+id/et_account"
android:layout_width="40dip"
android:layout_height="30dip"
android:textSize="10sp"
android:text="@string/name2"
/>
<TextView
android:layout_below="@id/tv_name"
android:layout_toRightOf="@id/et_account"
android:id="@+id/et_sex"
android:layout_width="40dip"
android:layout_height="30dip"
android:textSize="10sp"
android:text="@string/sex1"
/>
<RadioGroup
android:layout_below="@id/tv_name"
android:layout_toRightOf="@id/et_sex"
android:id="@+id/gender"
android:layout_width="wrap_content"
android:layout_height="30dip"
android:checkedButton="@+id/male"
android:orientation="horizontal"
>
<RadioButton
android:id="@+id/male"
android:text="@string/sex2"
android:textSize="10sp"
/>
<RadioButton
android:id="@+id/female"
android:text="@string/sex3"
android:textSize="10sp"
/>
</RadioGroup>
<ImageView
android:id="@+id/image"
android:layout_toRightOf="@id/gender"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/imgqq"/>
<TextView
android:layout_marginTop="2dip"
android:layout_below="@id/tv_account"
android:id="@+id/bth"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/birthday"
android:textSize="10sp"
/>
<TextView
android:layout_toRightOf="@id/bth"
android:layout_below="@id/et_account"
android:layout_marginTop="2dip"
android:id="@+id/dp"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/bth"
/>
<TextView
android:id="@+id/edu"
android:layout_marginTop="2dip"
android:layout_below="@id/et_sex"
android:layout_toRightOf="@id/dp"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/edu"
android:textSize="10sp"
/>
<TextView
android:id="@+id/education"
android:layout_marginTop="2dip"
android:layout_below="@id/gender"
android:layout_toRightOf="@id/edu"
android:layout_height="30dip"
android:layout_width="wrap_content"
android:textSize="10sp"
android:text="@string/education"
/>
<TextView
android:id="@+id/ethnicity"
android:layout_marginTop="2dip"
android:layout_below="@id/bth"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/ethnicity"
android:textSize="10sp"
/>
<TextView
android:id="@+id/eth"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/ethnicity"
android:layout_below="@id/bth"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/eth"
android:textSize="10sp"
/>
<TextView
android:id="@+id/nat"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/eth"
android:layout_below="@id/edu"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/nat"
android:textSize="10sp"
/>
<TextView
android:id="@+id/place"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/nat"
android:layout_below="@id/education"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/place"
android:textSize="10sp"
/>
<TextView
android:id="@+id/identity"
android:layout_marginTop="2dip"
android:layout_below="@id/ethnicity"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/identity"
android:textSize="10sp"
/>
<TextView
android:id="@+id/pub"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/identity"
android:layout_below="@id/eth"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/pub"
android:textSize="10sp"
/>
<TextView
android:id="@+id/marriage"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/pub"
android:layout_below="@id/nat"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/marriage"
android:textSize="10sp"
/>
<TextView
android:id="@+id/mar"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/marriage"
android:layout_below="@id/place"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/mar"
android:textSize="10sp"
/>
<TextView
android:id="@+id/university"
android:layout_marginTop="2dip"
android:layout_below="@id/identity"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/university"
android:textSize="10sp"
/>
<TextView
android:id="@+id/collage"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/university"
android:layout_below="@id/pub"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/collage"
android:textSize="10sp"
/>
<TextView
android:id="@+id/study"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/collage"
android:layout_below="@id/marriage"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/study"
android:textSize="10sp"
/>
<TextView
android:id="@+id/stu"
android:layout_marginTop="2dip"
android:layout_toRightOf="@id/study"
android:layout_below="@id/mar"
android:layout_height="30dip"
android:layout_width="40dip"
android:text="@string/stu"
android:textSize="10sp"
/>
<TextView
android:id="@+id/judge"
android:layout_marginTop="2dip"
android:layout_below="@id/university"
android:layout_height="15dip"
android:layout_width="fill_parent"
android:text="@string/judge"
android:textSize="10sp"
/>
<TextView
android:id="@+id/jud"
android:layout_marginTop="2dip"
android:layout_below="@id/judge"
android:layout_height="50dip"
android:layout_width="fill_parent"
android:text="@string/jud"
android:textSize="10sp"
/>
<TextView
android:id="@+id/will"
android:layout_marginTop="2dip"
android:layout_below="@id/jud"
android:layout_height="15dip"
android:layout_width="fill_parent"
android:text="@string/will"
android:textSize="10sp"
/>
<TextView
android:id="@+id/intent"
android:layout_marginTop="2dip"
android:layout_below="@id/will"
android:layout_height="20dip"
android:layout_width="fill_parent"
android:text="@string/intent"
android:textSize="10sp"
/>
<TextView
android:id="@+id/technical"
android:layout_marginTop="2dip"
android:layout_below="@id/intent"
android:layout_height="20dip"
android:layout_width="fill_parent"
android:text="@string/technical"
android:textSize="10sp"
/>
<TextView
android:id="@+id/tech"
android:layout_marginTop="2dip"
android:layout_below="@id/technical"
android:layout_height="30dip"
android:layout_width="fill_parent"
android:text="@string/tech"
android:textSize="10sp"
/>
<TextView
android:id="@+id/interest"
android:layout_marginTop="2dip"
android:layout_below="@id/tech"
android:layout_height="20dip"
android:layout_width="fill_parent"
android:text="@string/interest"
android:textSize="10sp"
/>
<TextView
android:id="@+id/likes"
android:layout_below="@id/interest"
android:layout_height="45dip"
android:layout_width="30dip"
android:textSize="10sp"
android:text="@string/likes"/>
<CheckBox
android:id="@+id/football"
android:layout_marginLeft="10dip"
android:layout_width="50dip"
android:layout_height="wrap_content"
android:layout_below="@id/interest"
android:layout_toRightOf="@id/likes"
android:checked="true"
android:text="@string/football"
android:textSize="10sp"/>
<CheckBox
android:id="@+id/basketball"
android:layout_marginLeft="10dip"
android:layout_below="@id/interest"
android:layout_width="50dip"
android:layout_toRightOf="@id/football"
android:layout_height="wrap_content"
android:text="@string/basketball"
android:textSize="10sp"/>
<CheckBox
android:id="@+id/tennis"
android:layout_marginLeft="10dip"
android:layout_below="@id/interest"
android:layout_toRightOf="@id/basketball"
android:layout_width="50dip"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/tennis"
android:textSize="10sp"/>
<CheckBox
android:id="@+id/game"
android:layout_marginLeft="10dip"
android:layout_below="@id/interest"
android:layout_toRightOf="@id/tennis"
android:layout_width="50dip"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/game"
android:textSize="10sp"/>
<TextView
android:id="@+id/work"
android:layout_marginTop="2dip"
android:layout_below="@id/likes"
android:layout_height="20dip"
android:layout_width="fill_parent"
android:text="@string/work"
android:textSize="10sp"
/>
<TextView
android:id="@+id/experience"
android:layout_marginTop="2dip"
android:layout_below="@id/work"
android:layout_height="80dip"
android:layout_width="fill_parent"
android:text="@string/experience"
android:textSize="10sp"
/>
</RelativeLayout>
</ScrollView>
values===》》》Strings.xml<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">个人简历相对布局</string>
<string name="action_settings">Settings</string>
<string name="name">个人基本资料</string>
<string name="name1">姓名</string>
<string name="name2">潘洋</string>
<string name="sex1">性别</string>
<string name="sex2">男</string>
<string name="sex3">女</string>
<string name="birthday">出生日期</string>
<string name="edu">学历</string>
<string name="education">本科</string>
<string name="ethnicity">民族</string>
<string name="bth">12.20</string>
<string name="eth">汉</string>
<string name="nat">籍贯</string>
<string name="place">衢州</string>
<string name="identity">政治面貌</string>
<string name="pub">群众</string>
<string name="marriage">婚姻状况</string>
<string name="mar">未婚</string>
<string name="university">毕业院校</string>
<string name="collage">大连理工</string>
<string name="study">专业</string>
<string name="stu">软件工程</string>
<string name="judge">自我评价</string>
<string name="jud">本人工作细心,责任心强,能及时完成上级交代的任务并及时反馈。能吃苦耐劳,学习能力强,性格活泼大方,能很好融入新的环境,友爱同事! 希望在一个新的工作环境里,能在原有的专业知识水平上得到一定的提高。</string>
<string name="will">求职意向</string>
<string name="intent">希望应聘贵公司管培实习生职位,并希望在贵公司长期发展</string>
<string name="technical">职业技能</string>
<string name="likes">爱好</string>
<string name="football">足球</string>
<string name="basketball">篮球</string>
<string name="tennis">乒乓球</string>
<string name="game">打游戏</string>
<string name="tech">1、具有扎实的专业能力
2、能够熟练使用CAD,PRO-E等绘图软件
3、能熟练应用office办公软件
4、拥有数控机床证、专业证。</string>
<string name="interest">兴趣爱好</string>
<string name="work">个人工作相关经历</string>
<string name="experience">在校期间参加了数控的编程与操作实习、PLC控制实习、金工实习、电工实习、机电一体化实习等.掌握了机电一体化、数控技术等相关专业技能。暑假做过专业相关工作。同时磨练了自己的意志和吃苦耐劳的精神。</string>
</resources>
线性布局:layout===》》》Activity_mian.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/data" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/name1"
android:textSize="15sp" />
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/name2"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/sex"
android:textSize="15sp" />
<RadioGroup
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/sex1"
android:textSize="15sp" />
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/sex2"
android:textSize="15sp" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/birthday"
android:textSize="15sp" />
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/birth"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/edu"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/education"
android:textSize="15sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/image" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/nat"
android:textSize="15sp" />
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/place"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/ethnicity"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/eth"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/identity"
android:textSize="15sp" />
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/pub"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/marriage"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/mar"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/university"
android:textSize="15sp" />
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/collage"
android:textSize="15sp" />
<TextView
android:layout_width="35dip"
android:layout_height="wrap_content"
android:text="@string/study"
android:textSize="15sp" />
<TextView
android:layout_width="65dip"
android:layout_height="wrap_content"
android:text="@string/stu"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/judge" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/jud" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/will" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/intent" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/technical" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tech" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/interest" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="30dip"
android:layout_height="45dip"
android:text="@string/likes"
android:textSize="10sp" />
<CheckBox
android:layout_width="50dip"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/football"
android:textSize="10sp" />
<CheckBox
android:layout_width="50dip"
android:layout_height="wrap_content"
android:text="@string/basketball"
android:textSize="10sp" />
<CheckBox
android:layout_width="50dip"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/tennis"
android:textSize="10sp" />
<CheckBox
android:layout_width="50dip"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/game"
android:textSize="10sp" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/work" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/experience" />
</LinearLayout>
</LinearLayout>
values===》》》Strings.xml<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">个人简历线性布局</string>
<string name="action_settings">Settings</string>
<string name="data">个人基本资料</string>
<string name="name1">姓名</string>
<string name="name2">潘洋</string>
<string name="sex">性别</string>
<string name="sex1">男</string>
<string name="sex2">女</string>
<string name="birthday">出生日期</string>
<string name="birth">12.20</string>
<string name="edu">学历</string>
<string name="education">本科</string>
<string name="nat">籍贯</string>
<string name="eth">汉</string>
<string name="ethnicity">民族</string>
<string name="place">浙江衢州</string>
<string name="identity">政治面貌</string>
<string name="pub">群众</string>
<string name="marriage">婚姻</string>
<string name="mar">未婚</string>
<string name="university">毕业院校</string>
<string name="collage">大连理工</string>
<string name="study">专业</string>
<string name="stu">软件工程</string>
<string name="judge">自我评价</string>
<string name="jud">本人工作细心,责任心强,能及时完成上级交代的任务并及时反馈。能吃苦耐劳,学习能力强,性格活泼大方,能很好融入新的环境,友爱同事! 希望在一个新的工作环境里,能在原有的专业知识水平上得到一定的提高。</string>
<string name="will">求职意向</string>
<string name="intent">希望应聘贵公司管培实习生职位,并希望在贵公司长期发展</string>
<string name="technical">职业技能</string>
<string name="tech">1、具有扎实的专业能力
2、能够熟练使用CAD,PRO-E等绘图软件
3、能熟练应用office办公软件
4、拥有数控机床证、专业证。</string>
<string name="interest">兴趣爱好</string>
<string name="likes">爱好</string>
<string name="football">足球</string>
<string name="basketball">篮球</string>
<string name="tennis">乒乓球</string>
<string name="game">打游戏</string>
<string name="work">个人工作相关经历</string>
<string name="experience">在校期间参加了数控的编程与操作实习、PLC控制实习、金工实习、电工实习、机电一体化实习等.掌握了机电一体化、数控技术等相关专业技能。暑假做过专业相关工作。同时磨练了自己的意志和吃苦耐劳的精神。</string>
</resources>
表格布局:layout===》》》Activity_mian.xml
<span style="font-size:18px;"><ScrollView
android:id="@+id/boss"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:gravity="center_horizontal"
android:id="@+id/data"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/data"
android:textSize="18sp"
/>
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:gravity="center_horizontal"
android:id="@+id/name"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/name"/>
<EditText
android:id="@+id/name1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<TextView
android:gravity="center_horizontal"
android:id="@+id/sex"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sex"/>
<RadioGroup
android:layout_marginTop="5dip"
android:id="@+id/gender"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:checkedButton="@+id/male">
<RadioButton
android:id="@+id/male"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/male"/>
<RadioButton
android:id="@+id/female"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/female"/>
</RadioGroup>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/imgqq"
/>
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:gravity="center_horizontal"
android:id="@+id/birthday"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/birthday"/>
<EditText
android:id="@+id/birthday1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<TextView
android:gravity="center_horizontal"
android:id="@+id/XL"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/XL"/>
<EditText
android:id="@+id/XL1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:gravity="center_horizontal"
android:id="@+id/ZZMM"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/ZZMM"/>
<EditText
android:id="@+id/ZZMM1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<TextView
android:gravity="center_horizontal"
android:id="@+id/HYZK"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/HYZK"/>
<EditText
android:id="@+id/HYZK1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:gravity="center_horizontal"
android:id="@+id/BYXX"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/BYXX"/>
<EditText
android:id="@+id/BYXX1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<TextView
android:gravity="center_horizontal"
android:id="@+id/ZY"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/ZY"/>
<EditText
android:id="@+id/ZY1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/ZWPJ"
android:text="@string/ZWPJ"
android:textSize="15sp"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/content"
android:text="@string/content"
android:textSize="12sp"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/QZYX"
android:text="@string/QZYX"
android:textSize="15sp"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/content1"
android:text="@string/content1"
android:textSize="12sp"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/ZYJN"
android:text="@string/ZYJN"
android:textSize="15sp"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/content2"
android:text="@string/content2"
android:textSize="12sp"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/XQAH"
android:text="@string/XQAH"
android:textSize="15sp"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/content6"
android:text="@string/content6"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<CheckBox
android:id="@+id/content7"
android:text="@string/content7"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<CheckBox
android:id="@+id/content8"
android:text="@string/content8"
android:textSize="12sp"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/GRXGGZJL"
android:text="@string/GRXGGZJL"
android:textSize="15sp"
android:textStyle="bold"
android:layout_width="0dip"
android:layout_weight="1"
/>
</TableRow>
<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/content3"
android:text="@string/content3"
android:textSize="12sp"
android:layout_width="wrap_content"
android:layout_weight="1"
/>
</TableRow>
</TableLayout>
</ScrollView></span>
values===》》》Strings.xml<span style="font-size:18px;"><?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">个人简历</string>
<string name="menu_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="data">个人基本资料</string>
<string name="name">姓名</string>
<string name="sex">性别</string>
<string name="birthday">出生日期</string>
<string name="XL">学历</string>
<string name="ZZMM">政治面貌</string>
<string name="HYZK">婚姻状况</string>
<string name="BYXX">毕业学校</string>
<string name="ZY">专业</string>
<string name="male">男</string>
<string name="female">女</string>
<string name="ZWPJ">自我评价</string>
<string name="content">本人工作细心,责任心强,能及时完成上级交代的任务并及时反馈。能吃苦耐劳,学习能力强,性格活泼大方,能很好融入新的环境,友爱同事! 希望在一个新的工作环境里,能在原有的专业知识水平上得到一定的提高。</string>
<string name="QZYX">求职意向</string>
<string name="content1">希望应聘贵公司管培实习生职位,并希望在贵公司长期发展</string>
<string name="ZYJN">职业技能</string>
<string name="content2">1、具有扎实的专业能力
2、能够熟练使用CAD,PRO-E等绘图软件
3、能熟练应用office办公软件
4、拥有数控机床证、专业证。
</string>
<string name="XQAH">兴趣爱好</string>
<string name="content6">写代码</string>
<string name="content7">写博客</string>
<string name="content8">看美剧</string>
<string name="GRXGGZJL">个人相关工作经历</string>
<string name="content3">在校期间参加了数控的编程与操作实习、PLC控制实习、金工实习、电工实习、机电一体化实习等.掌握了机电一体化、数控技术等相关专业技能。暑假做过专业相关工作。同时磨练了自己的意志和吃苦耐劳的精神。 </string>
</resources></span>