2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
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="wrap_content"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<RelativeLayout
|
2020-05-22 14:02:16 +02:00
|
|
|
android:id="@+id/aboutFrame"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_height="200dp"
|
|
|
|
android:gravity="top"
|
|
|
|
android:orientation="vertical">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-06-06 22:04:07 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userAvatarBackground"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
android:scaleType="centerCrop" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-06-06 22:04:07 +02:00
|
|
|
<eightbitlab.com.blurview.BlurView
|
|
|
|
android:id="@+id/blurView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:blurOverlayColor="@color/blurColor">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/layoutFrameAccount"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userAvatar"
|
|
|
|
android:layout_width="54dp"
|
|
|
|
android:layout_height="54dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
android:src="@mipmap/app_logo_round" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userFullName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userLogin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<View
|
2020-06-25 01:27:13 +02:00
|
|
|
android:id="@+id/divider"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:background="@color/colorWhite" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<ImageView
|
2020-06-24 23:02:22 +02:00
|
|
|
android:id="@+id/userLanguageIcon"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="18dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
android:src="@drawable/ic_language"
|
|
|
|
app:tint="@color/colorWhite" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userLanguage"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</eightbitlab.com.blurview.BlurView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
app:tabMode="scrollable"
|
|
|
|
app:tabTextAppearance="@style/customTabLayout"
|
|
|
|
android:layout_width="match_parent"
|
2020-03-05 16:23:15 +01:00
|
|
|
app:tabTextColor="?attr/primaryTextColor"
|
2020-03-05 21:56:42 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/profileTabFollowers"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/profileTabFollowers" />
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/profileTabFollowing"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/profileTabFollowing" />
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:id="@+id/profileTabEmails"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/profileTabEmails" />
|
|
|
|
|
|
|
|
</com.google.android.material.tabs.TabLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
|
2020-06-06 22:04:07 +02:00
|
|
|
</LinearLayout>
|