tmap/res/layout/setting_row_switch.xml
2022-06-10 21:38:30 +09:00

17 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:background="@drawable/tmap_common_list_bg" android:paddingLeft="@dimen/tmap_20dp" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:id="@id/textViewDivider" android:background="@color/color_e6e6e6" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_0.5dp" />
<FrameLayout android:id="@id/setting_switch_preference" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<LinearLayout android:gravity="center_vertical" android:id="@id/layoutCommonTitleSubTitle" android:layout_width="@dimen/tmap_0dp" android:layout_height="fill_parent" android:layout_marginTop="@dimen/tmap_25dp" android:layout_marginRight="@dimen/tmap_30dp" android:layout_marginBottom="@dimen/tmap_25dp" android:layout_weight="1.0">
<ImageView android:layout_gravity="top" android:id="@id/beta_img" android:visibility="gone" android:layout_width="@dimen/tmap_25dp" android:layout_height="@dimen/tmap_14dp" android:layout_marginRight="@dimen/tmap_4dp" android:src="@drawable/icon_beta" />
<include layout="@layout/setting_list_row_common" />
</LinearLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/tmap_15dp">
<androidx.appcompat.widget.SwitchCompat android:layout_gravity="center|right" android:id="@id/switchWidget" style="@style/SwitchCompatStyle" />
</FrameLayout>
</LinearLayout>
<ImageView android:id="@id/image_view_dim" android:background="@color/white_color" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:alpha="0.8" />
</FrameLayout>
</LinearLayout>