Großes Problem mir Layout

  • Antworten:0
Ralf Busch
  • Forum-Beiträge: 23

29.12.2012, 19:40:10 via Website

Hallo habe lange an dem Layout gebastelt, damit die Button da sind wo ich sie brauche, nur leider funktioniert das ScrollView nicht mehr richtig, man kann nicht mehr weit genug schrollen, so das dann Text fehlt, den ich durch den Button "Antwort anziegen" einblenden lasse. Komme da nicht weiter vieleicht habt ihr einen Tipp für mich


1<?xml version="1.0" encoding="utf-8"?>
2<AbsoluteLayout
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:background="#ffffff">
6<TextView
7 android:id="@+id/song_title"
8 android:layout_width="fill_parent"
9 android:layout_height="wrap_content"
10 android:textColor="#444444"
11 android:layout_x="3dp"
12 android:layout_y="6dp" />
13<Button
14 android:id="@+id/btnZeigen"
15 android:layout_width="wrap_content"
16 android:layout_height="wrap_content"
17 android:text="Antwort anzeigen"
18 android:layout_x="14dp"
19 android:layout_y="37dp" />
20<Button
21 android:id="@+id/btnheor"
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:text="Antwort anhören"
25 android:layout_x="159dp"
26 android:layout_y="37dp" />
27
28<ScrollView
29 android:id="@+id/scrollView1"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:layout_y="86dp" >
33
34<LinearLayout
35 android:id="@+id/add_antwort"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:background="#ffffff"
39 android:orientation="vertical"
40 android:visibility="gone" >
41<TextView
42 android:id="@+id/album_name"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:paddingBottom="10dip"
46 android:paddingLeft="10dip"
47 android:textColor="#000000"
48 android:textSize="15sp"/>
49<TextView
50 android:id="@+id/duration"
51 android:layout_width="fill_parent"
52 android:layout_height="wrap_content"
53 android:paddingBottom="10dip"
54 android:paddingLeft="10dip"
55 android:textColor="#000000"
56 android:textSize="15sp"
57 android:visibility="invisible" />
58</LinearLayout>
59</ScrollView>
60</AbsoluteLayout>

Ich bräuchte hierbei etwas hilfe, finde das Problem nicht

Beste Grüße Ralf

Antworten