Commit fd1fca83 authored by zhang_z's avatar zhang_z

提交代码;

parent 3585e8f1
...@@ -12,7 +12,7 @@ android { ...@@ -12,7 +12,7 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true multiDexEnabled true
ndk{ ndk{
abiFilters("armeabi", "armeabi-v7a") abiFilters("armeabi", "armeabi-v7a","x86")
} }
} }
//解决问题的代码 //解决问题的代码
......
...@@ -4,64 +4,76 @@ ...@@ -4,64 +4,76 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
android:layout_marginEnd="@dimen/all_margin"
android:layout_marginStart="@dimen/all_margin"
android:background="@mipmap/bg_marketing"
android:foreground="?android:attr/selectableItemBackground"
android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="150dp"
android:layout_weight="1" android:layout_marginEnd="@dimen/all_margin"
android:orientation="horizontal"> android:layout_marginStart="@dimen/all_margin"
android:background="@mipmap/bg_marketing"
android:foreground="?android:attr/selectableItemBackground"
android:orientation="vertical">
<TextView <LinearLayout
android:id="@+id/tv_name" android:layout_width="match_parent"
android:layout_width="0dp" android:layout_height="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/all_margin"
android:layout_marginTop="@dimen/all_margin_big"
android:layout_weight="1" android:layout_weight="1"
android:textColor="@color/black_baozheng" android:orientation="horizontal">
android:textSize="@dimen/all_sub_title_size" />
<ImageView <TextView
android:id="@+id/iv_type" android:id="@+id/tv_name"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/all_margin" android:layout_marginStart="@dimen/all_margin"
android:layout_marginTop="@dimen/all_margin_big" android:layout_marginTop="@dimen/all_margin"
android:contentDescription="@null" android:layout_weight="1"
android:src="@mipmap/icon_buy01" /> android:textColor="@color/black_baozheng"
android:textSize="@dimen/all_sub_title_size" />
</LinearLayout> <ImageView
android:id="@+id/iv_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/all_margin"
android:layout_marginTop="@dimen/all_margin"
android:contentDescription="@null"
android:src="@mipmap/icon_buy01" />
<LinearLayout </LinearLayout>
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView <LinearLayout
android:id="@+id/tv_info"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_marginStart="@dimen/all_margin" android:layout_weight="1"
android:textColor="@color/black_baozheng" android:gravity="center_vertical"
android:textSize="@dimen/all_text_size" /> android:orientation="vertical">
<TextView <TextView
android:id="@+id/tv_date" android:id="@+id/tv_info"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/all_margin" android:layout_marginStart="@dimen/all_margin"
android:layout_marginTop="@dimen/all_spacing" android:textColor="@color/black_baozheng"
android:textColor="@color/black_baozheng" android:textSize="@dimen/all_text_size" />
android:textSize="@dimen/all_caption_size" />
<TextView
android:id="@+id/tv_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/all_margin"
android:layout_marginTop="@dimen/all_spacing"
android:textColor="@color/black_baozheng"
android:textSize="@dimen/all_caption_size" />
</LinearLayout>
</LinearLayout> </LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="10dp"
/>
</LinearLayout> </LinearLayout>
</layout> </layout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment