recommend
This commit is contained in:
@@ -18,16 +18,13 @@
|
||||
|
||||
<android.support.design.widget.CoordinatorLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<FrameLayout
|
||||
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:textSize="20sp"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold"
|
||||
tools:text="红烧肉" />
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="170dp"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="@dimen/recommend_item_default_hight"
|
||||
android:layout_margin="@dimen/recommend_margin"
|
||||
android:layout_weight="1"
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
<string-array name="sections">
|
||||
<item>一周定制</item>
|
||||
<item>今日信息</item>
|
||||
<item>page3</item>
|
||||
<item>推荐菜谱</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
@@ -20,9 +20,9 @@
|
||||
|
||||
<dimen name="icon_size">20dp</dimen>
|
||||
|
||||
<dimen name="recommend_item_default_hight">130dp</dimen>
|
||||
<dimen name="recommend_item_big_height">250dp</dimen>
|
||||
<dimen name="recommend_margin">10dp</dimen>
|
||||
<dimen name="recommend_item_default_hight">100dp</dimen>
|
||||
<dimen name="recommend_item_big_height">180dp</dimen>
|
||||
<dimen name="recommend_margin">5dp</dimen>
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user