station view split

splitscreen
Georg Lukas 2011-09-26 17:02:53 +02:00
rodzic ccd259b8ed
commit eac789b03e
3 zmienionych plików z 92 dodań i 31 usunięć

Wyświetl plik

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="horizontal"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:text="@string/sta_ssids"
/>
<ListView android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="100dp"
android:layout_weight="1"
android:descendantFocusability="blocksDescendants"
/>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:text="@string/sta_history"
/>
<ListView
android:id="@+id/postlist"
android:layout_width="fill_parent"
android:layout_height="100sp"
android:layout_weight="1"
android:descendantFocusability="blocksDescendants"
/>
</LinearLayout>
</LinearLayout>
<include layout="@layout/stationbuttons" />
</LinearLayout>

Wyświetl plik

@ -30,36 +30,6 @@
android:layout_weight="1"
android:descendantFocusability="blocksDescendants"
/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<Button
android:id="@+id/mapbutton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sta_map"
>
</Button>
<Button
android:id="@+id/aprsfibutton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sta_aprsfi"
>
</Button>
<Button
android:id="@+id/qrzcombutton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sta_qrzcom"
>
</Button>
</LinearLayout>
<include layout="@layout/stationbuttons" />
</LinearLayout>

Wyświetl plik

@ -0,0 +1,33 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<Button
android:id="@+id/mapbutton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sta_map"
>
</Button>
<Button
android:id="@+id/aprsfibutton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sta_aprsfi"
>
</Button>
<Button
android:id="@+id/qrzcombutton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/sta_qrzcom"
>
</Button>
</LinearLayout>
</merge>