AutorÃa | Ultima modificación | Ver Log |
<?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:background="@color/cardviewBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".fragment.TimelineFragment">
<LinearLayout
android:id="@+id/fragment_userprofile_header"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height"
android:background="@drawable/side_nav_bar"
android:gravity="bottom"
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:theme="@style/ThemeOverlay.AppCompat.Dark"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
>
<androidx.cardview.widget.CardView
android:layout_width="80dp"
android:layout_height="80dp"
app:cardCornerRadius="50dp">
<ImageView
android:id="@+id/fragment_userprofile_header_user_image"
android:layout_width="80dp"
android:layout_height="80dp"
android:scaleType="centerCrop"
android:background="@drawable/user_image_circular" />x
</androidx.cardview.widget.CardView>
<TextView
style="@style/textview_title1"
android:id="@+id/fragment_userprofile_header_user_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/nav_header_vertical_spacing"
android:text="@string/nav_header_title"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
<TextView
style="@style/textview_title2"
android:id="@+id/fragment_userprofile_header_header_user_email"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nav_header_subtitle" />
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="@color/windowBackgroud"
android:fillViewport="true"
android:fitsSystemWindows="true"
android:layout_marginTop="10dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fragment_userprofile_header">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/fragment_userprofile_listview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/windowBackgroundTopic" />
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>