Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusting map fragment to list #17

Open
KDevvv opened this issue Sep 30, 2016 · 1 comment
Open

Adjusting map fragment to list #17

KDevvv opened this issue Sep 30, 2016 · 1 comment

Comments

@KDevvv
Copy link

KDevvv commented Sep 30, 2016

I have a problem to adjust my fragment part to the List. I working with that for a couple of dayse and still have no idea how to fix it.

14523070_1085777884837093_1032066573437343094_n

My XML part:

    ```

<com.example.MapHidder.SlidingUpPanelLayout
android:id="@+id/slidingLayout"
app:shadowHeight="0dp"
app:paralaxOffset="@dimen/paralax_offset"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="bottom">

            <fragment xmlns:map="http://schemas.android.com/apk/res-auto"
                android:id="@+id/map"
                tools:context="com.example.MapsActivity"
                android:name="com.google.android.gms.maps.SupportMapFragment"
                android:layout_width="match_parent"
                android:layout_height="match_parent" />
        </FrameLayout>


        <RelativeLayout
            android:id="@+id/slidingContainer"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <View
                android:id="@+id/transparentView"
                android:visibility="gone"
                android:layout_width="fill_parent"
                android:layout_height="@dimen/map_height"
                android:layout_alignParentTop="true"  />

            <View
                android:id="@+id/whiteSpaceView"
                android:visibility="gone"
                android:background="@android:color/darker_gray"
                android:layout_marginTop="@dimen/map_height"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>

            <com.example.MapHidder.LockableListView
                android:id="@+id/museumList"
                android:cacheColorHint="@android:color/white"
                android:drawSelectorOnTop="true"
                android:dividerHeight="@dimen/divider_height"
                android:divider="@android:color/darker_gray"
                android:background="@android:color/transparent"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:smoothScrollbar="false" />
        </RelativeLayout>

    </com.example.MapHidder.SlidingUpPanelLayout>
@mastir
Copy link

mastir commented May 19, 2017

i fixed this by adding white background to list items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants