如何在编辑文本中使用滚动视图

如何在编辑文本中使用滚动视图

本文介绍了如何在编辑文本中使用滚动视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我需要一个滚动视图来查看某些编辑文本..

完整的布局用滚动视图填充..

因为我无法添加更多滚动视图..

这是我的代码..

请指导我..

我已经提到编辑文本,我需要一个滚动条..



预付结转





< linearlayout xmlns:机器人= http://schemas.android.com/apk/res/android > android:layout_width =match_parent

android:layout_height =match_parent

android:removed =@ drawable / bg2x

android: orientation =vertical>



< relativelayout>

android:id =@ + id / linearLayout1

android:layout_width =fill_parent

android:layout_height =50dp

android:removed =@ drawable / navigation_bar>



< ImageView

android:id =@ + id / img_back

android:layout_width =35dp

android:layout_height =35dp

android:layout_alignParentLeft =true

android:layout_centerVertical =true

android:layout_marginLeft =5dp

android:background =@ drawable / back_btn/>



< textview>

android:id =@ + id / textView1
android:layout_width =wrap_removed

android:layout_height =wrap_removed

android:layout_alignLeft =@ + id / img_back

android:layout_alignParentRight =true

android:layout_alignTop =@ + id / img_list

android:layout_centerVertical =true

android:layout_marginTop =5dp

android:gravity =center

android:text =个人资料信息

android:textColor =#f2f3f1

android:textSize =17dp

android:textStyle =bold | italic/>



<按钮

android:id =@ + id / btn_edit

android:layout_width =wrap_content

android:layout_height =35dp

android:layout_alignParentRight =true

android:layout_centerVertical =tr ue

android:layout_marginRight =5dp

android:background =@ drawable / blue_btn_edit

android:text =Done

android:textColor =@ android:color / white/>





< scrollview> ;

android:id =@ + id / scrollView1

android:layout_width =fill_parent

android:layout_height =fill_parent

android:layout_weight =1>



< linearlayout> android:layout_width =fill_parent

android:layout_height =wrap_content

android:orientation =vertical>



< linearlayout> android:layout_width =fill_parent

android:layout_height =wrap_content

android:layout_marginLeft =10dp

android:layout_marginRight = 10dp

android:orientation =vertical>



< relativelayout>

android:layout_width =match_parent

android:layout_height =fill_parent

android:layout_marginTop =5dp>



< linearlayout> android:id =@ + id / samp

android:layout_width =wrap_content

android:layout_height =wrap_content

android :layout_alignParentLeft =true

android:gravity =center_horizo​​ntal

android:orientation =vertical>



< ImageView

android:id =@ + id / img_profilepic

android:layout_width =100dp

android :layout_height =100dp

android:layout_alignParentLeft =true

android:layout_alignParentTop =true

android:padding =2dp

android:src =@ drawable / profile_pic/>



<但吨

android:id =@ + id / btn_photos

android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_marginTop =2dp

android:background =@ drawable / green_btn

android:paddingLeft =3dp

android:text =个人资料照片

android:textColor =@ android:color / black/>

< linearlayout> android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_alignParentRight =true

android:layout_alignParentTop =真的

android:layout_marginLeft =5dp

android:layout_marginTop =2dp

android:layout_toRightOf =@ + id / samp

android:removed =@ android:color / transparent

android:orientation =vertical

android:paddingLeft =2dp >



< linearlayout> android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_weight =1>



< textview>

android:id =@ + id / textView2

android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_marginTop =2dp

android:text =名字:

android: textColor =@ android:color / black/>



< edittext>

android:id =@ + id / tv_name

android:layout_width =wrap_removed

android:layout_height =wra p_removed

android:layout_marginTop =2dp

android:removed =@ android:drawable / editbox_background_normal

android:ems = 10

android:提示=

android:paddingLeft =3dp

android:textColor =@ android:color / black

android:textSize =15dp

android:textStyle =bold>



< ;&的LinearLayout GT; android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_weight =1>



< textview>

android:id =@ + id / textView2

android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_marginTop =2dp

android:text =姓氏:

android: textColor =@ android:color / black/>



< edittext>

android:id =@ + id / tv_lastname

android:layout_width =wrap_content

android:layout_height = wrap_content

android:layout_marginTop =2dp

android:layout_weight =1

android:removed =@ android:drawable / editbox_background_normal

