Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu Féry
mobile21
Commits
970e7e28
Commit
970e7e28
authored
Dec 11, 2020
by
Mathilde BALLOUHEY
Browse files
Ajout vue paysage Home
parent
1642f77a
Pipeline
#23273
failed with stages
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/layout-land/layout_home.xml
0 → 100644
View file @
970e7e28
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
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:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".HomeActivity"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_margin=
"8dp"
android:layout_weight=
"1"
>
<LinearLayout
android:id=
"@+id/linearLayout4"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/lbl_home_titleSystem"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"System"
/>
<Spinner
android:id=
"@+id/spnr_home_system"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
android:layout_weight=
"1"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/lbl_home_titleClass"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"Class"
/>
<Spinner
android:id=
"@+id/spnr_home_class"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"8dp"
/>
</LinearLayout>
</LinearLayout>
<TextView
android:id=
"@+id/lbl_home_nbResult"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"24dp"
android:text=
"Nb Results"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/linearLayout4"
/>
<EditText
android:id=
"@+id/txt_home_nbResult"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:ems=
"10"
android:inputType=
"numberDecimal"
android:text=
"1"
android:textColor=
"@color/white"
app:layout_constraintBottom_toBottomOf=
"@+id/lbl_home_nbResult"
app:layout_constraintStart_toEndOf=
"@+id/lbl_home_nbResult"
app:layout_constraintTop_toTopOf=
"@+id/lbl_home_nbResult"
/>
<SeekBar
android:id=
"@+id/skbr_home_nbResult"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:max=
"49"
android:progress=
"0"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/txt_home_nbResult"
/>
<Button
android:id=
"@+id/btn_home_generate"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:text=
"Generate"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/skbr_home_nbResult"
/>
<Button
android:id=
"@+id/btn_home_delFav"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:text=
"Delete Favourites"
android:textAllCaps=
"false"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/btn_home_generate"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_margin=
"8dp"
android:layout_weight=
"1"
>
<TextView
android:id=
"@+id/lbl_home_favourites"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"My Favourites"
app:layout_constraintBottom_toBottomOf=
"@+id/radioGroup"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<RadioGroup
android:id=
"@+id/radioGroup"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:checkedButton=
"@id/rdbtn_home_bySystem"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/lbl_home_favourites"
app:layout_constraintTop_toTopOf=
"parent"
>
<RadioButton
android:id=
"@+id/rdbtn_home_bySystem"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"By System"
android:textColor=
"@color/white"
/>
<RadioButton
android:id=
"@+id/rdbtn_home_byClass"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:text=
"By Class"
android:textColor=
"@color/white"
/>
</RadioGroup>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rclr_home_favourites"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/radioGroup"
tools:listitem=
"@layout/layout_pattern_results"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment