Loading app/src/main/AndroidManifest.xml +8 −8 Original line number Diff line number Diff line Loading @@ -39,16 +39,16 @@ <application android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:enableOnBackInvokedCallback="true" android:fullBackupContent="@xml/backup" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:localeConfig="@xml/locales_config" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="UnusedAttribute" android:enableOnBackInvokedCallback="true" android:dataExtractionRules="@xml/data_extraction_rules" android:localeConfig="@xml/locales_config"> tools:ignore="UnusedAttribute"> <activity android:name=".ui.MainActivity" android:exported="true"> Loading app/src/main/res/layout/about.xml +6 −5 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2017 Bartek Fabiszewski ~ http://www.fabiszewski.net ~ Loading Loading @@ -51,19 +52,19 @@ android:textSize="16sp" /> <LinearLayout style="?android:attr/buttonBarStyle" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="end" android:orientation="horizontal" android:paddingTop="30dp" style="?android:attr/buttonBarStyle" > android:paddingTop="30dp"> <Button android:id="@+id/about_button_ok" style="?android:attr/buttonBarButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/ok" style="?android:attr/buttonBarButtonStyle" /> android:text="@string/ok" /> </LinearLayout> </LinearLayout> No newline at end of file app/src/main/res/layout/activity_main.xml +2 −3 Original line number Diff line number Diff line Loading @@ -11,9 +11,9 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".ui.MainActivity"> <androidx.appcompat.widget.Toolbar Loading @@ -27,7 +27,6 @@ <FrameLayout android:id="@+id/fragment_placeholder" android:layout_width="match_parent" android:layout_height="match_parent"> </FrameLayout> android:layout_height="match_parent" /> </LinearLayout> No newline at end of file app/src/main/res/layout/alert_dialog_title.xml +9 −8 Original line number Diff line number Diff line Loading @@ -10,12 +10,12 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingLeft="?attr/dialogPreferredPadding" android:paddingRight="?attr/dialogPreferredPadding" android:paddingTop="@dimen/dialog_padding_top"> android:paddingTop="@dimen/dialog_padding_top" android:paddingRight="?attr/dialogPreferredPadding"> <LinearLayout android:layout_width="match_parent" Loading @@ -28,8 +28,8 @@ android:layout_height="32dp" android:layout_marginEnd="8dp" android:scaleType="fitCenter" android:visibility="gone" android:src="@null" android:visibility="gone" tools:ignore="ContentDescription" /> <TextView Loading @@ -38,18 +38,19 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:ellipsize="end" android:gravity="start" android:singleLine="true" android:textAlignment="viewStart" android:gravity="start" tools:text="Preference title" /> </LinearLayout> <TextView android:id="@+id/customMessage" style="?android:attr/textAppearanceSmall" android:layout_marginBottom="10dp" android:layout_marginTop="10dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:textColor="?android:attr/textColorSecondary" tools:text="Message describing preference. Maybe be several lines long." /> Loading app/src/main/res/layout/fragment_main.xml +15 −15 Original line number Diff line number Diff line Loading @@ -84,8 +84,8 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginStart="@dimen/main_margin_start" android:layout_marginEnd="@dimen/main_margin_end" android:layout_marginTop="@dimen/switch_margin_top" android:layout_marginEnd="@dimen/main_margin_end" android:checked="false" android:maxLines="1" android:paddingTop="@dimen/swipe_padding_top" Loading @@ -102,15 +102,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/main_margin_start" android:layout_marginEnd="@dimen/main_margin_end" android:layout_marginTop="@dimen/block_distance" android:paddingBottom="@dimen/block_padding_y" android:paddingTop="@dimen/block_padding_y" android:paddingStart="@dimen/block_padding_x" android:paddingEnd="@dimen/block_padding_x" android:layout_marginEnd="@dimen/main_margin_end" android:background="@drawable/round_corners_background" android:backgroundTint="@color/colorGray" android:orientation="horizontal"> android:orientation="horizontal" android:paddingStart="@dimen/block_padding_x" android:paddingTop="@dimen/block_padding_y" android:paddingEnd="@dimen/block_padding_x" android:paddingBottom="@dimen/block_padding_y"> <LinearLayout android:id="@+id/layoutSummary" Loading Loading @@ -161,15 +161,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/main_margin_start" android:layout_marginEnd="@dimen/main_margin_end" android:layout_marginTop="@dimen/block_distance" android:paddingBottom="@dimen/block_padding_y" android:paddingTop="@dimen/block_padding_y" android:paddingStart="@dimen/block_padding_x" android:paddingEnd="@dimen/block_padding_x" android:layout_marginEnd="@dimen/main_margin_end" android:background="@drawable/round_corners_background" android:backgroundTint="@color/colorGray" android:orientation="vertical"> android:orientation="vertical" android:paddingStart="@dimen/block_padding_x" android:paddingTop="@dimen/block_padding_y" android:paddingEnd="@dimen/block_padding_x" android:paddingBottom="@dimen/block_padding_y"> <TextView android:layout_width="match_parent" Loading Loading @@ -230,9 +230,9 @@ android:layout_height="wrap_content" android:layout_marginStart="@dimen/block_indent" android:text="" android:visibility="gone" android:textColor="@color/colorPink" android:textSize="@dimen/label_font_size" android:visibility="gone" tools:text="Connection error: Failed to connect to /10.0.0.15:80" tools:visibility="visible" /> </LinearLayout> Loading Loading
app/src/main/AndroidManifest.xml +8 −8 Original line number Diff line number Diff line Loading @@ -39,16 +39,16 @@ <application android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:enableOnBackInvokedCallback="true" android:fullBackupContent="@xml/backup" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:localeConfig="@xml/locales_config" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="UnusedAttribute" android:enableOnBackInvokedCallback="true" android:dataExtractionRules="@xml/data_extraction_rules" android:localeConfig="@xml/locales_config"> tools:ignore="UnusedAttribute"> <activity android:name=".ui.MainActivity" android:exported="true"> Loading
app/src/main/res/layout/about.xml +6 −5 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?><!-- <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2017 Bartek Fabiszewski ~ http://www.fabiszewski.net ~ Loading Loading @@ -51,19 +52,19 @@ android:textSize="16sp" /> <LinearLayout style="?android:attr/buttonBarStyle" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="end" android:orientation="horizontal" android:paddingTop="30dp" style="?android:attr/buttonBarStyle" > android:paddingTop="30dp"> <Button android:id="@+id/about_button_ok" style="?android:attr/buttonBarButtonStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/ok" style="?android:attr/buttonBarButtonStyle" /> android:text="@string/ok" /> </LinearLayout> </LinearLayout> No newline at end of file
app/src/main/res/layout/activity_main.xml +2 −3 Original line number Diff line number Diff line Loading @@ -11,9 +11,9 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".ui.MainActivity"> <androidx.appcompat.widget.Toolbar Loading @@ -27,7 +27,6 @@ <FrameLayout android:id="@+id/fragment_placeholder" android:layout_width="match_parent" android:layout_height="match_parent"> </FrameLayout> android:layout_height="match_parent" /> </LinearLayout> No newline at end of file
app/src/main/res/layout/alert_dialog_title.xml +9 −8 Original line number Diff line number Diff line Loading @@ -10,12 +10,12 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingLeft="?attr/dialogPreferredPadding" android:paddingRight="?attr/dialogPreferredPadding" android:paddingTop="@dimen/dialog_padding_top"> android:paddingTop="@dimen/dialog_padding_top" android:paddingRight="?attr/dialogPreferredPadding"> <LinearLayout android:layout_width="match_parent" Loading @@ -28,8 +28,8 @@ android:layout_height="32dp" android:layout_marginEnd="8dp" android:scaleType="fitCenter" android:visibility="gone" android:src="@null" android:visibility="gone" tools:ignore="ContentDescription" /> <TextView Loading @@ -38,18 +38,19 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:ellipsize="end" android:gravity="start" android:singleLine="true" android:textAlignment="viewStart" android:gravity="start" tools:text="Preference title" /> </LinearLayout> <TextView android:id="@+id/customMessage" style="?android:attr/textAppearanceSmall" android:layout_marginBottom="10dp" android:layout_marginTop="10dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:textColor="?android:attr/textColorSecondary" tools:text="Message describing preference. Maybe be several lines long." /> Loading
app/src/main/res/layout/fragment_main.xml +15 −15 Original line number Diff line number Diff line Loading @@ -84,8 +84,8 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginStart="@dimen/main_margin_start" android:layout_marginEnd="@dimen/main_margin_end" android:layout_marginTop="@dimen/switch_margin_top" android:layout_marginEnd="@dimen/main_margin_end" android:checked="false" android:maxLines="1" android:paddingTop="@dimen/swipe_padding_top" Loading @@ -102,15 +102,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/main_margin_start" android:layout_marginEnd="@dimen/main_margin_end" android:layout_marginTop="@dimen/block_distance" android:paddingBottom="@dimen/block_padding_y" android:paddingTop="@dimen/block_padding_y" android:paddingStart="@dimen/block_padding_x" android:paddingEnd="@dimen/block_padding_x" android:layout_marginEnd="@dimen/main_margin_end" android:background="@drawable/round_corners_background" android:backgroundTint="@color/colorGray" android:orientation="horizontal"> android:orientation="horizontal" android:paddingStart="@dimen/block_padding_x" android:paddingTop="@dimen/block_padding_y" android:paddingEnd="@dimen/block_padding_x" android:paddingBottom="@dimen/block_padding_y"> <LinearLayout android:id="@+id/layoutSummary" Loading Loading @@ -161,15 +161,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="@dimen/main_margin_start" android:layout_marginEnd="@dimen/main_margin_end" android:layout_marginTop="@dimen/block_distance" android:paddingBottom="@dimen/block_padding_y" android:paddingTop="@dimen/block_padding_y" android:paddingStart="@dimen/block_padding_x" android:paddingEnd="@dimen/block_padding_x" android:layout_marginEnd="@dimen/main_margin_end" android:background="@drawable/round_corners_background" android:backgroundTint="@color/colorGray" android:orientation="vertical"> android:orientation="vertical" android:paddingStart="@dimen/block_padding_x" android:paddingTop="@dimen/block_padding_y" android:paddingEnd="@dimen/block_padding_x" android:paddingBottom="@dimen/block_padding_y"> <TextView android:layout_width="match_parent" Loading Loading @@ -230,9 +230,9 @@ android:layout_height="wrap_content" android:layout_marginStart="@dimen/block_indent" android:text="" android:visibility="gone" android:textColor="@color/colorPink" android:textSize="@dimen/label_font_size" android:visibility="gone" tools:text="Connection error: Failed to connect to /10.0.0.15:80" tools:visibility="visible" /> </LinearLayout> Loading