Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed error in activity_main.xml and removed some warnings #1370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.google.ar.core.examples.java.helloar.HelloArActivity">
tools:context="com.google.ar.core.examples.kotlin.helloar.HelloArActivity">

<android.opengl.GLSurfaceView
android:id="@+id/surfaceview"
Expand All @@ -32,6 +32,7 @@
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_margin="25dp"
android:contentDescription="@string/setting"
android:src="@drawable/ic_settings"
android:background="@android:color/transparent"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<item android:id="@+id/depth_settings" android:title="Depth API"/>
<item android:id="@+id/depth_settings" android:title="@string/depth_api"/>
<item android:id="@+id/instant_placement_settings"
android:title="Instant Placement"/>
android:title="@string/instant_placement"/>
</menu>
3 changes: 3 additions & 0 deletions samples/hello_ar_kotlin/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@

<string translatable="false" name="searching_planes">Searching for surfaces...</string>
<string translatable="false" name="waiting_taps">Tap on a surface to place an object.</string>
<string name="depth_api">Depth API</string>
<string name="instant_placement">Instant Placement</string>
<string name="setting">setting</string>

</resources>