mirror of
https://github.com/accelforce/Yuito
synced 2024-12-22 13:24:46 +01:00
Adjust light theme tab bar area
Adds a material shadow below tab layouts. This is not very noticeable in the default theme, but in the light theme in visually demarcates where the tab layout ends.
This commit is contained in:
parent
632cb0d6e3
commit
a8c44da532
@ -166,6 +166,15 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/tab_bottom_shadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2dp"
|
||||
app:layout_anchor="@id/tab_layout"
|
||||
app:layout_anchorGravity="bottom"
|
||||
android:background="@drawable/material_drawer_shadow_bottom"
|
||||
android:visibility="visible" />
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/floating_btn"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -55,6 +55,7 @@
|
||||
</android.support.design.widget.TabLayout>
|
||||
|
||||
</android.support.v4.view.ViewPager>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<com.arlib.floatingsearchview.FloatingSearchView
|
||||
@ -70,11 +71,15 @@
|
||||
app:floatingSearch_leftActionMode="showHamburger"
|
||||
app:floatingSearch_close_search_on_keyboard_dismiss="true"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/overlay_fragment_container"
|
||||
<View
|
||||
android:id="@+id/tab_bottom_shadow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
</FrameLayout>
|
||||
android:layout_height="2dp"
|
||||
app:layout_anchor="@id/tab_layout"
|
||||
app:layout_anchorGravity="bottom"
|
||||
android:background="@drawable/material_drawer_shadow_bottom"
|
||||
android:visibility="visible" />
|
||||
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/floating_btn"
|
||||
@ -85,4 +90,9 @@
|
||||
android:layout_margin="16dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_create_24dp"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/overlay_fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"></FrameLayout>
|
||||
</android.support.design.widget.CoordinatorLayout>
|
Loading…
Reference in New Issue
Block a user