android:ems =10

android:hint =

android:paddingLeft =3dp

android:textColor =@ android:color / black

android:textSize =15dp/>

< linearlayout> android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_weight =1>



< textview>

android:id =@ + id / textView2

android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_marginTop =2dp

android:text =城市:

android:textColor =@ android:color / black/>



< edittext>

android:id =@ + id / tv_chatname

android:layout_width =wrap_content

android:layout_ height =wrap_content

android:layout_marginTop =2dp

android:layout_weight =1

android:removed =@ android :drawable / editbox_background_normal

android:ems =10

android:hint =

android:paddingLeft =3dp

android:textColor =@ android:color / black

android:textSize =15dp/>

< linearlayout> android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_weight =1>



< textview>

android:id =@ + id / textView2

android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_marginTop =2dp

android:text =状态:

android:textColor =@ android:color / black/>



< edittext>

android:id =@ + id / tv_location

android:layout_width =wrap_content

android:layout_he ight =wrap_content

android:layout_marginTop =2dp

android:layout_weight =1

android:removed =@ android :drawable / editbox_background_normal

android:ems =10

android:hint =

android:paddingLeft =3dp

android:textColor =@ android:color / black

android:textSize =15dp/>

< linearlayout> android:layout_width =match_parent

android:layout_height =wrap_content

android:layout_marginTop =3dp

android:orientation =水平>



< textview>

android:id =@ + id / tv_gender

android:layout_width =wrap_removed

android:layout_height =wrap_removed

android:text =性别:

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / black

android:textStyle =bold

android:visibility =visible/>



< edittext>

android:id =@ + id / tv_gender1

android:layout_width =match_parent

android:layout_height = wrap_content

android:layout_marginLeft =10dp

android:removed =@ android:drawable / editbox_background_normal

android:paddingLeft = 2dp

android:text =g

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor = @android:color / black

android:visibility =visible/>

< Button

android:id = @ + id / btn_more1

style =?android:attr / buttonStyleSmall

android:layout_width =60dp

android:layout_height =25dp

android: layout_alignParentRight =true

android:layout_alignParentTop =true

android:layout_marginRight =5dp

android:layout_marginTop =15dp

android:background =@ drawable / green_btn

android:text =更多

android:visibility =gone/> ;





< textview>

android:id =@ + id / tv_bio

android:layout_width =wrap_content

android:layout_height =wrap_content

android:text =Bio

android:textAppearance =?android:attr / textAppearanceMedium

android:textColor =@ android:color / black/>

/////// ///////////////////////////////



< edittext> ;

android:id =@ + id / tv_bio1

android:layout_width =match_parent

android:layout_height =wrap_content

android:layout_weight =0.89

android:removed =@ android:drawable / editbox_background_normal

android:inputType =textMultiLine

android:paddingLeft =2dp

android:text =

android:textColor =@ android:color / black/ >



//////////////////////////////// ///////////////////////////



< ImageView

android:id =@ + id / ImageView1

android:layout_width =fill_parent

android:layout_height =wrap_content

android :layout_marginTop =10dp

android:src =@ drawable / line

android:visibility =gone/>

<&的LinearLayout GT; android:layout_width =fill_parent

android:layout_height =2dp

android:layout_marginTop =10dp

android:removed = @android:color / black/>



< linearlayout> android:layout_width =fill_parent

android:layout_height =wrap_content

android:orientation =horizo​​ntal>



< textview>

android:id =@ + id / mouthypoint

android:layout_width =wrap_removed

android:layout_height =wrap_removed

android:layout_marginLeft =20dp

android:layout_marginTop =10dp

android:text = Mouth's Selfie Point Card

android:textColor =@ android:color / black

android:textSize =15sp

android :textStyle =bold/>



<按钮

android:id =@ + id / btn_edit_card

style =?android:attr / buttonStyleSmall

android:layout_width =50dp

android:layout_height =20dp

android:layout_marginLeft =70dp

android:layout_marginTop = 10dp

android:background =@ drawable / green_btn

android:text =编辑

android:visibility =visible />

< relativelayout>

android:id =@ + id / rl_scoring_test

android:layout_width =match_parent

android:layout_height =wrap_content

android:layout_marginLeft =5dp

android:removed =@ drawable / black_tab_profile_page

android:gravity =center_vertical | center_horizo​​ntal>



