Commit 59b38cf3 by Kang Donghun

#67472 【android15検証 @Form】画面の上と下にあるボタンが、端末のボタンに覆われ操作できない コード整理

parent fee105b2
...@@ -6,7 +6,13 @@ ...@@ -6,7 +6,13 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/setting_bg" android:background="@drawable/setting_bg"
android:orientation="vertical" android:orientation="vertical"
android:padding="20dp" > android:fitsSystemWindows="true" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="20dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -36,5 +42,5 @@ ...@@ -36,5 +42,5 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:layout="@layout/setting_fragment" /> tools:layout="@layout/setting_fragment" />
</LinearLayout>
</LinearLayout> </LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="opeartion_title_text_size" />
<dimen name="report_status_height_1">48dp</dimen>
<dimen name="report_status_height_2">32dp</dimen>
<dimen name="report_status_height_3">24dp</dimen>
<dimen name="report_status_width_1">80dp</dimen>
<dimen name="report_status_width_2">36dp</dimen>
</resources>
...@@ -30,7 +30,7 @@ public class DisplayUtil { ...@@ -30,7 +30,7 @@ public class DisplayUtil {
WindowInsets windowInsets = metrics.getWindowInsets(); WindowInsets windowInsets = metrics.getWindowInsets();
android.graphics.Insets insets = windowInsets.getInsets( android.graphics.Insets insets = windowInsets.getInsets(
WindowInsets.Type.systemBars() | WindowInsets.Type.displayCutout() WindowInsets.Type.navigationBars() | WindowInsets.Type.displayCutout()
); );
displayWidth = bounds.width() - (insets.left + insets.right); displayWidth = bounds.width() - (insets.left + insets.right);
......
...@@ -254,6 +254,7 @@ public class ThumbnailSeekBarLayout extends LinearLayout { ...@@ -254,6 +254,7 @@ public class ThumbnailSeekBarLayout extends LinearLayout {
float x = ev.getRawX() - insetLeft; float x = ev.getRawX() - insetLeft;
float y = ev.getRawY() - insetTop; float y = ev.getRawY() - insetTop;
Logger.d(TAG, "[onTouch]:page:" + page + " action=" + str(ev.getAction()) + ", count=" + ev.getPointerCount()+ " x=" + x + " y=" + y); Logger.d(TAG, "[onTouch]:page:" + page + " action=" + str(ev.getAction()) + ", count=" + ev.getPointerCount()+ " x=" + x + " y=" + y);
switch (ev.getAction() & MotionEvent.ACTION_MASK) { switch (ev.getAction() & MotionEvent.ACTION_MASK) {
case MotionEvent.ACTION_DOWN: case MotionEvent.ACTION_DOWN:
// 中サイズのサムネイル表示 // 中サイズのサムネイル表示
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment