J
JediMind91
Neues Mitglied
- 0
Hallo zusammen ich bin neu hier und hoffe das mir jemand helfen kann
Alsooo ich hab nach ein paar Jahren wieder mit Java angefangen.
Ich versuche ein App zu erstellen.
Nun ist das Problem - dass seit ich per Tabhost 3 tabs hinzugefügt habe nichts passiert - also alles passt nur werden die Tabs auf meinem 4.0.3. Emulator nicht angeziegt.
In Eclipse - perfekt
Nur im Betrieb eben nicht - der Rest schon.
Kann mir jemand Helfen?
Gibts ein Tutorial oder so wie ich per Tabklick dann auch ein neues Fenster öffnen kann mit Text.
Danke vielmals
mfg
JediMind91
Alsooo ich hab nach ein paar Jahren wieder mit Java angefangen.
Ich versuche ein App zu erstellen.
Nun ist das Problem - dass seit ich per Tabhost 3 tabs hinzugefügt habe nichts passiert - also alles passt nur werden die Tabs auf meinem 4.0.3. Emulator nicht angeziegt.
In Eclipse - perfekt
Nur im Betrieb eben nicht - der Rest schon.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Developed by Crossdev" />
<Button
android:id="@+id/playpause"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Play" />
<TextView
android:id="@+id/state"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TabHost
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="151dp"
android:layout_weight="0.19" >
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="44dp" >
</TabWidget>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/Text"
android:layout_width="match_parent"
android:layout_height="14dp" >
</LinearLayout>
<LinearLayout
android:id="@+id/Info"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</LinearLayout>
<LinearLayout
android:id="@+id/Support"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</LinearLayout>
</FrameLayout>
</LinearLayout>
</TabHost>
<Button
android:id="@+id/quit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Close Application" />
<GridLayout
android:id="@+id/gridLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</GridLayout>
</LinearLayout>
Kann mir jemand Helfen?
Gibts ein Tutorial oder so wie ich per Tabklick dann auch ein neues Fenster öffnen kann mit Text.
Danke vielmals
mfg
JediMind91