< linearlayout> android:id =@ + id / rl_scoring

android:layout_width =fill_parent

android:layout_height =wrap_content

android :layout_marginTop =5dp>



< textview>

android:id =@ + id / tv_scoring

android:layout_width =0dp

android:layout_height =wrap_content

android:layout_gravity =center_vertical

android:layout_marginLeft =10dp

android:layout_weight =63

android:text =得分摘要

android:textColor = #FFFFFF

android:textSize =16sp

android:visibility =gone/>

< rela tivelayout>

android:id =@ + id / rl_smiley

android:layout_width =wrap_content

android:layout_height =wrap_content

android:layout_below =@ + id / rl_scoring

android:layout_marginLeft =10dp

android:layout_marginRight =10dp

android:visibility =visible>



< linearlayout> android:id =@ + id / ll_smiles

android:layout_width =fill_parent

android:layout_height =wrap_content

android :layout_marginLeft =10dp

android:layout_marginRight =10dp

android:weightSum =70>



< linearlayout> android:id =@ + id / ll_smily1

android:layout_width =wrap_content

android:layout_height =wrap_content

android :layout_alignParentLeft =true

android:layout_centerVertical =true

android:layout_marginLeft =5dp

android:layout_weight =10

android:gravity =center

android:orientation =vertical>



< ; ImageView

android:id =@ + id / img_smile1

android:layout_width =40dp

android:layout_height =40dp

android:src =@ drawable / smile_2/>



< textview>

android:id =@ + id / tv_boom

android:layout_width =wrap_content

android:layout_height = wrap_content

android:ems =3

android:gravity =center | top

android:lines =2

android:text =Boom Baby

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize =10sp/>



< textview>

android:id =@ + id / tv_per1

android:layout_width =wrap_content

android:layout_height =wrap_content

android:text =+ 5

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize =10sp/>



< textview>

android:id =@ + id / tv_percent1

android:layout_width =wrap_removed

android:layout_height =wrap_removed

android:layout_marginBottom =2dp

android:text =+ 5

android:textAppearance = ?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize =10sp

android:textStyle =bold

android:visibility =消失/>

< linearlayout> android:id =@ + id / ll_smily2

android:layout_width =wrap_content

android:layout_height =wrap_content

android :layout_alignParentLeft =true

android:layout_centerVertical =true

android:layout_weight =10

android:gravity =center

android:orientation =vertical

android:visibility =gone>



< ; ImageView

android:id =@ + id / imageView1

android:layout_width =30dp

android:layout_height =40dp

android:src =@ drawable / smile_3/>



< textview>

android:id =@ + id / TextView02

android:layout_width =wrap_content

android:layout_height = wrap_content

android:ems =3

android:gravity =center | top

android:lines =2

android:text =Boom

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android :颜色/白色

android:textSize =10sp/>



< textview>

android:id =@ + id / tv_per2

android:layout_width =wrap_content

android:layout_height =wrap_content

android:text =+ 3

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize =10sp/>



< textview>

android:id =@ + id / tv_percent2

android:layout_width =wrap_removed

android:layout_height = wrap_removed

android:text =+ 5

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize = 10sp

android:textStyle =bold/>

< linearlayout> android:id =@ + id / ll_smily3

android:layout_width =wrap_content

android:layout_height =wrap_content

android :layout_alignParentLeft =true

android:layout_centerVertical =true

android:layout_marginLeft =35dp

android:layout_weight =10

android:gravity =center

android:orientation =vertical>



< ; ImageView

android:id =@ + id / img_smile2

android:layout_width =30dp

android:layout_height =40dp

android:src =@ drawable / smile_4/>



< textview>

android:id =@ + id / TextView03

android:layout_width =wrap_content

android:layout_height = wrap_content

android:ems =3

android:gravity =center | top

android:lines =2

android:text =Boom Baby

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize =10sp/>



< textview>

android:id =@ + id / tv_per3

android:layout_width =wrap_conte nt

android:layout_height =wrap_content

android:text =+ 1

android:textAppearance =?android:attr / textAppearanceSmall

android:textColor =@ android:color / white

android:textSize =10sp/>



< textview>

android:id =@ + id / tv_percent3

android:layout_width =wrap_removed
$ b$b android:layout_height=\"wrap_removed\"

android:layout_marginBottom=\"2dp\"

android:text=\"+5\"

