|
@@ -0,0 +1,61 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="@dimen/default_content_margin">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_toLeftOf="@+id/ll_price_main"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:textColor="@color/color_666"
|
|
|
+ android:textSize="@dimen/company_14sp"
|
|
|
+ android:text="成人英语12课时特惠班-送2课时"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_price_main"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_alignParentRight="true">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_price"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:textSize="@dimen/company_20sp"
|
|
|
+ android:textColor="#ff695c"
|
|
|
+ android:text="$20"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_course_marketprice"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginTop="@dimen/company_10dp"
|
|
|
+ android:textColor="@color/color_999"
|
|
|
+ android:textSize="11sp"
|
|
|
+ android:text="市场价:¥34"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/company_1dp"
|
|
|
+ android:background="@color/default_bg"/>
|
|
|
+
|
|
|
+</LinearLayout>
|