From b41ff4b238b7740984eb9862e2a4123dbfd84819 Mon Sep 17 00:00:00 2001 From: ErikWaegerle Date: Tue, 26 May 2020 01:13:13 +0200 Subject: [PATCH] Changes to the layout 1.) Increase the number of stars to 4 2.) Creation of the button "Start DailySudoku" 3.) Positioning of the individual elements in the layout --- .../main/res/layout/activity_daily_sudoku.xml | 850 ++++++++++-------- 1 file changed, 479 insertions(+), 371 deletions(-) diff --git a/app/src/main/res/layout/activity_daily_sudoku.xml b/app/src/main/res/layout/activity_daily_sudoku.xml index 16983d5..18bfd7d 100644 --- a/app/src/main/res/layout/activity_daily_sudoku.xml +++ b/app/src/main/res/layout/activity_daily_sudoku.xml @@ -1,417 +1,525 @@ - + app:statusBarBackground="?attr/colorPrimary"> - - - - - - - - - - - + app:layout_constraintBottom_toTopOf="@+id/main_content" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + + + + + + + + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingBottom="@dimen/activity_vertical_margin" + android:weightSum="10" + tools:context="org.secuso.privacyfriendlysudoku.ui.StatsActivity$PlaceholderFragment"> - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + android:foregroundGravity="center_vertical" /> + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + android:weightSum="3"> - - - - - - - - - - - - - + android:gravity="center_vertical"> - - - - + + - - - - - - - - - - - - - + android:layout_weight="1" + android:gravity="center_vertical"> - - - - + - - - - + + - - - - - - - - + + + + + + + + + + + - + android:gravity="center_vertical"> - - - - + + - + + + + + + + + + + + + + + + + - - - + android:weightSum="3"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + android:layout_width="wrap_content" + android:layout_height="0dp" + app:layout_behavior="@string/appbar_scrolling_view_behavior" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="@+id/linearLayout6" + app:layout_constraintTop_toBottomOf="@+id/linearLayout6" > + + - \ No newline at end of file + \ No newline at end of file