android :textAppearance=\"?android:attr/textAppearanceSmall\"

android:textC olor=\"@android:color/white\"

android:textSize=\"10sp\"

android:textStyle=\"bold\"

android:visibility=\"gone\" />

<linearlayout> android:id=\"@+id/ll_smily4\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_alignParentLeft=\"true\"

android:layout_centerVertical=\"true\"

android:layout_marginLeft=\"35dp\"

android:layout_weight=\"10\"

android:gravity=\"center\"

android:orientation=\"vertical\" >



<ImageView

android:id=\"@+id/img_smile3\"

android:layout_width=\"30dp\"

android:layout_height=\"40dp\"

android:src=\"@drawable/smile_5\" />



<textview>

android:id=\"@+id/TextView04\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:ems=\"3\"

android:gravity=\"center|top\"

android:lines=\"2\"

android:text=\"Boom Baby\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_per4\"

android:layout_width=\"wrap_conte nt\"

android:layout_height=\"wrap_content\"

android:text=\"+0\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_percent4\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:layout_marginBottom=\"2dp\"

android:text=\"+5\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textC olor=\"@android:color/white\"

android:textSize=\"10sp\"

android:textStyle=\"bold\"

android:visibility=\"gone\" />

<linearlayout> android:id=\"@+id/ll_smily5\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_alignParentLeft=\"true\"

android:layout_centerVertical=\"true\"

android:layout_weight=\"10\"

android:gravity=\"center\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >



<ImageView

android:id=\"@+id/imageView1\"

android:layout_width=\"30dp\"

android:layout_height=\"40dp\"

android:src=\"@drawable/smile_6\" />



<textview>

android:id=\"@+id/TextView05\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:ems=\"3\"

android:gravity=\"center|top\"

android:lines=\"2\"

android:text=\"Boom Baby\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_per5\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:text=\"-1\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_percent5\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"+5\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textS ize=\"10sp\"

android:textStyle=\"bold\" />

<linearlayout> android:id=\"@+id/ll_smily6\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_alignParentLeft=\"true\"

android:layout_centerVertical=\"true\"

android:layout_weight=\"10\"

android:gravity=\"center\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >



<ImageView

android:id=\"@+id/imageView1\"

android:layout_width=\"30dp\"

android:layout_height=\"40dp\"

android:src=\"@drawable/smile_7\" />



<textview>

android:id=\"@+id/TextView06\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:ems=\"3\"

android:gravity=\"center|top\"

android:lines=\"2\"

android:text=\"Boom Baby\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_per6\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:text=\"-3\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_percent6\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"+5\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textS ize=\"10sp\"

android:textStyle=\"bold\" />

<linearlayout> android:id=\"@+id/ll_smily7\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_alignParentLeft=\"true\"

android:layout_centerVertical=\"true\"

android:layout_marginLeft=\"35dp\"

android:layout_weight=\"10\"

android:gravity=\"center\"

android:orientation=\"vertical\" >



<ImageView

android:id=\"@+id/img_smile4\"

android:layout_width=\"40dp\"

android:layout_height=\"40dp\"

android:src=\"@drawable/smile_1\" />



<textview>

android:id=\"@+id/TextView07\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:ems=\"3\"

android:gravity=\"center|top\"

android:lines=\"2\"

android:text=\"Boom Baby\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_per7\"

android:layout_width=\"wrap_conte nt\"

android:layout_height=\"wrap_content\"

android:text=\"-5\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/white\"

android:textSize=\"10sp\" />



<textview>

android:id=\"@+id/tv_percent7\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:layout_marginBottom=\"2dp\"

android:text=\"+5\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textC olor=\"@android:color/white\"

android:textSize=\"10sp\"

android:textStyle=\"bold\"

android:visibility=\"gone\" />

<linearlayout> android:id=\"@+id/ll_grupview\"

android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_below=\"@+id/ll_smiles\"

android:layout_marginBottom=\"15dp\"

android:layout_marginTop=\"15dp\"

android:orientation=\"horizontal\"

android:visibility=\"gone\"

android:weightSum=\"150\" >



<linearlayout> android:id=\"@+id/ll_left\"

android:layout_width=\"wrap_content\"

android:layout_height=\"match_parent\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >

<linearlayout> android:id=\"@+id/ll_right\"

android:layout_width=\"wrap_content\"

android:layout_height=\"match_parent\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >

