-6
A
回答
1
试试这个它会为你工作,我的朋友
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_profile"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.ncrypted.dempproject.Profile">
<View
android:id="@+id/view"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="50dp"
android:background="@color/colorPrimary" />
<ScrollView
android:id="@+id/scrolView_account"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/linear_account"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="100dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="100dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="profile Details"
android:textStyle="bold" />
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="@color/colorPrimary">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Please Enter User Name"
android:imeOptions="actionNext"
android:textColorHint="@color/colorPrimary" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="@color/colorPrimary">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Email Address"
android:imeOptions="actionNext"
android:inputType="textEmailAddress"
android:textColorHint="@color/colorPrimary" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="@color/colorPrimary">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="password"
android:imeOptions="actionNext"
android:inputType="textPassword"
android:textColorHint="@color/colorPrimary" />
</android.support.design.widget.TextInputLayout>
</LinearLayout>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/imageview_account_profile"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:src="@mipmap/ic_launcher"
app:civ_border_color="#FFFFFF"
app:civ_border_width="2dp" />
<android.support.design.widget.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignEnd="@+id/imageview_account_profile"
android:layout_marginTop="10dp"
android:id="@+id/floatingActionButton" />
</RelativeLayout>
</RelativeLayout>
</ScrollView>
</RelativeLayout>
+0
谢谢你,因为我使用android:visibility:可见并且为此而去。 '代码' –
+1
真的很有帮助再次感谢您的答案 –
+0
@ChinthakaDevinda高兴地帮助你 –
相关问题
- 1. 保存用户配置选项
- 2. 禁用用户配置文件编辑?
- 3. Asp.Net Mvc编辑用户配置文件与用户角色
- 4. 编辑配置文件用户Django
- 5. 在drupal编辑用户配置文件
- 6. 阅读,编辑和保存配置文件(php)
- 7. Drupal,用户配置文件中的编辑帐户选项卡在哪里
- 8. 如何保护编辑用户配置文件路线?
- 9. 保存asp.net用户可编辑的配置设置
- 10. Django:保存用户配置文件
- 11. 用户配置文件不保存配置文件和抛出异常
- 12. 无法保存django编辑配置文件
- 13. 配置文件选项重定向到帐户设置,而不是保存
- 14. Zend_Auth和配置文件编辑
- 15. 编辑配置文件
- 16. Django编辑配置文件
- 17. Android:编辑布局文件问题
- 18. wiki自定义页面布局freez保存,结帐和页面布局选项?
- 19. 使用用户配置文件的WPF动态布局
- 20. 如何全局配置货运配置文件选项?
- 21. 使用XMLHttpRequest和javascript打开,编辑和保存文本文件
- 22. UI页面用于编辑和维护用户的配置文件设置
- 23. JQGrid编辑选择和保存
- 24. django用户配置文件使用login_required编辑
- 25. 使用表单身份验证编辑用户配置文件
- 26. 使用FOSUser Bundle编辑另一个用户配置文件
- 27. 可以编辑内置布局文件吗?
- 28. 哪里可以保存Android应用程序的可编辑配置文件?
- 29. Django的编辑用户配置文件onetoone场
- 30. 配置文件编辑时的Sonata用户捆绑错误
请贴你的努力代码在这里。 –
'我正在创建布局“,然后向我们展示您已创建的内容。 –
请告诉我们你到目前为止所做的尝试,因为它看起来像你要求我们为你写代码 – WhatsThePoint