OSDN Git Service

レイアウトを微調整。。
authorMRSa <mrsa@myad.jp>
Wed, 21 Mar 2018 06:56:08 +0000 (15:56 +0900)
committerMRSa <mrsa@myad.jp>
Wed, 21 Mar 2018 06:56:08 +0000 (15:56 +0900)
wear/src/main/res/layout-notround/activity_main.xml
wear/src/main/res/layout-round/activity_main.xml
wear/src/main/res/values/dimens.xml

index 269b0a5..e1ffe32 100644 (file)
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:textAlignment="center"
-            android:textSize="15pt"
+            android:textSize="16pt"
             android:focusable="true"
             android:clickable="true"
             android:text="@string/counter" />
 
-
         <ImageButton
             android:id="@+id/btn2"
             android:background="@color/black"
             android:tint="@color/white"
             android:layout_gravity="bottom"
-            android:layout_width="34dp"
-            android:layout_height="34dp"
+            android:layout_width="36dp"
+            android:layout_height="35dp"
             android:layout_alignParentStart="true"
             android:layout_alignParentBottom="true"
             android:clickable="true"
@@ -51,8 +50,8 @@
 
         <ImageButton
             android:id="@+id/btn3"
-            android:layout_width="34dp"
-            android:layout_height="34dp"
+            android:layout_width="36dp"
+            android:layout_height="35dp"
             android:layout_alignParentBottom="true"
             android:layout_gravity="bottom"
             android:layout_toEndOf="@+id/btn2"
@@ -71,7 +70,7 @@
             android:tint="@color/white"
             android:layout_gravity="bottom"
             android:layout_width="80dp"
-            android:layout_height="34dp"
+            android:layout_height="36dp"
             android:layout_alignParentEnd="true"
             android:layout_alignParentBottom="true"
             android:clickable="true"
             android:scrollbarAlwaysDrawVerticalTrack="true"
             android:layout_below="@id/sub_counter1">
 
+            <View
+                android:id="@+id/graph_area"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:background="@color/black"
+                android:clickable="true"
+                android:focusable="true"
+                android:visibility="gone"
+                />
+
             <TextView
                 android:id="@+id/sub_counter2"
                 android:textColor="@color/white"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:textAlignment="textStart"
-                android:textSize="7pt"
+                android:clickable="true"
+                android:focusable="true"
+                android:textSize="9pt"
+                android:visibility="visible"
                 android:text="@string/blank" />
 
             <TextView
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:textAlignment="textStart"
-                android:textSize="7pt"
+                android:clickable="true"
+                android:focusable="true"
+                android:textSize="9pt"
+                android:visibility="visible"
                 android:text="@string/blank" />
 
             <TextView
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:textAlignment="textStart"
-                android:textSize="7pt"
+                android:clickable="true"
+                android:focusable="true"
+                android:textSize="9pt"
+                android:visibility="visible"
                 android:text="@string/blank" />
             <!--
                         <TextView
             />
     </RelativeLayout>
 </android.support.wear.widget.BoxInsetLayout>
-
index cff20fe..706d9ab 100644 (file)
             android:scrollbarAlwaysDrawVerticalTrack="true"
             android:layout_below="@id/sub_counter1">
 
+            <View
+                android:id="@+id/graph_area"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:background="@color/black"
+                android:clickable="true"
+                android:focusable="true"
+                android:visibility="gone"
+                />
+
             <TextView
                 android:id="@+id/sub_counter2"
                 android:background="@color/black"
                 android:layout_height="wrap_content"
                 android:textAlignment="textStart"
                 android:textSize="7pt"
+                android:clickable="true"
+                android:focusable="true"
+                android:visibility="visible"
                 android:text="@string/blank" />
 
             <TextView
                 android:layout_height="wrap_content"
                 android:textAlignment="textStart"
                 android:textSize="7pt"
+                android:clickable="true"
+                android:focusable="true"
+                android:visibility="visible"
                 android:text="@string/blank" />
 
             <TextView
                 android:layout_height="wrap_content"
                 android:textAlignment="textStart"
                 android:textSize="7pt"
+                android:clickable="true"
+                android:focusable="true"
+                android:visibility="visible"
                 android:text="@string/blank" />
 <!--
             <TextView
index e865b41..9c09969 100644 (file)
@@ -11,5 +11,5 @@
     and the window insets is box_inset_layout_padding (above variable) on square screens and
     inner_frame_layout_padding (below variable) on round screens.
     -->
-    <dimen name="inner_frame_layout_padding">5dp</dimen>
+    <dimen name="inner_frame_layout_padding">1dp</dimen>
 </resources>