Jetzt kostenlos registrieren. Mitglieder surfen ohne Werbung auf Android-Hilfe.de!
Zurück   Android-Hilfe.de > Android Developer > Android App Entwicklung

Views u. Viewgroups hinter SlidingDrawer komplett überlagern

Das Thema "Views u. Viewgroups hinter SlidingDrawer komplett überlagern" befindet sich unter Android App Entwicklung auf Android-Hilfe.de.


Antwort

 

Themen-Optionen Ansicht
Alt 22.11.2011, 13:26   #1 (permalink)
Neuer Benutzer

Registriert seit: 04.08.2011
Beiträge: 16
Abgegebene Danke: 2
Erhielt 0 Danke für 0 Beiträge
Standard Views u. Viewgroups hinter SlidingDrawer komplett überlagern

Hallo,

ich versuche mich gerade am SlidingDrawer um einen Bereich zu haben den man hochschieben kann. Problem ist jetzt das sobald ich den SlidingDrawer hochschiebe alle Views u. ViewGroups die hinter ihm liegen noch anwählbar sind und durchscheinen. Das ist nicht schön. Hat jemand eine Idee außer die entsprechenden Viewgroups einfach zu hiden??

Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/RelativeLayout1"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <SlidingDrawer
        android:id="@+id/slidingDrawer1"
        android:layout_width="match_parent"
        android:layout_height="200dp"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:content="@+id/content"
        android:handle="@+id/handle" >

        <Button
            android:id="@+id/handle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Handle" />

        <LinearLayout
            android:id="@+id/content"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
             
            >
            <Button
            android:id="@+id/handle"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:text="bluuuuuuuuuub" />
        </LinearLayout>
    </SlidingDrawer>


    <LinearLayout
        android:id="@+id/linearLayout1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <Button
            android:id="@+id/button4"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />

        <Button
            android:id="@+id/button5"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />

        <Button
            android:id="@+id/button6"
            android:layout_width="wrap_content"
            android:layout_height="400dp"
            android:text="Button" />

        <Button
            android:id="@+id/button1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />

        <Button
            android:id="@+id/button2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />

        <Button
            android:id="@+id/button3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />

        <Button
            android:id="@+id/button7"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />

        <Button
            android:id="@+id/button8"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Button" />
    </LinearLayout>

</RelativeLayout>
Terth ist offline   Mit Zitat antworten
Antwort

Stichworte
-

Themen-Optionen
Ansicht


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
OnTouchListener für 2 Views TangaPanda Android App Entwicklung 1 05.04.2011 10:49
GUI Elemente überlagern / überlappen baileys Android App Entwicklung 3 15.10.2010 12:54
SlidingDrawer ohne XML Cableman Android App Entwicklung 3 11.06.2010 16:44
SurfaceViews überlagern wurzel Android App Entwicklung 0 15.12.2009 08:57
Bilder bzw. Views überlagern c0s4n Android App Entwicklung 2 06.11.2009 16:15




Du liest gerade: "Views u. Viewgroups hinter SlidingDrawer komplett überlagern" unter "Android App Entwicklung" auf Android-Hilfe.de.


Powered by vBulletin®
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
© Android-Hilfe.de 2012 - All rights reserved.