<!-- -->







<linearlayout> android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:layout_marginRight=\"10dp\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >



<textview>

android:id=\"@+id/tv_interest\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"5dp\"

android:text=\"Favourite people in your life?\"

android:textAppearance=\"?android:attr/textAppearanceMedium\"

android:textColor=\"@android:color/black\" />



<edittext>

android:id=\"@+id/ tv_int1\"

android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_weight=\"0.89\"

android:removed=\"@android:color/transparent\"

android:inputType=\"textMultiLine\"

android:paddingLeft=\"2dp\"

android:text=\"\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />



<ImageView

android:id=\"@+id/ImageView2\"

android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"10dp\"

android:src=\"@drawable/line\"

android:visibility=\"gone\" />

<linearlayout> android:layout_width=\"fill_parent\"

android:layout_height=\"2dp\"

android:layout_marginTop=\"10dp\"

android:removed=\"@android:color/black\"

android:visibility=\"gone\" />



<linearlayout> android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:layout_marginRight=\"10dp\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >



<textview>

android:id=\"@+id/tv_employment\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"5dp\"

android:text=\"Post a Message\"

android:textAppearance=\"?android:attr/textAppearanceMedium\"

android:textColor=\"@android:color/black\" />



<edittext>

android:id=\"@+id/tv_employ1\"

android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_weight=\"0.89\"

android:removed=\"@android:color/transparent\"

android:inputType=\"textMultiLine\"

android:paddingLeft=\"2dp\"

android:text=\"\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />



<ImageView

android:id=\"@+id/ImageView2\"

android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"10dp\"

android:src=\"@drawable/line\"

android:visibility=\"gone\" />

<linearlayout> android:layout_width=\"fill_parent\"

android:layout_height=\"2dp\"

android:layout_marginTop=\"10dp\"

android:removed=\"@android:color/black\"

android:visibility=\"gone\" />



<linearlayout> android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:layout_marginRight=\"10dp\"

android:orientation=\"vertical\"

android:visibility=\"gone\" >



<textview>

android:id=\"@+id/tv_basic\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"5dp\"

android:text=\"Basic Info:\"

android:textAppearance=\"?android:attr/textAppearanceMedium\"

android:textColor=\"@android:color/black\" />



<linearlayout> android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"3dp\"

android:orientation=\"horizontal\" >



<textview>

android:id=\"@+id/tv_employment\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"Employment:\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\"

android:textStyle=\"bold\" />



<edittext>

android:id=\"@+id/tv_employ1\"

android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:removed=\"@android:color/transparent\"

android:paddingLeft=\"2dp\"

android:text=\"em\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />

<linearlayout> android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"3dp\"

android:orientation=\"horizontal\" >



<textview>

android:id=\"@+id/tv_employment\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"Relationship Status:\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\"

android:textStyle=\"bold\" />



<edittext>

android:id=\"@+id/tv_relation\"

android:layout_width=\"match_ parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:removed=\"@android:color/transparent\"

android:paddingLeft=\"2dp\"

android:text=\"em\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />

<linearlayout> android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"3dp\"

android:orientation=\"horizontal\" >



<textview>

android:id=\"@+id/tv_education\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"Education:\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\"

android:textStyle=\"bold\" />



<edittext>

android:id=\"@+id/tv_edu1\"

android:layout_width=\"match_parent\"
$ b$b android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:removed=\"@android:color/transparent\"

android:paddingLeft=\"2dp\"

android:text=\"edu\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />

<linearlayout> android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"3dp\"

android:orientation=\"horizontal\" >



<textview>

android:id=\"@+id/tv_gender\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"Gender:\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\"

android:textStyle=\"bold\" />



<edittext>

android:id=\"@+id/tv_gender1\"

android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:removed=\"@android:color/transparent\"

android:paddingLeft=\"2dp\"

android:text=\"g\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />

<linearlayout> android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"3dp\"

android:orientation=\"horizontal\" >



<textview>

android:id=\"@+id/tv_languages\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"Languages:\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\"

android:textStyle=\"bold\" />



<edittext>

android:id=\"@+id/tv_lang1\"

android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:removed=\"@android:color/transparent\"

android:paddingLeft=\"2dp\"

android:text=\"l\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />

<linearlayout> android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"3dp\"

android:orientation=\"horizontal\" >



<textview>

android:id=\"@+id/tv_website\"

