Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit feffd7e

Browse files
author
devrel-build
committed
Merge commit 'a9dde5b94b753eb43dcb1fffe4f4fc0cb934fa8d' into HEAD
2 parents 8c22f5b + a9dde5b commit feffd7e

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

AndroidWearMap/Wearable/src/main/java/com/example/androidwearmap/MainActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import com.google.android.gms.maps.model.LatLng;
2424
import com.google.android.gms.maps.model.MarkerOptions;
2525

26+
import android.app.Activity;
2627
import android.os.Bundle;
2728
import android.support.wearable.activity.WearableActivity;
2829
import android.support.wearable.view.DismissOverlayView;

AndroidWearMap/Wearable/src/main/res/layout/activity_main.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,28 @@
1717
limitations under the License.
1818
-->
1919

20-
<FrameLayout android:id="@+id/root_container"
21-
xmlns:android="http://schemas.android.com/apk/res/android"
22-
xmlns:map="http://schemas.android.com/apk/res-auto"
23-
android:layout_width="match_parent"
24-
android:layout_height="match_parent">
20+
<FrameLayout
21+
xmlns:android="http://schemas.android.com/apk/res/android"
22+
xmlns:map="http://schemas.android.com/apk/res-auto"
23+
android:id="@+id/root_container"
24+
android:layout_height="match_parent"
25+
android:layout_width="match_parent">
2526

2627
<FrameLayout
27-
android:id="@+id/map_container"
28-
android:layout_width="match_parent"
29-
android:layout_height="match_parent">
28+
android:id="@+id/map_container"
29+
android:layout_width="match_parent"
30+
android:layout_height="match_parent">
3031

3132
<fragment
32-
android:id="@+id/map"
33-
android:name="com.google.android.gms.maps.MapFragment"
34-
android:layout_width="match_parent"
35-
android:layout_height="match_parent"
36-
map:ambientEnabled="true" />
33+
android:id="@+id/map"
34+
android:layout_width="match_parent"
35+
android:layout_height="match_parent"
36+
android:name="com.google.android.gms.maps.MapFragment"/>
3737

3838
</FrameLayout>
3939

4040
<android.support.wearable.view.DismissOverlayView
41-
android:id="@+id/dismiss_overlay"
42-
android:layout_width="match_parent"
43-
android:layout_height="match_parent" />
41+
android:id="@+id/dismiss_overlay"
42+
android:layout_height="match_parent"
43+
android:layout_width="match_parent"/>
4444
</FrameLayout>

0 commit comments

Comments
 (0)