हाय मुझे अपने टैब लेआउट (जैसे स्काइप में) के नीचे छाया जोड़ने की आवश्यकता है।टैब लेआउट में नीचे छाया कैसे जोड़ें
मेरे गतिविधि xml:
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.Toolbar xmlns:local="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
android:background="@color/splashGreenTop"
local:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
local:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
<android.support.design.widget.TabLayout
android:id="@+id/tab_layout"
android:layout_below="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:elevation="0dp"
android:minHeight="?attr/actionBarSize" />
<FrameLayout
android:layout_width="match_parent"
android:layout_below="@+id/tab_layout"
android:id="@+id/tabContainer"
android:layout_height="match_parent" />
</RelativeLayout>
जब मैं Tablayout को android:elevation="10dp"
जोड़ने के लिए, छाया जोड़ा गया है नीचे और शीर्ष .. मैं सिर्फ नीचे की जरूरत है। छवि देखें ...
मैं यह नहीं कैसे कर सकते हैं? अग्रिम धन्यवाद।
http://stackoverflow.com/ प्रश्न/26572048/ऊंचाई-ऑन-एंड्रॉइड-लॉलीपॉप-काम नहीं कर रहे –