D@ve
Erfahrenes Mitglied
- 21
Habe untiges Layout, aber irgendwas habe ich eingestellt, so dass das ganze jetzt zu breit wird und alles rechts aus dem Bildschirm rausgedrückt wird... Stehe gerade total auf dem Schlauch.
Hier habe ich z.b. mal eine absolute Breite angegeben:
Das hat bis gerade noch funktioniert nur eben jetzt nicht mehr... Auch durch Undo kriege ich es irgendwie nicht mehr hin...
thx
Dave
Hier habe ich z.b. mal eine absolute Breite angegeben:
Code:
<EditText
android:id="@+id/status_red_field"
android:layout_height="wrap_content"
android:layout_width="60dp">
</EditText>
Das hat bis gerade noch funktioniert nur eben jetzt nicht mehr... Auch durch Undo kriege ich es irgendwie nicht mehr hin...
thx
Dave
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/task_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Einstellungen"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/global_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Global"
android:textAppearance="?android:attr/textAppearanceMedium" />
<View android:layout_width="fill_parent"
android:layout_height="0.5dip"
android:layout_marginBottom="6dip"
android:background="#777777" />
<TableLayout
android:id="@+id/wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.44" >
<TableRow
android:id="@+id/table1Row6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:baselineAligned="false" >
<TextView
android:id="@+id/username_explain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Benutzername: "
android:textAppearance="?android:attr/textAppearanceSmall" />
<EditText
android:id="@+id/username"
android:layout_height="wrap_content"
android:layout_width="160dp">
</EditText>
</TableRow>
<TableRow
android:id="@+id/table1Row7"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/password_explain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Passwort: "
android:textAppearance="?android:attr/textAppearanceSmall" />
<EditText
android:id="@+id/password"
android:layout_height="wrap_content"
android:layout_width="160dp"
android:inputType="textPassword" />
</TableRow>
<TableRow
android:id="@+id/table1Row4"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/delay_time_bar_explain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Delay (simuliert): "
android:textAppearance="?android:attr/textAppearanceSmall" />
<SeekBar
android:id="@+id/delay_time_bar"
android:layout_width="160dp"
android:layout_height="wrap_content" />
</TableRow>
<TableRow
android:id="@+id/table1Row9"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/delay_time_explain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:id="@+id/delay_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0ms"
android:textAppearance="?android:attr/textAppearanceSmall" />
</TableRow>
<TableRow
android:id="@+id/table1Row10"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/navigation_show_hidden"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Navigtaion"
android:textAppearance="?android:attr/textAppearanceSmall" />
<CheckBox
android:id="@+id/show_hidden_apps_tab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tab 'Versteckte Apps' \nanzeigen" />
</TableRow>
</TableLayout>
<TextView
android:id="@+id/task_management_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Task Management"
android:textAppearance="?android:attr/textAppearanceMedium" />
<View android:layout_width="fill_parent"
android:layout_height="0.5dip"
android:layout_marginBottom="6dip"
android:background="#777777" />
<TableLayout
android:id="@+id/tableLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.44" >
<TableRow
android:id="@+id/table2Row6"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/status_red_explain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:inputType="textMultiLine"
android:text="Status rot ab:"
android:textAppearance="?android:attr/textAppearanceSmall" />
<EditText
android:id="@+id/status_red_field"
android:layout_height="wrap_content"
android:layout_width="60dp">
</EditText>
<TextView
android:id="@+id/status_red_hours"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:inputType="textMultiLine"
android:text=" Stunden"
android:textAppearance="?android:attr/textAppearanceSmall" />
</TableRow>
<TableRow
android:id="@+id/table2Row7"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/status_orange_explain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:inputType="textMultiLine"
android:text="Status orange ab:"
android:textAppearance="?android:attr/textAppearanceSmall" />
<EditText
android:id="@+id/status_orange_field"
android:layout_height="wrap_content"
android:layout_width="60dp">
</EditText>
<TextView
android:id="@+id/status_orange_hours"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:inputType="textMultiLine"
android:text=" Stunden"
android:textAppearance="?android:attr/textAppearanceSmall" />
</TableRow>
<TableRow
android:id="@+id/table2Row10"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/navigation_show_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Home-Tab:"
android:textAppearance="?android:attr/textAppearanceSmall" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<CheckBox
android:id="@+id/show_expired_tasks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Abgelaufene Tasks \n anzeigen" />
<CheckBox
android:id="@+id/show_completed_tasks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Abgeschlossene Tasks \n anzeigen" />
</LinearLayout>
</TableRow>
</TableLayout>
</LinearLayout>