Android Samples: add Fragment example (#796)

This commit is contained in:
Meibes
2020-12-19 12:06:46 +01:00
committed by Emux
parent 1c18221f05
commit 1bc1d88464
9 changed files with 246 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/empty_fragment_text" />
</RelativeLayout>

View File

@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
<org.oscim.android.MapView
<RelativeLayout
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent" />