S
samarek
Fortgeschrittenes Mitglied
- 2
Hallo,
ich hab grad ein kleines Problem.
... und zwar habe ich hier ein kleines Layout und ab einer bestimmten Position im XML (siehe Kommentar) werden die Elemente nicht mehr angezeigt und ich blick gerade nicht mehr durch. Erbarmt sich mal grad jemand und sagt mir was da falsch ist?
ich hab grad ein kleines Problem.
... und zwar habe ich hier ein kleines Layout und ab einer bestimmten Position im XML (siehe Kommentar) werden die Elemente nicht mehr angezeigt und ich blick gerade nicht mehr durch. Erbarmt sich mal grad jemand und sagt mir was da falsch ist?
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/rand" >
<ImageView
android:id="@+id/igvBlinker"
android:layout_width="@dimen/blinker"
android:layout_height="@dimen/blinker"
android:src="@drawable/blinker_rot"
android:contentDescription="@string/blinkerDescription"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
/>
<TextView
android:id="@+id/txvGpsPosition"
android:text="@string/gpsAus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/igvBlinker"
android:paddingTop="@dimen/randKlein"
android:paddingLeft="@dimen/rand"
style="@style/text_grau"
/>
<LinearLayout
android:id="@+id/llaPosition"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/randGross"
android:orientation="vertical"
android:layout_below="@id/igvBlinker">
<TextView
android:text="@string/positionsdaten"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/text_schwarz"
/>
<!-- Ab hier wird nichts mehr angezeigt -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:text="@string/posLatitude"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
style="@style/text_schwarz"
/>
<TextView
android:id="@+id/txvPosLatitude"
android:text="test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/text_schwarz"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:text="@string/posLongitude"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
style="@style/text_schwarz"
/>
<TextView
android:id="@+id/txvPosLongitude"
android:text="test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
style="@style/text_schwarz"
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>