parent
5be83fe731
commit
653ac9520c
@ -1,13 +1,87 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
<FrameLayout 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" |
xmlns:tools="http://schemas.android.com/tools" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="match_parent" |
android:layout_height="match_parent" |
||||||
tools:context=".ui.main.ui.forum.ForumHotFragment"> |
tools:context=".ui.main.ui.forum.ForumHotFragment"> |
||||||
|
|
||||||
|
|
||||||
|
<ScrollView |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
tools:ignore="UselessParent"> |
||||||
|
|
||||||
|
<LinearLayout |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:orientation="vertical"> |
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout |
||||||
|
android:id="@+id/active_user" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="200dp" |
||||||
|
android:layout_marginTop="@dimen/size_50" |
||||||
|
android:background="@drawable/border"> |
||||||
|
|
||||||
<TextView |
<TextView |
||||||
android:id="@+id/text_hot" |
android:id="@+id/active_user_text" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_marginTop="16dp" |
||||||
|
android:gravity="center" |
||||||
|
android:text="@string/active_user" |
||||||
|
android:textSize="24sp" |
||||||
|
app:layout_constraintEnd_toEndOf="parent" |
||||||
|
app:layout_constraintStart_toStartOf="parent" |
||||||
|
app:layout_constraintTop_toTopOf="parent" |
||||||
|
tools:layout_constraintTop_toTopOf="parent" /> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout |
||||||
|
android:id="@+id/hot_topic" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="200dp" |
||||||
|
android:layout_marginTop="@dimen/size_50" |
||||||
|
android:background="@drawable/border"> |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:id="@+id/hot_topic_text" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_marginTop="16dp" |
||||||
|
android:gravity="center" |
||||||
|
android:text="@string/hot_topic" |
||||||
|
android:textSize="24sp" |
||||||
|
app:layout_constraintEnd_toEndOf="parent" |
||||||
|
app:layout_constraintStart_toStartOf="parent" |
||||||
|
app:layout_constraintTop_toTopOf="parent" |
||||||
|
tools:layout_constraintTop_toTopOf="parent" /> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||||
|
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout |
||||||
|
android:id="@+id/hot_events" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" /> |
android:layout_height="200dp" |
||||||
|
android:layout_marginTop="@dimen/size_50" |
||||||
|
android:background="@drawable/border"> |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:id="@+id/hot_events_text" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:layout_marginTop="16dp" |
||||||
|
android:gravity="center" |
||||||
|
android:text="@string/hot_events" |
||||||
|
android:textSize="24sp" |
||||||
|
app:layout_constraintEnd_toEndOf="parent" |
||||||
|
app:layout_constraintStart_toStartOf="parent" |
||||||
|
app:layout_constraintTop_toTopOf="parent" |
||||||
|
tools:layout_constraintTop_toTopOf="parent" /> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||||
|
</LinearLayout> |
||||||
|
</ScrollView> |
||||||
</FrameLayout> |
</FrameLayout> |
Loading…
Reference in new issue