|
@@ -104,44 +104,46 @@
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@color/white"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
android:padding="@dimen/default_content_margin">
|
|
|
|
|
|
-
|
|
|
<TextView
|
|
|
android:id="@+id/tv_org_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_toLeftOf = "@+id/tv_course_marketprice_main"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/company_16sp" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/tv_course_marketprice_main"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/company_15dp">
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_view_count"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/company_12sp"
|
|
|
android:textColor="@color/color_666"
|
|
|
- android:textSize="@dimen/company_12sp" />
|
|
|
+ android:text="市场价¥"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_course_marketprice"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
android:textSize="@dimen/company_12sp"
|
|
|
android:textColor="@color/color_666"/>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -152,6 +154,7 @@
|
|
|
android:padding="@dimen/default_content_margin">
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_org_desc_lab"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="课程介绍"
|
|
@@ -168,7 +171,7 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/company_10dp"
|
|
@@ -177,30 +180,28 @@
|
|
|
android:padding="@dimen/default_content_margin">
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_enrollmentArea_lab"
|
|
|
+ android:id="@+id/tv_requirement_lab"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
- android:text="招生区域:"
|
|
|
+ android:text="报名要求:"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/company_15sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_enrollmentArea"
|
|
|
+ android:id="@+id/tv_requirement"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
- android:layout_marginTop="@dimen/company_2dp"
|
|
|
- android:layout_alignTop="@+id/tv_enrollmentArea_lab"
|
|
|
- android:layout_toRightOf="@+id/tv_enrollmentArea_lab"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
android:textColor="@color/color_666"
|
|
|
android:textSize="@dimen/company_12sp"/>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/tv_registrationt_main"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/company_10dp"
|
|
@@ -209,16 +210,17 @@
|
|
|
android:padding="@dimen/default_content_margin">
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/tv_registration_lab"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
- android:text="报名要求:"
|
|
|
+ android:text="报名时间:"
|
|
|
android:textColor="@color/color_333"
|
|
|
android:textSize="@dimen/company_15sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_requirement"
|
|
|
+ android:id="@+id/tv_registrationt"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="center_vertical"
|
|
@@ -228,6 +230,38 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/company_10dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="@dimen/default_content_margin">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_enrollmentArea_lab"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:text="招生区域:"
|
|
|
+ android:textColor="@color/color_333"
|
|
|
+ android:textSize="@dimen/company_15sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_enrollmentArea"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="@dimen/company_2dp"
|
|
|
+ android:layout_alignTop="@+id/tv_enrollmentArea_lab"
|
|
|
+ android:layout_toRightOf="@+id/tv_enrollmentArea_lab"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:textColor="@color/color_666"
|
|
|
+ android:textSize="@dimen/company_12sp"/>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
</com.common.library.pulltorefresh.PullToRefreshScrollView>
|
|
@@ -235,7 +269,7 @@
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_price_bottom"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/company_45dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
android:orientation="horizontal"
|
|
|
android:background="@color/white">
|
|
@@ -247,6 +281,8 @@
|
|
|
android:layout_weight="1"
|
|
|
android:layout_gravity="center"
|
|
|
android:gravity="center"
|
|
|
+ android:paddingTop="@dimen/company_10dp"
|
|
|
+ android:paddingBottom="@dimen/company_10dp"
|
|
|
android:background="@color/white"
|
|
|
android:textSize="@dimen/company_16sp"
|
|
|
android:textColor="@color/color_price"/>
|
|
@@ -258,6 +294,8 @@
|
|
|
android:layout_weight="1"
|
|
|
android:layout_gravity="center"
|
|
|
android:gravity="center"
|
|
|
+ android:paddingTop="@dimen/company_10dp"
|
|
|
+ android:paddingBottom="@dimen/company_10dp"
|
|
|
android:background="@color/main_color"
|
|
|
android:textSize="@dimen/company_16sp"
|
|
|
android:textColor="@color/white"
|