android:layout_width=\"wrap_removed\"

android:layout_height=\"wrap_removed\"

android:text=\"Web Site:\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\"

android:textStyle=\"bold\" />



<edittext>

android:id=\"@+id/tv_web1\"

android:layout_width=\"match_parent\"

android:layout_height=\"wrap_content\"

android:layout_marginLeft=\"10dp\"

android:removed=\"@android:color/transparent\"

android:paddingLeft=\"2dp\"

android:text=\"web\"

android:textAppearance=\"?android:attr/textAppearanceSmall\"

android:textColor=\"@android:color/black\" />

<Button

android:id=\"@+id/btn_photos\"

android:layout_width=\"wrap_content\"

android:layout_height=\"wrap_content\"

android:layout_marginTop=\"5dp\"

android:background=\"@drawable/green_btn\"

android:paddingLeft=\"3dp\"

android:paddingRight=\"3dp\"
android:text=\"Profile Photo(s)\"

android:textColor=\"@android:color/black\" />





<linearlayout> android:id=\"@+id/add\"

android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_gravity=\"bottom\"

android:removed=\"@drawable/tab_bar\" >



<view>

android:id=\"@+id/toolbarLC\"

android:layout_width=\"fill_parent\"

android:layout_height=\"wrap_content\"

android:layout_gravity=\"center\"

android:layout_marginTop=\"5dp\"

class=\"com.fipl.mouthy.toolbar$ToolBarView\" />

Hi i need a scroll view for certain edit text..
A complete layout is filled with scroll view..
since i cant able to add more scroll view..
this is my code ..
kindly guide me..
I have mentioned the edit text where i need a scroll for it..

Thanks in Advance


<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"> android:layout_width="match_parent"
android:layout_height="match_parent"
android:removed="@drawable/bg2x"
android:orientation="vertical" >

<relativelayout>
android:id="@+id/linearLayout1"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:removed="@drawable/navigation_bar" >

<ImageView
android:id="@+id/img_back"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:background="@drawable/back_btn" />

<textview>
android:id="@+id/textView1"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_alignLeft="@+id/img_back"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/img_list"
android:layout_centerVertical="true"
android:layout_marginTop="5dp"
android:gravity="center"
android:text="Profile Info"
android:textColor="#f2f3f1"
android:textSize="17dp"
android:textStyle="bold|italic" />

<Button
android:id="@+id/btn_edit"
android:layout_width="wrap_content"
android:layout_height="35dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:background="@drawable/blue_btn_edit"
android:text="Done"
android:textColor="@android:color/white" />


<scrollview>
android:id="@+id/scrollView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1" >

<linearlayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >

<linearlayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical" >

<relativelayout>
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_marginTop="5dp" >

<linearlayout> android:id="@+id/samp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:gravity="center_horizontal"
android:orientation="vertical" >

<ImageView
android:id="@+id/img_profilepic"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:padding="2dp"
android:src="@drawable/profile_pic" />

<Button
android:id="@+id/btn_photos"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:background="@drawable/green_btn"
android:paddingLeft="3dp"
android:text="Profile Photo"
android:textColor="@android:color/black" />
<linearlayout> android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="5dp"
android:layout_marginTop="2dp"
android:layout_toRightOf="@+id/samp"
android:removed="@android:color/transparent"
android:orientation="vertical"
android:paddingLeft="2dp" >

<linearlayout> android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" >

<textview>
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="First Name :"
android:textColor="@android:color/black" />

<edittext>
android:id="@+id/tv_name"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_marginTop="2dp"
android:removed="@android:drawable/editbox_background_normal"
android:ems="10"
android:hint=""
android:paddingLeft="3dp"
android:textColor="@android:color/black"
android:textSize="15dp"
android:textStyle="bold" >

<linearlayout> android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" >

<textview>
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="Last Name :"
android:textColor="@android:color/black" />

<edittext>
android:id="@+id/tv_lastname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:removed="@android:drawable/editbox_background_normal"
android:ems="10"
android:hint=""
android:paddingLeft="3dp"
android:textColor="@android:color/black"
android:textSize="15dp" />
<linearlayout> android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" >

<textview>
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="City : "
android:textColor="@android:color/black" />

<edittext>
android:id="@+id/tv_chatname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:removed="@android:drawable/editbox_background_normal"
android:ems="10"
android:hint=""
android:paddingLeft="3dp"
android:textColor="@android:color/black"
android:textSize="15dp" />
<linearlayout> android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1" >

