diff --git a/build.gradle b/build.gradle index 10dbafc2..629ab2fa 100644 --- a/build.gradle +++ b/build.gradle @@ -77,7 +77,7 @@ android { def keystorePropertiesFile = rootProject.file('keystore.properties') buildFeatures { - viewBinding true + dataBinding true } if (keystorePropertiesFile.exists()) { def keystoreProperties = new Properties() diff --git a/src/main/res/layout/edit_repository.xml b/src/main/res/layout/edit_repository.xml index 242d553f..ad4cf03b 100644 --- a/src/main/res/layout/edit_repository.xml +++ b/src/main/res/layout/edit_repository.xml @@ -1,127 +1,134 @@ - + - + + + + + android:animateLayoutChanges="true"> - + android:layout_height="match_parent" + android:fillViewport="true"> - + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingHorizontal="12dp" + android:paddingTop="4dp" + android:paddingBottom="12dp"> + + + + + + + + + + + - - - - - - - - + android:layout_height="wrap_content" + android:hint="@string/username" + android:paddingVertical="12dp"> - + + - - + android:layout_height="wrap_content" + android:hint="@string/password" + android:paddingVertical="12dp"> - + + + + + + + + + + + + android:layout_marginTop="16dp" + android:fontFamily="sans-serif-light" + android:text="@string/checking_repository" + android:textColor="?android:attr/textColorPrimary" + android:textSize="20sp" /> - - + - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/src/main/res/layout/fragment.xml b/src/main/res/layout/fragment.xml index 046775c5..cb7f4126 100644 --- a/src/main/res/layout/fragment.xml +++ b/src/main/res/layout/fragment.xml @@ -1,43 +1,50 @@ - + - + - + - - - - - - - - \ No newline at end of file + android:background="?colorSurface"> + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/res/layout/item_app_info_x.xml b/src/main/res/layout/item_app_info_x.xml index 954a2bfb..7a7214ef 100644 --- a/src/main/res/layout/item_app_info_x.xml +++ b/src/main/res/layout/item_app_info_x.xml @@ -1,241 +1,247 @@ - + - + + + + + android:paddingTop="12dp" + android:paddingBottom="4dp"> - - - - - - - - - - - - - + app:layout_constraintTop_toTopOf="parent"> + android:gravity="center_vertical" + android:orientation="horizontal" + android:padding="8dp"> - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/text_margin" + android:layout_weight="1" + android:orientation="vertical"> + + + + + + + + + + + + + + android:textSize="16sp" /> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + android:orientation="vertical" + android:paddingHorizontal="12dp" + android:paddingBottom="4dp" + app:layout_constraintBottom_toTopOf="@id/action" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/header_info"> - + + + + + + - - - - - + android:layout_height="56dp" + android:layout_marginHorizontal="12dp" + app:iconGravity="textStart" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/status_layout" /> + + \ No newline at end of file diff --git a/src/main/res/layout/link_item.xml b/src/main/res/layout/link_item.xml index 19813eba..6957096f 100644 --- a/src/main/res/layout/link_item.xml +++ b/src/main/res/layout/link_item.xml @@ -1,43 +1,50 @@ - + - + + + + android:background="?android:attr/selectableItemBackground" + android:orientation="horizontal" + android:paddingStart="16dp" + android:paddingEnd="16dp"> - + - + android:layout_weight="1" + android:orientation="vertical" + android:padding="16dp"> + + + + + + - - + \ No newline at end of file diff --git a/src/main/res/layout/permissions_item.xml b/src/main/res/layout/permissions_item.xml index da9169bd..a9fbcef5 100644 --- a/src/main/res/layout/permissions_item.xml +++ b/src/main/res/layout/permissions_item.xml @@ -1,31 +1,38 @@ - + - + - + + + android:background="?android:attr/selectableItemBackground" + android:orientation="horizontal" + android:paddingStart="16dp" + android:paddingEnd="16dp"> - + + + + + + \ No newline at end of file diff --git a/src/main/res/layout/preference_item.xml b/src/main/res/layout/preference_item.xml index c2271596..71cad1a5 100644 --- a/src/main/res/layout/preference_item.xml +++ b/src/main/res/layout/preference_item.xml @@ -1,39 +1,45 @@ - + + + + + + android:background="?android:attr/selectableItemBackground" + android:orientation="horizontal"> - + android:layout_weight="1" + android:orientation="vertical" + android:padding="16dp"> - + + + + + + - - - - + \ No newline at end of file diff --git a/src/main/res/layout/product_item.xml b/src/main/res/layout/product_item.xml index 2a3e9833..e820fa56 100644 --- a/src/main/res/layout/product_item.xml +++ b/src/main/res/layout/product_item.xml @@ -1,65 +1,69 @@ - + xmlns:tools="http://schemas.android.com/tools"> - + + + + - - + android:layout_height="72dp"> + android:layout_height="match_parent" + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingHorizontal="10dp"> + + + android:layout_gravity="center_vertical" + android:layout_marginStart="14dp" + android:orientation="vertical"> + + + + + + + + - - - + android:textAppearance="?textAppearanceBody2" + android:textColor="?android:attr/textColorSecondary" /> - - - - - - - + + \ No newline at end of file diff --git a/src/main/res/layout/release_item.xml b/src/main/res/layout/release_item.xml index 1cf8ad61..830aa9c2 100644 --- a/src/main/res/layout/release_item.xml +++ b/src/main/res/layout/release_item.xml @@ -1,99 +1,106 @@ - + - + + + + + android:layout_height="wrap_content"> + android:baselineAligned="false" + android:gravity="center_vertical" + android:orientation="vertical" + android:padding="16dp"> + + + + + + + + + + + + + + + android:textColor="?android:attr/textColorSecondary" + android:textSize="14sp" /> + android:textColor="?android:attr/textColorSecondary" + android:textSize="14sp" /> - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/src/main/res/layout/repository_item.xml b/src/main/res/layout/repository_item.xml index 80009afe..d5662e1a 100644 --- a/src/main/res/layout/repository_item.xml +++ b/src/main/res/layout/repository_item.xml @@ -1,36 +1,43 @@ - + - + + + + + android:layout_height="wrap_content" + android:layout_marginHorizontal="@dimen/text_margin" + android:layout_marginVertical="8dp"> - + - - + - - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/src/main/res/layout/section_item.xml b/src/main/res/layout/section_item.xml index f0def287..a2b6e477 100644 --- a/src/main/res/layout/section_item.xml +++ b/src/main/res/layout/section_item.xml @@ -1,25 +1,32 @@ - + - + + + + + android:background="?android:attr/selectableItemBackground" + android:orientation="horizontal" + android:padding="16dp"> - + - + + + + \ No newline at end of file diff --git a/src/main/res/layout/switch_item.xml b/src/main/res/layout/switch_item.xml index daf75a88..ebea51c5 100644 --- a/src/main/res/layout/switch_item.xml +++ b/src/main/res/layout/switch_item.xml @@ -1,9 +1,16 @@ - \ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/src/main/res/layout/tabs_toolbar.xml b/src/main/res/layout/tabs_toolbar.xml index 99cad229..f2a4f571 100644 --- a/src/main/res/layout/tabs_toolbar.xml +++ b/src/main/res/layout/tabs_toolbar.xml @@ -1,51 +1,58 @@ - + - + + + + + android:layout_height="wrap_content" + android:orientation="vertical"> - - - + android:backgroundTint="?attr/colorSurface" /> - + + + android:orientation="horizontal" + android:paddingStart="12dp" + android:paddingEnd="12dp" + tools:ignore="UselessParent"> - + - + - + - + + + + \ No newline at end of file diff --git a/src/main/res/layout/title_text_item.xml b/src/main/res/layout/title_text_item.xml index 1da93e11..7ee73d67 100644 --- a/src/main/res/layout/title_text_item.xml +++ b/src/main/res/layout/title_text_item.xml @@ -1,23 +1,29 @@ - + - + + + + + android:orientation="vertical" + android:paddingHorizontal="16dp" + android:paddingVertical="8dp"> - + - + + + \ No newline at end of file