2014-11-09 06:02:43 +01: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-25 16:15:05 +01:00
|
|
|
<RelativeLayout
|
2014-11-09 06:02:43 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-01-30 15:27:22 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-03-14 16:11:20 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2014-11-25 16:15:05 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-03-21 15:53:26 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:layout_height="160dp"
|
|
|
|
tools:layout_width="280dp">
|
2014-11-09 06:02:43 +01:00
|
|
|
|
|
|
|
<ImageView
|
2014-12-03 11:27:11 +01:00
|
|
|
android:id="@+id/account_profile_banner"
|
2014-11-09 06:02:43 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2014-11-25 16:15:05 +01:00
|
|
|
android:layout_alignBottom="@id/profile_container"
|
|
|
|
android:layout_alignTop="@id/profile_container"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:alpha="0.5"
|
2014-11-25 16:15:05 +01:00
|
|
|
android:contentDescription="@string/profile_banner"
|
2015-03-21 15:53:26 +01:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:src="@drawable/nyan_stars_background"/>
|
2014-11-09 06:02:43 +01:00
|
|
|
|
2014-11-26 17:22:40 +01:00
|
|
|
<FrameLayout
|
2014-11-25 16:15:05 +01:00
|
|
|
android:id="@+id/profile_container"
|
2014-11-09 06:02:43 +01:00
|
|
|
android:layout_width="match_parent"
|
2014-12-04 15:31:29 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:foreground="?android:selectableItemBackground">
|
2014-11-09 06:02:43 +01:00
|
|
|
|
2014-11-26 17:22:40 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2014-11-09 06:02:43 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:paddingBottom="@dimen/element_spacing_normal"
|
|
|
|
android:paddingLeft="@dimen/element_spacing_large"
|
|
|
|
android:paddingRight="@dimen/element_spacing_large"
|
|
|
|
android:paddingTop="@dimen/element_spacing_normal">
|
2014-11-09 06:02:43 +01:00
|
|
|
|
2014-12-24 05:39:21 +01:00
|
|
|
<org.mariotaku.twidere.view.ShapedImageView
|
2014-11-26 17:22:40 +01:00
|
|
|
android:id="@+id/profile_image"
|
2014-12-24 05:39:21 +01:00
|
|
|
style="?profileImageStyle"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:layout_width="@dimen/icon_size_profile_image_dashboard_current"
|
|
|
|
android:layout_height="@dimen/icon_size_profile_image_dashboard_current"
|
|
|
|
android:layout_marginBottom="@dimen/element_spacing_mlarge"
|
2015-01-30 15:27:22 +01:00
|
|
|
android:layout_marginTop="@dimen/element_spacing_mlarge"
|
|
|
|
app:sivBorder="true"
|
2015-03-14 16:11:20 +01:00
|
|
|
app:sivBorderWidth="2dp"
|
2015-03-21 15:53:26 +01:00
|
|
|
tools:src="@mipmap/ic_launcher"/>
|
2014-11-25 16:15:05 +01:00
|
|
|
|
2014-11-26 17:22:40 +01:00
|
|
|
<android.support.v7.widget.RecyclerView
|
2014-12-03 11:27:11 +01:00
|
|
|
android:id="@+id/other_accounts_list"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:layout_width="wrap_content"
|
2014-11-25 16:15:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:layout_alignBottom="@id/profile_image"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignTop="@id/profile_image"
|
|
|
|
android:layout_marginBottom="@dimen/element_spacing_large"
|
|
|
|
android:layout_toRightOf="@id/profile_image"/>
|
2014-11-26 08:30:05 +01:00
|
|
|
|
2014-11-26 17:22:40 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_below="@id/profile_image"
|
|
|
|
android:gravity="center_vertical"
|
2015-03-21 15:53:26 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:baselineAligned="false">
|
2014-11-26 17:22:40 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2014-11-26 08:30:05 +01:00
|
|
|
|
2015-01-14 09:47:51 +01:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-11-26 17:22:40 +01:00
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-14 16:11:20 +01:00
|
|
|
android:singleLine="true"
|
2014-11-26 17:22:40 +01:00
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
2015-03-14 16:11:20 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="Name"/>
|
2014-11-26 17:22:40 +01:00
|
|
|
|
2015-01-14 09:47:51 +01:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2014-11-26 17:22:40 +01:00
|
|
|
android:id="@+id/screen_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-14 16:11:20 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:textAppearanceSmall"
|
|
|
|
tools:text="\@username"/>
|
2014-11-26 17:22:40 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2015-03-14 16:11:20 +01:00
|
|
|
<FrameLayout
|
2014-11-26 08:30:05 +01:00
|
|
|
android:layout_width="wrap_content"
|
2015-03-14 16:11:20 +01:00
|
|
|
android:layout_height="@dimen/element_size_normal">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.TwidereActionMenuView
|
|
|
|
android:id="@+id/toggle_menu"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
2014-11-26 08:30:05 +01:00
|
|
|
</LinearLayout>
|
2014-11-26 17:22:40 +01:00
|
|
|
</RelativeLayout>
|
2015-03-21 15:53:26 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/floating_profile_image_snapshot"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:visibility="invisible"
|
|
|
|
tools:ignore="ContentDescription"/>
|
2014-11-26 17:22:40 +01:00
|
|
|
</FrameLayout>
|
2014-11-09 06:02:43 +01:00
|
|
|
|
2014-11-25 16:15:05 +01:00
|
|
|
</RelativeLayout>
|