mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
* Fixed #3910 Truncated Spinners * Added AutoScroll for Leaderboard Rank * Revert Irrelevant Change * Fixed Bounce Back Issue * Fixed Incorrect UserRank Issue on Rotation * Fixed Overlapping issue * As per java convention
65 lines
2.2 KiB
XML
65 lines
2.2 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/filters"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1"
|
|
android:layout_margin="20dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<Spinner
|
|
android:layout_marginStart="20dp"
|
|
android:id="@+id/duration_spinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_weight="0.5"
|
|
android:layout_height="match_parent" />
|
|
|
|
<Spinner
|
|
android:layout_marginEnd="20dp"
|
|
android:id="@+id/category_spinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_weight="0.5"
|
|
android:layout_height="match_parent" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/leaderboard_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/filters" />
|
|
|
|
<Button
|
|
android:text="@string/leaderboard_my_rank_button_text"
|
|
android:id="@+id/scroll"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="@+id/leaderboard_list"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/leaderboard_list" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|