Skip to content

Commit

Permalink
个人资料修改
Browse files Browse the repository at this point in the history
  • Loading branch information
zymiroe committed Nov 27, 2013
1 parent ae8787d commit a0ae5e2
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 112 deletions.
95 changes: 38 additions & 57 deletions baby/res/layout/baby_info_edit_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
android:layout_marginLeft="60dp"
android:layout_weight="1"
android:text="@string/doctor_my_change_inform_picture"
android:textColor="@color/gold"
android:textSize="@dimen/LargeTextSize" />

<ImageView
Expand All @@ -66,17 +67,14 @@
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="10dp"
android:paddingLeft="5dp"
android:paddingRight="10dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
>
android:paddingTop="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
style="@style/info_label_style"
android:gravity="right"
android:text="@string/baby_parents_phone" />

<EditText
Expand All @@ -87,8 +85,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="13093448608"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -110,9 +108,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="@string/baby_my_name" />

Expand All @@ -124,8 +120,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="周玉莹"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -147,9 +143,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="@string/baby_my_gender" />

Expand All @@ -161,8 +155,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text=""
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -184,9 +178,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="@string/baby_my_preproduction" />

Expand All @@ -198,8 +190,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="2013/05/05"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -221,9 +213,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="@string/baby_my_weight" />

Expand All @@ -235,8 +225,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="6kg"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -258,9 +248,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="@string/baby_my_height" />

Expand All @@ -272,8 +260,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="32.3cm"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -295,9 +283,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="出生头围:" />

Expand All @@ -309,8 +295,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="12.4cm"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -332,9 +318,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="分娩方式:" />

Expand All @@ -346,8 +330,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="顺产"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -369,9 +353,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="合并症:" />

Expand All @@ -383,8 +365,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="小儿黄值"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -406,9 +388,7 @@
android:padding="10dp" >

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/info_label_style"
android:gravity="right"
android:text="Apgar评分:" />

Expand All @@ -420,8 +400,8 @@
android:layout_marginRight="6dp"
android:layout_weight="2"
android:background="@null"
android:gravity="left"
android:text="68"
android:gravity="center"
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand All @@ -434,15 +414,15 @@
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@drawable/home_line_bit"
android:visibility="gone" />
android:visibility="gone" />

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="10dp"
android:visibility="gone">
android:padding="10dp"
android:visibility="gone" >

<TextView
android:layout_width="0dp"
Expand All @@ -460,6 +440,7 @@
android:background="@null"
android:gravity="left"
android:text=""
android:textColor="@color/gold"
android:textSize="@dimen/BasicTextSize" />

<ImageView
Expand Down
19 changes: 9 additions & 10 deletions baby/res/layout/baby_my_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
android:text="@string/baby_my_id"/>

<TextView
android:text="13093448608"
android:id="@+id/tvId" style="@style/info_text_style"/>
</LinearLayout>

Expand All @@ -85,7 +84,7 @@
<TextView
style="@style/info_label_style" android:text="@string/baby_my_name" />

<TextView android:id="@+id/tvRealName" style="@style/info_text_style" android:text="周玉莹"/>
<TextView android:id="@+id/tvRealName" style="@style/info_text_style" />
</LinearLayout>

<View
Expand All @@ -102,7 +101,7 @@
android:paddingTop="12dp" >

<TextView style="@style/info_label_style" android:text="@string/baby_my_gender" />
<TextView android:id="@+id/tvGendar" style="@style/info_text_style" android:text=""/>
<TextView android:id="@+id/tvGendar" style="@style/info_text_style" />
</LinearLayout>

<View
Expand All @@ -119,7 +118,7 @@
android:paddingTop="12dp" >

<TextView style="@style/info_label_style" android:text="@string/baby_my_preproduction" />
<TextView android:id="@+id/tvPreproductions" style="@style/info_text_style" android:text="2013/05/05"/>
<TextView android:id="@+id/tvPreproductions" style="@style/info_text_style" />
</LinearLayout>

<View
Expand All @@ -141,7 +140,7 @@

<TextView
android:id="@+id/tvHeight"
style="@style/info_text_style" android:text="6kg"/>
style="@style/info_text_style"/>
</LinearLayout>

<View
Expand All @@ -163,7 +162,7 @@

<TextView
android:id="@+id/tvWeight"
style="@style/info_text_style" android:text="32.3cm"/>
style="@style/info_text_style" />
</LinearLayout>
<View
android:layout_width="match_parent"
Expand All @@ -184,7 +183,7 @@

<TextView
android:id="@+id/tvHeadCircumference"
style="@style/info_text_style" android:text="12.4cm"/>
style="@style/info_text_style" />
</LinearLayout>

<View
Expand All @@ -206,7 +205,7 @@

<TextView
android:id="@+id/tvDeliveryWay"
style="@style/info_text_style" android:text="顺产"/>
style="@style/info_text_style" />
</LinearLayout>
<View
android:layout_width="match_parent"
Expand All @@ -227,7 +226,7 @@

<TextView
android:id="@+id/tvComplication"
style="@style/info_text_style" android:text="小儿黄值"/>
style="@style/info_text_style" />
</LinearLayout>
<View
android:layout_width="match_parent"
Expand All @@ -248,7 +247,7 @@

<TextView
android:id="@+id/tvApgar"
style="@style/info_text_style" android:text="68"/>
style="@style/info_text_style" />
</LinearLayout>
</LinearLayout>

Expand Down
Loading

0 comments on commit a0ae5e2

Please sign in to comment.