OSDN Git Service

若干manifestを調整。
authorMRSa <mrsa@myad.jp>
Wed, 5 Apr 2023 14:36:24 +0000 (23:36 +0900)
committerMRSa <mrsa@myad.jp>
Wed, 5 Apr 2023 14:36:24 +0000 (23:36 +0900)
wear/src/main/AndroidManifest.xml
wear/src/main/res/layout/activity_main.xml
wear/src/main/res/values-ja/strings.xml
wear/src/main/res/values/strings.xml

index a3913ce..d0fe75a 100644 (file)
         android:usesCleartextTraffic="true"
         android:requestLegacyExternalStorage="true"
         android:theme="@style/Theme.A01Splash">
-        <!-- android:theme="@style/Theme.AppCompat"> -->
-        <!--android:theme="@android:style/Theme.DeviceDefault"-->
         <uses-library android:name="com.google.android.wearable" android:required="false" />
         <meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
         <activity
             android:name=".MainActivity"
+            android:label="@string/app_name2"
             android:exported="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
@@ -33,7 +32,8 @@
             </intent-filter>
         </activity>
         <activity
-            android:name="androidx.wear.activity.ConfirmationActivity">
+            android:name="androidx.wear.activity.ConfirmationActivity"
+            android:label="@string/confirmation">
         </activity>
     </application>
 </manifest>
index bb501a1..2d11b24 100644 (file)
@@ -7,6 +7,7 @@
     android:layout_height="match_parent"
     android:padding="@dimen/box_inset_layout_padding"
     android:background="@color/black"
+    android:focusable="true"
     android:scrollbars="vertical"
     tools:context=".MainActivity"
     tools:deviceIds="wear">
index e12372f..771afd5 100644 (file)
@@ -2,6 +2,7 @@
 <resources>
     <string name="app_name">A01c</string>
     <string name="app_name2">A01c</string>
+    <string name="confirmation">Confirmation</string>
     <string name="hello_round">Hello Round World!</string>
     <string name="hello_square">Hello Square World</string>
     <string name="clock_dummy">00:00</string>
index 1748623..08315ee 100644 (file)
@@ -1,6 +1,7 @@
 <resources>
     <string name="app_name">A01c</string>
     <string name="app_name2">A01c</string>
+    <string name="confirmation">Confirmation</string>
     <string name="hello_round">Hello Round World!</string>
     <string name="hello_square">Hello Square World!</string>
     <string name="clock_dummy">00:00</string>