|
|
@@ -9,8 +9,10 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:id="@+id/abl_main"
|
|
|
- android:background="@color/white">
|
|
|
+ android:background="@color/colorPrimary"
|
|
|
+ app:elevation="0dp">
|
|
|
<!--android:theme="@style/AppTheme.AppBarOverlay"-->
|
|
|
+ <!--app:elevation="0dp"去除底边阴影,注意不能用android:elevation-->
|
|
|
|
|
|
<!--android:minHeight="?actionBarSize"水波纹居中和gravity属性有关-->
|
|
|
<LinearLayout
|
|
|
@@ -35,7 +37,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="拾贝 · 精选"
|
|
|
android:textStyle="bold"
|
|
|
- android:textColor="@color/black_theme"
|
|
|
+ android:textColor="@color/white"
|
|
|
android:textSize="@dimen/size_hello" />
|
|
|
|
|
|
<Space
|
|
|
@@ -58,7 +60,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_centerInParent="true"
|
|
|
android:src="@drawable/ic_search"
|
|
|
- android:tint="@color/black_theme" />
|
|
|
+ android:tint="@color/white" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<!--由于作为ViewOverlay的View不再触发点击事件,就用一个影子View来代替-->
|
|
|
@@ -78,7 +80,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:src="@drawable/ic_search"
|
|
|
- android:tint="@color/black_theme"/>
|
|
|
+ android:tint="@color/white"/>
|
|
|
</FrameLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
@@ -99,7 +101,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:src="@drawable/ic_more_vert"
|
|
|
- android:tint="@color/black_theme"/>
|
|
|
+ android:tint="@color/white"/>
|
|
|
</FrameLayout>
|
|
|
</RelativeLayout>
|
|
|
</LinearLayout>
|
|
|
@@ -108,8 +110,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:orientation="horizontal"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:background="@color/white">
|
|
|
+ android:gravity="center_vertical">
|
|
|
|
|
|
<com.flyco.tablayout.SlidingTabLayout
|
|
|
android:id="@+id/stl_home"
|
|
|
@@ -119,13 +120,13 @@
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
app:tl_iconVisible="false"
|
|
|
app:tl_indicator_bounce_enable="false"
|
|
|
- app:tl_indicator_color="@color/black_theme"
|
|
|
+ app:tl_indicator_color="@color/white"
|
|
|
app:tl_indicator_height="2.5dp"
|
|
|
app:tl_indicator_width="10dp"
|
|
|
app:tl_tab_width="44dp"
|
|
|
app:tl_textBold="NONE"
|
|
|
- app:tl_textSelectColor="@color/black"
|
|
|
- app:tl_textUnselectColor="@color/colorTextSecondary"
|
|
|
+ app:tl_textSelectColor="@color/white"
|
|
|
+ app:tl_textUnselectColor="@color/white_status_bar"
|
|
|
app:tl_textsize="@dimen/size_title_s"
|
|
|
app:tl_indicator_margin_bottom="@dimen/margin_s"
|
|
|
android:layout_marginStart="@dimen/margin_s"
|
|
|
@@ -149,7 +150,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:src="@drawable/ic_search"
|
|
|
- android:tint="@color/black_theme"/>
|
|
|
+ android:tint="@color/white"/>
|
|
|
</FrameLayout>
|
|
|
<!--无边界波纹-->
|
|
|
|