0

私はslidingtablayoutとslidetabstripを使用しています.5つのタブがありますが、レストランのような大きなテキストが1つあり、完全には表示されません..そして、他のタブテキストをラージテキストに変更すると、正常に動作し、スクロールさえします..しかし、最初のケースではそうではありません. ここに画像の説明を入力私はこれが欲しい..しかし、タブ上のテキストの上にここに画像の説明を入力

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="com.example.rajdeepsingh.newlistview_module.Search">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:background="#ffffff"
        >

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:weightSum="2"
            >

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:clickable="true"
            android:id="@+id/navbut"
            android:background="@drawable/arrow"
            android:layout_margin="5dp"

            />

        <com.example.rajdeepsingh.newlistview_module.SlidingTabLayout1
            android:id="@+id/sliding_tabs"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            />
        </LinearLayout>


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"

            >

        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/roundedcorneredittext"
            android:layout_margin="16dp"
            android:drawableLeft="@drawable/search01"
            android:drawableStart="@drawable/search01"
            android:id="@+id/searchedittext"
            android:hint="Brands, Restaurant, Shops "
            android:textColorHint="#bdbdbd"
            android:typeface="serif"

            />
        </LinearLayout>

        <android.support.v4.view.ViewPager
            android:id="@+id/viewpager"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:background="@android:color/white" />


    </LinearLayout>






</LinearLayout>
4

4 に答える 4