标签:
<?xml version="1.0" encoding="utf-8"?> <com.sunskyjun.fwproject.widgts.BounceScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/activity_user_center_bounceScrollView" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/divider2" android:fillViewport="true" android:orientation="vertical" android:scrollbars="none" > <LinearLayout android:id="@+id/activity_user_center_lytUserCenter" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" > <LinearLayout android:id="@+id/activity_user_center_lytUsername" android:layout_width="match_parent" android:layout_height="75dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="15dp" android:background="@drawable/bg_item_border" android:gravity="center" android:orientation="horizontal" android:padding="10dp" > <ImageView android:id="@+id/activity_user_center_imgAvatar" android:layout_width="55dp" android:layout_height="55dp" android:src="@drawable/user_center_avatar" /> <TextView android:id="@+id/activity_user_center_txtUsername" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="15sp" /> </LinearLayout> <LinearLayout android:id="@+id/activity_user_center_lytFavorite" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="15dp" android:background="@drawable/bg_item_border" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <ImageView android:layout_width="22dp" android:layout_height="22dp" android:scaleType="centerCrop" android:src="@drawable/user_center_favorite" /> <TextView android:layout_width="0dp" android:layout_weight="1" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:text="@string/user_center_favorite" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="13sp" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/fragment_product_detail_entry_combo_collapse" /> </LinearLayout> <LinearLayout android:id="@+id/activity_user_center_lytSetting" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="10dp" android:background="@drawable/bg_item_border" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <ImageView android:layout_width="22dp" android:layout_height="22dp" android:scaleType="centerCrop" android:src="@drawable/user_center_setting" /> <TextView android:layout_width="0dp" android:layout_weight="1" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:text="@string/user_center_setting" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="13sp" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/fragment_product_detail_entry_combo_collapse" /> </LinearLayout> <LinearLayout android:id="@+id/activity_user_center_lytFeedback" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="10dp" android:background="@drawable/bg_item_border" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <ImageView android:layout_width="22dp" android:layout_height="22dp" android:scaleType="centerCrop" android:src="@drawable/user_center_feedback" /> <TextView android:layout_width="0dp" android:layout_weight="1" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:text="@string/user_center_feedback" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="13sp" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/fragment_product_detail_entry_combo_collapse" /> </LinearLayout> <LinearLayout android:id="@+id/activity_user_center_lytEvaluate" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="-2dp" android:background="@drawable/bg_item_border" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <ImageView android:layout_width="22dp" android:layout_height="22dp" android:scaleType="centerCrop" android:src="@drawable/user_center_evaluate" /> <TextView android:layout_width="0dp" android:layout_weight="1" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:text="@string/user_center_evaluate" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="13sp" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/fragment_product_detail_entry_combo_collapse" /> </LinearLayout> <LinearLayout android:id="@+id/activity_user_center_lytShare" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="-2dp" android:background="@drawable/bg_item_border" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <ImageView android:layout_width="22dp" android:layout_height="22dp" android:scaleType="centerCrop" android:src="@drawable/user_center_share" /> <TextView android:layout_width="0dp" android:layout_weight="1" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:text="@string/user_center_share" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="13sp" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/fragment_product_detail_entry_combo_collapse" /> </LinearLayout> <LinearLayout android:id="@+id/activity_user_center_lytAbout" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginLeft="-1dp" android:layout_marginRight="-1dp" android:layout_marginTop="-2dp" android:background="@drawable/bg_item_border" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" android:gravity="center"> <ImageView android:layout_width="22dp" android:layout_height="22dp" android:scaleType="centerCrop" android:src="@drawable/user_center_about" /> <TextView android:layout_width="0dp" android:layout_weight="1" android:layout_height="match_parent" android:gravity="center_vertical|left" android:paddingLeft="10dp" android:text="@string/user_center_about" android:textColor="@color/bg_activity_category_search_cancel" android:textSize="13sp" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:src="@drawable/fragment_product_detail_entry_combo_collapse" /> </LinearLayout> </LinearLayout> </com.sunskyjun.fwproject.widgts.BounceScrollView>
标签:
原文地址:http://www.cnblogs.com/exmyth/p/4578882.html