mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-04-21 04:20:56 +00:00
68 lines
2.4 KiB
XML
68 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/fragment_user_page"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
style="@style/UserPageHeader"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<!-- User name and account image -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/user_account_image"
|
|
android:layout_width="@dimen/account_image_default_width"
|
|
android:layout_height="@dimen/account_image_default_height"
|
|
android:contentDescription="@string/user_image_description"
|
|
android:src="@drawable/default_account_image" />
|
|
|
|
<TextView
|
|
android:id="@+id/user_account_name"
|
|
style="@style/UserPageName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
tools:text="User name" />
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1" />
|
|
|
|
<ImageView
|
|
android:id="@+id/create_post_button"
|
|
style="@style/AddUserPostButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/btn_show_create_form_description"
|
|
android:src="@android:drawable/ic_menu_add" />
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
<!-- Include post creation form -->
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/create_post_form"
|
|
layout="@layout/post_create_form" />
|
|
|
|
<!-- User posts -->
|
|
<FrameLayout
|
|
android:id="@+id/user_posts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"/>
|
|
|
|
</LinearLayout> |