Commit 4188f77d authored by wanglei's avatar wanglei

...

parent 4b0477b1
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<com.angcyo.tablayout.DslTabLayout <com.angcyo.tablayout.DslTabLayout
android:id="@+id/tabLayout" android:id="@+id/tabLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="40dp" android:layout_height="30dp"
android:layout_marginHorizontal="16dp" android:layout_marginHorizontal="16dp"
android:layout_marginVertical="5dp" android:layout_marginVertical="5dp"
app:tab_deselect_color="@color/black" app:tab_deselect_color="@color/black"
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
app:tab_draw_divider="true" app:tab_draw_divider="true"
app:tab_enable_ico_color="false" app:tab_enable_ico_color="false"
app:tab_indicator_style="STYLE_NONE" app:tab_indicator_style="STYLE_NONE"
app:tab_item_default_height="30dp"
app:tab_select_color="@color/white" /> app:tab_select_color="@color/white" />
...@@ -65,11 +66,11 @@ ...@@ -65,11 +66,11 @@
tools:listitem="@layout/item_news" /> tools:listitem="@layout/item_news" />
<ImageView <ImageView
android:layout_marginHorizontal="16dp"
android:background="@mipmap/zhanweitu_news"
android:id="@+id/iv_place_holder" android:id="@+id/iv_place_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginHorizontal="16dp"
android:background="@mipmap/zhanweitu_news"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
</FrameLayout> </FrameLayout>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tv" android:id="@+id/tv"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="34dp" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@drawable/bg_tab_selector_webstore" android:background="@drawable/bg_tab_selector_webstore"
android:gravity="center" android:gravity="center"
android:paddingHorizontal="10dp" android:paddingHorizontal="10dp"
android:paddingVertical="2dp" android:paddingVertical="4dp"
android:textSize="17sp" android:textSize="17sp"
tools:text="Latest" /> tools:text="Latest" />
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tv" android:id="@+id/tv"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="34dp" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:background="@drawable/bg_tab_selector_webstore" android:background="@drawable/bg_tab_selector_webstore"
android:gravity="center" android:gravity="center"
android:paddingHorizontal="10dp" android:paddingHorizontal="10dp"
android:paddingVertical="2dp" android:paddingVertical="4dp"
android:textSize="17sp" android:textSize="17sp"
tools:text="Socialize" /> tools:text="Socialize" />
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