<textview>
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="State : "
android:textColor="@android:color/black" />

<edittext>
android:id="@+id/tv_location"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:removed="@android:drawable/editbox_background_normal"
android:ems="10"
android:hint=""
android:paddingLeft="3dp"
android:textColor="@android:color/black"
android:textSize="15dp" />
<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_gender"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Gender: "
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold"
android:visibility="visible" />

<edittext>
android:id="@+id/tv_gender1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:drawable/editbox_background_normal"
android:paddingLeft="2dp"
android:text="g"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:visibility="visible" />
<Button
android:id="@+id/btn_more1"
style="?android:attr/buttonStyleSmall"
android:layout_width="60dp"
android:layout_height="25dp"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginRight="5dp"
android:layout_marginTop="15dp"
android:background="@drawable/green_btn"
android:text="More"
android:visibility="gone" />


<textview>
android:id="@+id/tv_bio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Bio"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/black" />
//////////////////////////////////////

<edittext>
android:id="@+id/tv_bio1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.89"
android:removed="@android:drawable/editbox_background_normal"
android:inputType="textMultiLine"
android:paddingLeft="2dp"
android:text=""
android:textColor="@android:color/black" />

///////////////////////////////////////////////////////////

<ImageView
android:id="@+id/ImageView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:src="@drawable/line"
android:visibility="gone" />
<linearlayout> android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_marginTop="10dp"
android:removed="@android:color/black" />

<linearlayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >

<textview>
android:id="@+id/mouthypoint"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_marginLeft="20dp"
android:layout_marginTop="10dp"
android:text="Mouthy Selfie Point Card"
android:textColor="@android:color/black"
android:textSize="15sp"
android:textStyle="bold" />

<Button
android:id="@+id/btn_edit_card"
style="?android:attr/buttonStyleSmall"
android:layout_width="50dp"
android:layout_height="20dp"
android:layout_marginLeft="70dp"
android:layout_marginTop="10dp"
android:background="@drawable/green_btn"
android:text="Edit"
android:visibility="visible" />
<relativelayout>
android:id="@+id/rl_scoring_test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:removed="@drawable/black_tab_profile_page"
android:gravity="center_vertical|center_horizontal" >

<linearlayout> android:id="@+id/rl_scoring"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp" >

<textview>
android:id="@+id/tv_scoring"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="10dp"
android:layout_weight="63"
android:text="Scoring Summary"
android:textColor="#FFFFFF"
android:textSize="16sp"
android:visibility="gone" />
<relativelayout>
android:id="@+id/rl_smiley"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/rl_scoring"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:visibility="visible" >

<linearlayout> android:id="@+id/ll_smiles"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:weightSum="70" >

<linearlayout> android:id="@+id/ll_smily1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical" >

<ImageView
android:id="@+id/img_smile1"
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/smile_2" />

<textview>
android:id="@+id/tv_boom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom Baby"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent1"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_marginBottom="2dp"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold"
android:visibility="gone" />
<linearlayout> android:id="@+id/ll_smily2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone" >

<ImageView
android:id="@+id/imageView1"
android:layout_width="30dp"
android:layout_height="40dp"
android:src="@drawable/smile_3" />

<textview>
android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom "
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+3"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent2"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold" />
<linearlayout> android:id="@+id/ll_smily3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="35dp"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical" >

<ImageView
android:id="@+id/img_smile2"
android:layout_width="30dp"
android:layout_height="40dp"
android:src="@drawable/smile_4" />

<textview>
android:id="@+id/TextView03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom Baby"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent3"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_marginBottom="2dp"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold"
android:visibility="gone" />
<linearlayout> android:id="@+id/ll_smily4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="35dp"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical" >

<ImageView
android:id="@+id/img_smile3"
android:layout_width="30dp"
android:layout_height="40dp"
android:src="@drawable/smile_5" />

<textview>
android:id="@+id/TextView04"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom Baby"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+0"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent4"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_marginBottom="2dp"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold"
android:visibility="gone" />
<linearlayout> android:id="@+id/ll_smily5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone" >

<ImageView
android:id="@+id/imageView1"
android:layout_width="30dp"
android:layout_height="40dp"
android:src="@drawable/smile_6" />

