PDA

View Full Version : کیپ نشدن کامل دکمه در پایین صفحه



arman_Delta2002
دوشنبه 06 فروردین 1397, 22:42 عصر
سلام

میخوام فاصله بین دکمه و صفحه از بین بره.

147843

کد


<?xmlversion="1.0"encoding="utf-8"?>

<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
<android.support.v4.widget.DrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- The Main Content View -->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/uxMain_frameLayout_Main">
<!--اصلاید مانند-->
<android.support.v4.view.ViewPager
android:id="@+id/uxMain_viewpager_Main"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!--تولبار پایین صفحه-->
<LinearLayout
android:id="@+id/footer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="bottom"
android:layout_gravity="bottom"
android:orientation="horizontal">
<Button
android:layout_width="100dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="Bottom"
android:id="@+id/button1" />
</LinearLayout>
</FrameLayout>
</RelativeLayout>
<!-- The Navigation Drawer -->
<include
layout="@layout/laMain_LeftSideBar" />
<include
layout="@layout/laMain_RightSideBar" />

</android.support.v4.widget.DrawerLayout>
</LinearLayout>