From ef8308f21251fe0f0c6044f807e4393758f40629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20Pereira=20Fernandes?= Date: Wed, 13 Jan 2021 22:19:28 +0200 Subject: [PATCH 1/2] refactor(auth): remove RelativeLayout from activity_generic_idp.xml --- .../main/res/layout/activity_generic_idp.xml | 73 ++++++++++++------- 1 file changed, 46 insertions(+), 27 deletions(-) diff --git a/auth/app/src/main/res/layout/activity_generic_idp.xml b/auth/app/src/main/res/layout/activity_generic_idp.xml index 8018d0712..eca0fa021 100644 --- a/auth/app/src/main/res/layout/activity_generic_idp.xml +++ b/auth/app/src/main/res/layout/activity_generic_idp.xml @@ -1,5 +1,6 @@ - + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + android:text="@string/generic_title_text" + android:theme="@style/ThemeOverlay.MyTitleText" + app:layout_constraintEnd_toEndOf="@+id/icon" + app:layout_constraintStart_toStartOf="@+id/icon" + app:layout_constraintTop_toBottomOf="@+id/icon" /> + android:layout_marginTop="16dp" + android:text="@string/signed_out" + app:layout_constraintEnd_toEndOf="@+id/titleText" + app:layout_constraintStart_toStartOf="@+id/titleText" + app:layout_constraintTop_toBottomOf="@+id/titleText" /> - - - + android:layout_marginTop="16dp" + android:text="@string/generic_label_provider" + android:textSize="16sp" + android:textStyle="bold" + app:layout_constraintStart_toStartOf="@+id/detail" + app:layout_constraintTop_toBottomOf="@+id/detail" /> - + - + - + Date: Wed, 13 Jan 2021 22:20:37 +0200 Subject: [PATCH 2/2] refactor(analytics): use FrameLayout in fragment_main.xml --- analytics/app/src/main/res/layout/fragment_main.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/analytics/app/src/main/res/layout/fragment_main.xml b/analytics/app/src/main/res/layout/fragment_main.xml index 662887f05..265769b25 100644 --- a/analytics/app/src/main/res/layout/fragment_main.xml +++ b/analytics/app/src/main/res/layout/fragment_main.xml @@ -12,7 +12,7 @@ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - - +