|
@@ -11,32 +11,57 @@
|
|
|
type="com.doverfuelingsolutions.issp.view.PreferenceActivity" />
|
|
|
</data>
|
|
|
|
|
|
- <ScrollView style="@style/match">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="800dp"
|
|
|
+ android:layout_height="1600dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:elevation="60dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingVertical="40dp"
|
|
|
+ android:weightSum="1">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- style="@style/fullWidth"
|
|
|
- android:orientation="vertical">
|
|
|
+ <TextView
|
|
|
+ style="@style/wrap"
|
|
|
+ android:layout_marginStart="40dp"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:text="@string/preference"
|
|
|
+ android:textSize="22sp" />
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/container"
|
|
|
- style="@style/match" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- style="@style/fullWidth"
|
|
|
- android:layout_marginTop="40dp"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/checkUpdate"
|
|
|
- android:enabled="@{!viewModel.isLookingUpdate}"
|
|
|
- style="@style/Widget.MaterialComponents.Button"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginHorizontal="20dp"
|
|
|
- android:onClick="@{handler}"
|
|
|
- android:text="@{viewModel.isLookingUpdate ? @string/in_check_update : @string/check_update}" />
|
|
|
- </LinearLayout>
|
|
|
+ style="@style/fullWidth" />
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ style="@style/fullWidth"
|
|
|
+ android:layout_marginTop="40dp"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/checkUpdate"
|
|
|
+ style="@style/Widget.MaterialComponents.Button"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
+ android:enabled="@{!viewModel.isLookingUpdate}"
|
|
|
+ android:onClick="@{handler}"
|
|
|
+ android:text="@{viewModel.isLookingUpdate ? @string/in_check_update : @string/check_update}" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/buttonClose"
|
|
|
+ style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginHorizontal="20dp"
|
|
|
+ android:onClick="@{handler}"
|
|
|
+ android:text="@string/click_close" />
|
|
|
</LinearLayout>
|
|
|
- </ScrollView>
|
|
|
+ </LinearLayout>
|
|
|
</layout>
|