diff options
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/configitem.xml | 40 | ||||
-rw-r--r-- | src/main/res/layout/fragment_list.xml | 15 | ||||
-rw-r--r-- | src/main/res/layout/fragment_status.xml | 47 | ||||
-rw-r--r-- | src/main/res/layout/main.xml | 12 | ||||
-rw-r--r-- | src/main/res/layout/pref.xml | 13 | ||||
-rw-r--r-- | src/main/res/layout/rowlayout.xml | 31 |
6 files changed, 158 insertions, 0 deletions
diff --git a/src/main/res/layout/configitem.xml b/src/main/res/layout/configitem.xml new file mode 100644 index 0000000..d8d279d --- /dev/null +++ b/src/main/res/layout/configitem.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:baselineAligned="false" + android:orientation="horizontal" > + + <LinearLayout + android:id="@+id/configitem_layout_name" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_weight="1" + android:clickable="true" + android:orientation="vertical" > + + <TextView + android:id="@+id/configitem_text_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="name der verbindung" + tools:ignore="HardcodedText" /> + + <TextView + android:id="@+id/configitem_text_topdomain" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="xxx.topdomain.org" + tools:ignore="HardcodedText" /> + </LinearLayout> + + <ImageButton + android:id="@+id/configitem_btn_manage" + android:layout_width="50dp" + android:layout_height="50dp" + android:background="@drawable/ic_bt_config" + android:contentDescription="@string/configitem_description_manage" /> + +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/layout/fragment_list.xml b/src/main/res/layout/fragment_list.xml new file mode 100644 index 0000000..3b1e678 --- /dev/null +++ b/src/main/res/layout/fragment_list.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + > + + <ListView + android:id="@+id/list_view" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1"> + </ListView> +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/layout/fragment_status.xml b/src/main/res/layout/fragment_status.xml new file mode 100644 index 0000000..65f63b1 --- /dev/null +++ b/src/main/res/layout/fragment_status.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + > + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Message Placeholder" + android:id="@+id/status_message" + style="@android:style/TextAppearance.DeviceDefault.Large" + tools:ignore="HardcodedText"/> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" + > + + + <ScrollView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:autoText="true" + android:id="@+id/status_scrollview" + android:layout_weight="1"> + + <TextView + android:layout_height="match_parent" + android:layout_width="match_parent" + android:id="@+id/status_logmessages"/> + </ScrollView> + + <Button + android:drawableLeft="@drawable/cancel" + android:text="Close" + android:id="@+id/status_cancel" + android:layout_width="match_parent" + android:layout_height="50dp" + /> + + </LinearLayout> +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/layout/main.xml b/src/main/res/layout/main.xml new file mode 100644 index 0000000..64bf136 --- /dev/null +++ b/src/main/res/layout/main.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <FrameLayout + android:id="@+id/main_fragment_status" + android:layout_width="match_parent" + android:layout_height="match_parent"/> +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/layout/pref.xml b/src/main/res/layout/pref.xml new file mode 100644 index 0000000..ff54538 --- /dev/null +++ b/src/main/res/layout/pref.xml @@ -0,0 +1,13 @@ +<?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" > + + <ListView + android:id="@+id/pref_list" + android:layout_width="match_parent" + android:layout_height="match_parent" > + </ListView> + +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/layout/rowlayout.xml b/src/main/res/layout/rowlayout.xml new file mode 100644 index 0000000..7fd7f4e --- /dev/null +++ b/src/main/res/layout/rowlayout.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <LinearLayout + android:id="@+id/rowlayout_content" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="2" + android:orientation="vertical" > + + <TextView + android:id="@+id/rowlayout_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + </LinearLayout> + + <ImageButton + android:id="@+id/rowlayout_help" + android:layout_width="40dp" + android:layout_height="40dp" + android:layout_gravity="center" + android:background="@drawable/action_help" + android:contentDescription="Help" + tools:ignore="HardcodedText" /> + +</LinearLayout>
\ No newline at end of file |