1 |
efrain |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
3 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
4 |
xmlns:tools="http://schemas.android.com/tools"
|
|
|
5 |
android:background="@color/cardviewBackground"
|
|
|
6 |
android:layout_width="match_parent"
|
|
|
7 |
android:layout_height="match_parent"
|
|
|
8 |
tools:context=".fragment.TimelineFragment">
|
|
|
9 |
|
|
|
10 |
<LinearLayout
|
|
|
11 |
android:id="@+id/fragment_timeline_header"
|
|
|
12 |
android:layout_width="match_parent"
|
|
|
13 |
android:layout_height="@dimen/nav_header_height"
|
|
|
14 |
android:background="@drawable/side_nav_bar"
|
|
|
15 |
android:gravity="bottom"
|
|
|
16 |
android:orientation="vertical"
|
|
|
17 |
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
18 |
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
19 |
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
20 |
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
21 |
android:theme="@style/ThemeOverlay.AppCompat.Dark"
|
|
|
22 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
23 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
24 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
25 |
>
|
|
|
26 |
|
|
|
27 |
<androidx.cardview.widget.CardView
|
|
|
28 |
android:layout_width="80dp"
|
|
|
29 |
android:layout_height="80dp"
|
|
|
30 |
app:cardCornerRadius="50dp">
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
<ImageView
|
|
|
35 |
android:id="@+id/fragment_timeline_header_user_image"
|
|
|
36 |
android:layout_width="80dp"
|
|
|
37 |
android:layout_height="80dp"
|
|
|
38 |
android:scaleType="centerCrop"
|
|
|
39 |
android:background="@drawable/user_image_circular" />x
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
</androidx.cardview.widget.CardView>
|
|
|
44 |
|
|
|
45 |
<TextView
|
|
|
46 |
style="@style/textview_title1"
|
|
|
47 |
android:id="@+id/fragment_timeline_header_user_name"
|
|
|
48 |
android:layout_width="match_parent"
|
|
|
49 |
android:layout_height="wrap_content"
|
|
|
50 |
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
|
|
51 |
android:text="@string/nav_header_title"
|
|
|
52 |
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
|
53 |
|
|
|
54 |
<TextView
|
|
|
55 |
style="@style/textview_title2"
|
|
|
56 |
android:id="@+id/fragment_timeline_header_header_user_email"
|
|
|
57 |
android:layout_width="wrap_content"
|
|
|
58 |
android:layout_height="wrap_content"
|
|
|
59 |
android:text="@string/nav_header_subtitle" />
|
|
|
60 |
</LinearLayout>
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
<ScrollView
|
|
|
64 |
android:layout_width="match_parent"
|
|
|
65 |
android:layout_height="0dp"
|
|
|
66 |
android:background="@color/windowBackgroud"
|
|
|
67 |
android:fillViewport="true"
|
|
|
68 |
android:fitsSystemWindows="true"
|
|
|
69 |
android:layout_marginTop="10dp"
|
|
|
70 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
71 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
72 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
73 |
app:layout_constraintTop_toBottomOf="@+id/fragment_timeline_header">
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
<androidx.recyclerview.widget.RecyclerView
|
|
|
77 |
android:id="@+id/fragment_timeline_listview"
|
|
|
78 |
android:layout_width="match_parent"
|
|
|
79 |
android:layout_height="match_parent"
|
|
|
80 |
android:background="@color/windowBackgroundTopic" />
|
|
|
81 |
|
|
|
82 |
</ScrollView>
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
</androidx.constraintlayout.widget.ConstraintLayout>
|