Show list fragment in main activity
This commit is contained in:
@@ -1,12 +1,27 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2012 Tobias Brunner
|
||||||
|
Hochschule fuer Technik Rapperswil
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by the
|
||||||
|
Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but
|
||||||
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
for more details.
|
||||||
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
||||||
<TextView
|
<fragment
|
||||||
android:layout_width="fill_parent"
|
class="org.strongswan.android.ui.VpnProfileListFragment"
|
||||||
android:layout_height="wrap_content"
|
android:id="@+id/profile_list_frag"
|
||||||
android:text="@string/hello" />
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
<!-- Application -->
|
<!-- Application -->
|
||||||
<string name="app_name">strongSwan VPN Client</string>
|
<string name="app_name">strongSwan VPN Client</string>
|
||||||
<string name="hello">Hello World, strongSwanActivity!</string>
|
|
||||||
|
|
||||||
<!-- VPN profile list -->
|
<!-- VPN profile list -->
|
||||||
<string name="no_profiles">No VPN profiles.</string>
|
<string name="no_profiles">No VPN profiles.</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user