2014-07-03 07:48:39 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
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"/>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/element_spacing_xsmall"
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_above="@id/profile_name_container"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:background="@drawable/shadow_top"/>
|
|
|
|
|
|
|
|
<!--<View-->
|
2014-11-21 04:00:46 +01:00
|
|
|
<!--android:id="@+id/profile_layer_bottom"-->
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
<!--android:layout_height="match_parent"-->
|
2014-11-26 08:30:05 +01:00
|
|
|
<!--android:layout_alignBottom="@id/card"-->
|
|
|
|
<!--android:layout_alignTop="@id/profile_name_container"/>-->
|
2014-11-21 04:00:46 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.CircularImageView
|
|
|
|
android:id="@+id/profile_image"
|
|
|
|
style="?profileImageStyleLarge"
|
|
|
|
android:layout_width="@dimen/icon_size_user_profile"
|
|
|
|
android:layout_height="@dimen/icon_size_user_profile"
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_alignBottom="@id/profile_name_container"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_marginLeft="@dimen/element_spacing_normal"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:contentDescription="@string/profile_image"
|
|
|
|
android:src="@drawable/ic_profile_image_default"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-11-22 15:12:54 +01:00
|
|
|
<ImageView
|
|
|
|
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"
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_alignBottom="@id/profile_image"
|
|
|
|
android:layout_alignRight="@id/profile_image"
|
2014-11-22 15:12:54 +01:00
|
|
|
android:scaleType="fitCenter"/>
|
|
|
|
|
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-04 15:31:29 +01:00
|
|
|
android:paddingLeft="@dimen/element_spacing_small"
|
|
|
|
android:paddingRight="@dimen/element_spacing_small"
|
|
|
|
android:paddingTop="@dimen/element_spacing_xsmall"
|
|
|
|
android:paddingBottom="@dimen/element_spacing_xsmall"
|
2014-11-14 05:16:46 +01:00
|
|
|
app:ignorePadding="true">
|
|
|
|
|
2014-12-03 11:27:11 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/follow"
|
|
|
|
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"
|
|
|
|
android:minWidth="48dp"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-12-03 11:27:11 +01:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_toLeftOf="@id/follow"
|
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-11-21 04:00:46 +01:00
|
|
|
<android.support.v7.widget.CardView
|
2014-11-14 05:16:46 +01:00
|
|
|
android:id="@+id/card"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_below="@id/profile_name_container"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_margin="@dimen/element_spacing_normal"
|
|
|
|
app:cardBackgroundColor="?cardItemBackgroundColor"
|
|
|
|
app:cardCornerRadius="@dimen/corner_radius_card"
|
|
|
|
app:cardElevation="@dimen/elevation_card">
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
2014-12-03 11:27:11 +01:00
|
|
|
android:id="@+id/card_content"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:splitMotionEvents="false">
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-11-21 04:00:46 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/description_container"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-11-21 04:00:46 +01:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/description"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-11-21 04:00:46 +01:00
|
|
|
<org.mariotaku.twidere.view.HandleSpanClickTextView
|
|
|
|
android:id="@+id/description"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-11-21 04:00:46 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/location_container"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:text="@string/location"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-11-21 04:00:46 +01:00
|
|
|
android:id="@+id/location"
|
|
|
|
android:layout_width="match_parent"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-11-21 04:00:46 +01:00
|
|
|
android:id="@+id/url_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:text="@string/url"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
2014-11-21 04:00:46 +01:00
|
|
|
<org.mariotaku.twidere.view.HandleSpanClickTextView
|
|
|
|
android:id="@+id/url"
|
|
|
|
android:layout_width="match_parent"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:autoLink="web"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-11-21 04:00:46 +01:00
|
|
|
android:id="@+id/created_at_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:text="@string/created_at"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"/>
|
2014-11-14 05:16:46 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-11-21 04:00:46 +01:00
|
|
|
android:id="@+id/created_at"
|
2014-11-14 05:16:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
2014-11-21 04:00:46 +01:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0.2dp"
|
|
|
|
android:background="@color/divider_color"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/action_button_size"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:divider="@drawable/divider_vertical_small_holo"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:showDividers="middle"
|
|
|
|
android:splitMotionEvents="false">
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-12-01 10:15:20 +01:00
|
|
|
android:id="@+id/followers_container"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-12-01 10:15:20 +01:00
|
|
|
android:id="@+id/followers_count"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
|
|
android:textColor="?android:textColorPrimary"/>
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-12-01 10:15:20 +01:00
|
|
|
android:text="@string/followers"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-12-01 10:15:20 +01:00
|
|
|
android:id="@+id/friends_container"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-12-01 10:15:20 +01:00
|
|
|
android:id="@+id/friends_count"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
|
|
android:textColor="?android:textColorPrimary"/>
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-12-01 10:15:20 +01:00
|
|
|
android:text="@string/following"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2014-12-01 10:15:20 +01:00
|
|
|
android:id="@+id/listed_container"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/element_spacing_small">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-12-01 10:15:20 +01:00
|
|
|
android:id="@+id/listed_count"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
|
|
android:textColor="?android:textColorPrimary"/>
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2014-12-01 10:15:20 +01:00
|
|
|
android:text="@string/listed"
|
2014-11-21 04:00:46 +01:00
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2014-11-14 05:16:46 +01:00
|
|
|
</LinearLayout>
|
2014-12-03 11:27:11 +01:00
|
|
|
|
|
|
|
<include layout="@layout/layout_content_fragment_common"/>
|
|
|
|
|
2014-11-21 04:00:46 +01:00
|
|
|
</android.support.v7.widget.CardView>
|
2014-07-03 07:48:39 +02:00
|
|
|
|
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"
|
|
|
|
android:text="- Luna meae es -"
|
|
|
|
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>
|