<textview>
android:id="@+id/TextView05"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom Baby"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="-1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent5"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold" />
<linearlayout> android:id="@+id/ll_smily6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone" >

<ImageView
android:id="@+id/imageView1"
android:layout_width="30dp"
android:layout_height="40dp"
android:src="@drawable/smile_7" />

<textview>
android:id="@+id/TextView06"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom Baby"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="-3"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent6"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold" />
<linearlayout> android:id="@+id/ll_smily7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="35dp"
android:layout_weight="10"
android:gravity="center"
android:orientation="vertical" >

<ImageView
android:id="@+id/img_smile4"
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/smile_1" />

<textview>
android:id="@+id/TextView07"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="3"
android:gravity="center|top"
android:lines="2"
android:text="Boom Baby"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_per7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="-5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp" />

<textview>
android:id="@+id/tv_percent7"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:layout_marginBottom="2dp"
android:text="+5"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textStyle="bold"
android:visibility="gone" />
<linearlayout> android:id="@+id/ll_grupview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/ll_smiles"
android:layout_marginBottom="15dp"
android:layout_marginTop="15dp"
android:orientation="horizontal"
android:visibility="gone"
android:weightSum="150" >

<linearlayout> android:id="@+id/ll_left"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone" >
<linearlayout> android:id="@+id/ll_right"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone" >
<!-- -->



<linearlayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical"
android:visibility="gone" >

<textview>
android:id="@+id/tv_interest"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="Favourite people in your life?"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/black" />

<edittext>
android:id="@+id/tv_int1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.89"
android:removed="@android:color/transparent"
android:inputType="textMultiLine"
android:paddingLeft="2dp"
android:text=""
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />

<ImageView
android:id="@+id/ImageView2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:src="@drawable/line"
android:visibility="gone" />
<linearlayout> android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_marginTop="10dp"
android:removed="@android:color/black"
android:visibility="gone" />

<linearlayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical"
android:visibility="gone" >

<textview>
android:id="@+id/tv_employment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="Post a Message"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/black" />

<edittext>
android:id="@+id/tv_employ1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.89"
android:removed="@android:color/transparent"
android:inputType="textMultiLine"
android:paddingLeft="2dp"
android:text=""
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />

<ImageView
android:id="@+id/ImageView2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:src="@drawable/line"
android:visibility="gone" />
<linearlayout> android:layout_width="fill_parent"
android:layout_height="2dp"
android:layout_marginTop="10dp"
android:removed="@android:color/black"
android:visibility="gone" />

<linearlayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical"
android:visibility="gone" >

<textview>
android:id="@+id/tv_basic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="Basic Info:"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@android:color/black" />

<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_employment"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Employment:"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />

<edittext>
android:id="@+id/tv_employ1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:color/transparent"
android:paddingLeft="2dp"
android:text="em"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />
<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_employment"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Relationship Status:"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />

<edittext>
android:id="@+id/tv_relation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:color/transparent"
android:paddingLeft="2dp"
android:text="em"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />
<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_education"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Education:"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />

<edittext>
android:id="@+id/tv_edu1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:color/transparent"
android:paddingLeft="2dp"
android:text="edu"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />
<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_gender"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Gender:"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />

<edittext>
android:id="@+id/tv_gender1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:color/transparent"
android:paddingLeft="2dp"
android:text="g"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />
<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_languages"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Languages:"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />

<edittext>
android:id="@+id/tv_lang1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:color/transparent"
android:paddingLeft="2dp"
android:text="l"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />
<linearlayout> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:orientation="horizontal" >

<textview>
android:id="@+id/tv_website"
android:layout_width="wrap_removed"
android:layout_height="wrap_removed"
android:text="Web Site:"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />

<edittext>
android:id="@+id/tv_web1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:removed="@android:color/transparent"
android:paddingLeft="2dp"
android:text="web"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black" />
<Button
android:id="@+id/btn_photos"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:background="@drawable/green_btn"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:text="Profile Photo(s)"
android:textColor="@android:color/black" />


<linearlayout> android:id="@+id/add"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:removed="@drawable/tab_bar" >

<view>
android:id="@+id/toolbarLC"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="5dp"
class="com.fipl.mouthy.toolbar$ToolBarView" />

推荐答案



这篇关于如何在编辑文本中使用滚动视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 15:30