OSDN Git Service

レイアウトの見直し。(その2)
[gokigen/JoggingTimer.git] / wear / src / main / res / layout / activity_main.xml
index 6e716eb..8fca19e 100644 (file)
@@ -92,6 +92,8 @@
             android:id="@+id/laptime_list_area"
             android:layout_width="match_parent"
             android:layout_height="0dp"
+            android:layout_marginStart="@dimen/indicator_layout_margin"
+            android:layout_marginEnd="@dimen/indicator_layout_margin"
             app:layout_constraintDimensionRatio="h,4:1"
             android:background="@color/background_color"
             app:layout_constraintTop_toBottomOf="@id/sub_counter1"
         <LinearLayout
             android:id="@+id/button_area1"
             android:layout_width="match_parent"
-            android:layout_height="48dp"
+            android:layout_height="@dimen/button_height"
             android:background="@color/background_color"
             app:layout_constraintEnd_toEndOf="parent"
             app:layout_constraintStart_toStartOf="parent"
 
             <ImageButton
                 android:id="@+id/btn2"
-                android:layout_width="48dp"
-                android:layout_height="48dp"
+                android:layout_width="@dimen/button_width"
+                android:layout_height="@dimen/button_height"
                 android:layout_gravity="bottom"
                 android:background="@color/background_color"
                 android:clickable="true"
 
             <ImageButton
                 android:id="@+id/btn3"
-                android:layout_width="48dp"
-                android:layout_height="48dp"
+                android:layout_width="@dimen/button_width"
+                android:layout_height="@dimen/button_height"
                 android:layout_gravity="bottom"
                 android:background="@color/background_color"
                 android:clickable="true"
 
             <ImageButton
                 android:id="@+id/btn1"
-                android:layout_width="48dp"
-                android:layout_height="48dp"
+                android:layout_width="@dimen/button_width"
+                android:layout_height="@dimen/button_height"
                 android:layout_gravity="bottom"
                 android:clickable="true"
                 android:contentDescription="@string/description_control_button"
 
             <ImageButton
                 android:id="@+id/btn_01"
-                android:layout_width="48dp"
-                android:layout_height="48dp"
+                android:layout_width="@dimen/button_width"
+                android:layout_height="@dimen/button_height"
                 android:layout_gravity="bottom"
                 android:background="@null"
                 android:clickable="true"
 
             <ImageButton
                 android:id="@+id/btn_02"
-                android:layout_width="48dp"
-                android:layout_height="48dp"
+                android:layout_width="@dimen/button_width"
+                android:layout_height="@dimen/button_height"
                 android:layout_gravity="bottom"
                 android:background="@null"
                 android:clickable="true"
 
             <ImageButton
                 android:id="@+id/btn_03"
-                android:layout_width="48dp"
-                android:layout_height="48dp"
+                android:layout_width="@dimen/button_width"
+                android:layout_height="@dimen/button_height"
                 android:layout_gravity="bottom"
                 android:background="@null"
                 android:clickable="true"