2014-07-03 07:48:39 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-12-24 05:39:21 +01:00
|
|
|
<!--
|
|
|
|
~ Twidere - Twitter client for Android
|
|
|
|
~
|
|
|
|
~ Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
|
|
|
|
~
|
|
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
|
|
~ it under the terms of the GNU General Public License as published by
|
|
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
|
|
~ (at your option) any later version.
|
|
|
|
~
|
|
|
|
~ This program is distributed in the hope that it will be useful,
|
|
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
~ GNU General Public License for more details.
|
|
|
|
~
|
|
|
|
~ You should have received a copy of the GNU General Public License
|
|
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
|
2014-11-14 05:16:46 +01:00
|
|
|
<RelativeLayout
|
2014-11-21 04:00:46 +01:00
|
|
|
android:id="@+id/header_user_profile"
|
2014-11-14 05:16:46 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
2014-12-01 08:00:37 +01:00
|
|
|
android:layout_height="wrap_content">
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-12-01 08:00:37 +01:00
|
|
|
<org.mariotaku.twidere.view.ProfileBannerSpace
|
2014-11-14 05:16:46 +01:00
|
|
|
android:id="@+id/profile_banner_space"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
2014-12-03 11:27:11 +01:00
|
|
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
2014-11-14 05:16:46 +01:00
|
|
|
android:id="@+id/profile_name_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_below="@id/profile_banner_space"
|
|
|
|
android:layout_toRightOf="@id/profile_image"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:orientation="vertical"
|
2014-12-07 16:13:07 +01:00
|
|
|
android:paddingBottom="@dimen/element_spacing_xsmall"
|
2014-12-04 15:31:29 +01:00
|
|
|
android:paddingLeft="@dimen/element_spacing_small"
|
|
|
|
android:paddingRight="@dimen/element_spacing_small"
|
|
|
|
android:paddingTop="@dimen/element_spacing_xsmall"
|
2014-11-14 05:16:46 +01:00
|
|
|
app:ignorePadding="true">
|
|
|
|
|
2014-12-07 16:13:07 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/follow_container"
|
2014-12-03 11:27:11 +01:00
|
|
|
android:layout_width="wrap_content"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-12-03 11:27:11 +01:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerInParent="true"
|
2014-12-07 16:13:07 +01:00
|
|
|
android:minWidth="48dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/follow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/follow_progress"
|
|
|
|
style="?android:progressBarStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-12-07 16:13:07 +01:00
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_toLeftOf="@id/follow_container"
|
2014-12-04 15:31:29 +01:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="@dimen/element_size_normal"
|
2014-12-03 11:27:11 +01:00
|
|
|
android:orientation="vertical">
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-12-03 11:27:11 +01:00
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="match_parent"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-12-03 11:27:11 +01:00
|
|
|
android:textAppearance="?android:textAppearanceMedium"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-12-03 11:27:11 +01:00
|
|
|
android:id="@+id/screen_name"
|
|
|
|
android:layout_width="match_parent"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-12-03 11:27:11 +01:00
|
|
|
android:textAppearance="?android:textAppearanceSmall"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
</LinearLayout>
|
2014-12-03 11:27:11 +01:00
|
|
|
|
|
|
|
</org.mariotaku.twidere.view.ColorLabelRelativeLayout>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-12-05 14:25:27 +01:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/element_spacing_xsmall"
|
|
|
|
android:layout_above="@id/profile_name_container"
|
|
|
|
android:background="@drawable/shadow_top"/>
|
|
|
|
|
2015-01-17 19:58:29 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/profile_details_container"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-01-17 19:58:29 +01:00
|
|
|
android:layout_below="@id/profile_name_container"/>
|
2014-07-03 07:48:39 +02:00
|
|
|
|
2014-12-24 05:39:21 +01:00
|
|
|
<org.mariotaku.twidere.view.ShapedImageView
|
2014-12-05 14:25:27 +01:00
|
|
|
android:id="@+id/profile_image"
|
|
|
|
style="?profileImageStyleLarge"
|
|
|
|
android:layout_width="@dimen/icon_size_user_profile"
|
|
|
|
android:layout_height="@dimen/icon_size_user_profile"
|
|
|
|
android:layout_alignBottom="@id/profile_name_container"
|
|
|
|
android:layout_marginLeft="@dimen/element_spacing_normal"
|
|
|
|
android:contentDescription="@string/profile_image"
|
|
|
|
android:src="@drawable/ic_profile_image_default"/>
|
|
|
|
|
2015-01-17 19:58:29 +01:00
|
|
|
<org.mariotaku.twidere.view.BoundsImageView
|
2014-12-05 14:25:27 +01:00
|
|
|
android:id="@+id/profile_type"
|
|
|
|
style="@style/Widget.ProfileType"
|
|
|
|
android:layout_width="@dimen/icon_size_profile_type_user_profile"
|
|
|
|
android:layout_height="@dimen/icon_size_profile_type_user_profile"
|
|
|
|
android:layout_alignBottom="@id/profile_image"
|
|
|
|
android:layout_alignRight="@id/profile_image"
|
|
|
|
android:scaleType="fitCenter"/>
|
|
|
|
|
2014-12-01 17:04:55 +01:00
|
|
|
<org.mariotaku.twidere.view.AssetFontTextView
|
|
|
|
android:id="@+id/uucky_footer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/card"
|
|
|
|
android:alpha="0.2"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="@dimen/element_spacing_small"
|
2014-12-12 14:53:18 +01:00
|
|
|
android:text="@string/uucky_footer_text"
|
2014-12-01 17:04:55 +01:00
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="10sp"
|
|
|
|
android:textStyle="italic"
|
|
|
|
android:typeface="serif"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:fontPath="fonts/LibreBaskerville-Italic.ttf"/>
|
|
|
|
|
|
|
|
|
2014-07-03 07:48:39 +02:00
|
|
|
</RelativeLayout>
|