2015-05-04 08:23:47 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2015-01-04 16:12:10 +01:00
|
|
|
~ Twidere - Twitter client for Android
|
|
|
|
~
|
|
|
|
~ Copyright (C) 2012-2015 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/>.
|
|
|
|
-->
|
2015-12-17 15:20:26 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/card_content"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-01-04 16:12:10 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-04-24 19:00:07 +02:00
|
|
|
android:background="?selectableItemBackground"
|
2015-04-22 10:36:56 +02:00
|
|
|
android:focusable="true"
|
2015-04-11 23:16:13 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:splitMotionEvents="false">
|
2015-01-04 16:12:10 +01:00
|
|
|
|
2015-08-08 15:10:06 +02:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
|
|
|
android:id="@+id/retweeted_by"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-04-24 19:00:07 +02:00
|
|
|
android:background="?selectableItemBackground"
|
2015-08-08 15:10:06 +02:00
|
|
|
android:drawableLeft="@drawable/ic_indicator_retweet"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:drawableStart="@drawable/ic_indicator_retweet"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="@dimen/element_size_small"
|
|
|
|
android:padding="@dimen/element_spacing_normal"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:text="Retweeted by Mariotaku"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.ColorLabelRelativeLayout
|
|
|
|
android:id="@+id/profile_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-08-08 15:10:06 +02:00
|
|
|
android:layout_below="@+id/retweeted_by"
|
2015-04-24 19:00:07 +02:00
|
|
|
android:background="?selectableItemBackground"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:padding="@dimen/element_spacing_small"
|
|
|
|
app:ignorePadding="true">
|
|
|
|
|
2015-06-06 17:15:33 +02:00
|
|
|
<org.mariotaku.twidere.view.ProfileImageView
|
2015-01-04 16:12:10 +01:00
|
|
|
android:id="@+id/profile_image"
|
|
|
|
style="?profileImageStyle"
|
2015-01-22 12:16:22 +01:00
|
|
|
android:layout_width="@dimen/icon_size_card_details"
|
|
|
|
android:layout_height="@dimen/icon_size_card_details"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_alignParentLeft="true"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_alignParentStart="true"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_margin="@dimen/padding_profile_image_detail_page"
|
|
|
|
android:contentDescription="@string/profile_image"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:sivBorder="true"
|
2015-12-17 15:20:26 +01:00
|
|
|
app:sivBorderWidth="1dp"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/profile_type"
|
|
|
|
android:layout_width="@dimen/icon_size_profile_type_detail"
|
|
|
|
android:layout_height="@dimen/icon_size_profile_type_detail"
|
|
|
|
android:layout_alignBottom="@id/profile_image"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_alignEnd="@id/profile_image"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_alignRight="@id/profile_image"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_marginBottom="@dimen/element_spacing_minus_small"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_marginEnd="@dimen/element_spacing_minus_small"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_marginRight="@dimen/element_spacing_minus_small"
|
2015-03-30 14:24:51 +02:00
|
|
|
android:scaleType="fitCenter"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:ignore="ContentDescription"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignBottom="@id/profile_image"
|
|
|
|
android:layout_alignTop="@id/profile_image"
|
|
|
|
android:layout_centerVertical="true"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_toEndOf="@id/profile_image"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_toLeftOf="@+id/follow_indicator"
|
|
|
|
android:layout_toRightOf="@id/profile_image"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_toStartOf="@+id/follow_indicator"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:paddingEnd="4dp"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:paddingLeft="8dp"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:paddingStart="8dp">
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2015-07-17 16:30:41 +02:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2015-01-04 16:12:10 +01:00
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2015-01-06 16:46:07 +01:00
|
|
|
android:textColor="?android:textColorPrimary"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:text="Name"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
2015-07-17 16:30:41 +02:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2015-01-04 16:12:10 +01:00
|
|
|
android:id="@+id/screen_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_marginStart="@dimen/element_spacing_small"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2015-01-06 16:46:07 +01:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:text="\@username"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2015-07-17 16:30:41 +02:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2015-01-04 16:12:10 +01:00
|
|
|
android:id="@+id/time_source"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/element_spacing_small"
|
|
|
|
android:gravity="center_vertical"
|
2015-01-19 18:46:14 +01:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:text="Jan 1 2015 0:00, via Twidere"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/follow_indicator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_alignParentEnd="true"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/follow"
|
|
|
|
style="?android:attr/buttonStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:text="@string/follow"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/follow_info_progress"
|
|
|
|
style="?android:attr/progressBarStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginLeft="8dp"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:layout_marginRight="8dp"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
</FrameLayout>
|
|
|
|
</org.mariotaku.twidere.view.ColorLabelRelativeLayout>
|
|
|
|
|
2015-04-07 18:36:54 +02:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.StatusTextView
|
2015-08-31 17:32:26 +02:00
|
|
|
android:id="@+id/text"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/profile_container"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_alignStart="@+id/profile_container"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_below="@id/profile_container"
|
|
|
|
android:layout_marginBottom="@dimen/element_spacing_small"
|
|
|
|
android:layout_marginTop="@dimen/element_spacing_normal"
|
|
|
|
android:paddingLeft="@dimen/element_spacing_normal"
|
|
|
|
android:paddingRight="@dimen/element_spacing_normal"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
2015-08-31 17:32:26 +02:00
|
|
|
android:visibility="visible"
|
2015-04-07 18:36:54 +02:00
|
|
|
tools:text="@string/sample_status_text"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/translate_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/text"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
|
|
|
android:id="@+id/translate_label"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:drawableLeft="@drawable/ic_indicator_web"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:drawableStart="@drawable/ic_indicator_web"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:padding="@dimen/element_spacing_normal"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/unknown_language"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:textColorSecondary"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/translate_result"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="@dimen/element_spacing_normal"
|
2016-02-09 05:18:36 +01:00
|
|
|
android:textColor="?android:textColorPrimary"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="@string/sample_status_text"/>
|
|
|
|
</LinearLayout>
|
2015-04-07 18:36:54 +02:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.ForegroundColorView
|
|
|
|
android:id="@+id/quote_indicator"
|
|
|
|
android:layout_width="@dimen/element_spacing_small"
|
|
|
|
android:layout_height="wrap_content"
|
2015-08-08 15:10:06 +02:00
|
|
|
android:layout_alignBottom="@+id/quote_original_link"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_alignTop="@+id/quoted_name_container"
|
|
|
|
android:layout_marginLeft="@dimen/element_spacing_normal"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_marginStart="@dimen/element_spacing_normal"
|
2015-08-31 17:32:26 +02:00
|
|
|
android:background="?quoteIndicatorBackgroundColor"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:visibility="gone"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:visibility="visible"/>
|
2015-04-07 18:36:54 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/quoted_name_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:layout_below="@+id/translate_container"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_toEndOf="@+id/quote_indicator"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_toRightOf="@+id/quote_indicator"
|
2015-04-25 18:17:04 +02:00
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:clickable="true"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="@dimen/element_spacing_normal"
|
|
|
|
android:paddingRight="@dimen/element_spacing_normal"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
2015-07-17 16:30:41 +02:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2015-04-07 18:36:54 +02:00
|
|
|
android:id="@+id/quoted_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:text="Name"/>
|
2015-04-07 18:36:54 +02:00
|
|
|
|
2015-07-17 16:30:41 +02:00
|
|
|
<org.mariotaku.twidere.view.themed.ThemedTextView
|
2015-04-07 18:36:54 +02:00
|
|
|
android:id="@+id/quoted_screen_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_marginStart="@dimen/element_spacing_small"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:text="\@username"/>
|
2015-04-07 18:36:54 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2015-08-31 17:32:26 +02:00
|
|
|
<org.mariotaku.twidere.view.StatusTextView
|
|
|
|
android:id="@+id/quoted_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/quoted_name_container"
|
|
|
|
android:layout_margin="@dimen/element_spacing_normal"
|
|
|
|
android:layout_toEndOf="@+id/quote_indicator"
|
|
|
|
android:layout_toRightOf="@+id/quote_indicator"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:textAppearance="?android:textAppearanceMedium"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="@string/sample_status_text"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:visibility="visible"/>
|
2015-08-31 17:32:26 +02:00
|
|
|
|
2015-04-08 08:33:07 +02:00
|
|
|
<FrameLayout
|
2015-04-07 18:36:54 +02:00
|
|
|
android:id="@+id/media_preview_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-08-31 17:32:26 +02:00
|
|
|
android:layout_below="@+id/quoted_text"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_toEndOf="@+id/quote_indicator"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_toRightOf="@+id/quote_indicator"
|
2015-04-08 08:33:07 +02:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.CardMediaContainer
|
|
|
|
android:id="@+id/media_preview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:horizontalSpacing="@dimen/element_spacing_xsmall"
|
|
|
|
android:verticalSpacing="@dimen/element_spacing_xsmall"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
2015-04-19 16:47:24 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/layout_card_media_preview"
|
2015-12-17 15:20:26 +01:00
|
|
|
tools:ignore="DuplicateIncludedIds"/>
|
2015-04-08 08:33:07 +02:00
|
|
|
|
|
|
|
</org.mariotaku.twidere.view.CardMediaContainer>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/media_preview_load"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/action_button_size"
|
|
|
|
android:layout_gravity="center"
|
2015-04-24 19:00:07 +02:00
|
|
|
android:background="?selectableItemBackground"
|
2015-04-08 08:33:07 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:drawableLeft="@drawable/ic_action_gallery"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:drawableStart="@drawable/ic_action_gallery"
|
2015-04-08 08:33:07 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/load_media"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:textStyle="bold"/>
|
2015-04-08 08:33:07 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
|
|
|
<org.mariotaku.twidere.view.TwitterCardContainer
|
|
|
|
android:id="@+id/twitter_card"
|
|
|
|
android:layout_width="match_parent"
|
2015-01-19 18:46:14 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-08-31 17:32:26 +02:00
|
|
|
android:layout_below="@+id/media_preview_container"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_toEndOf="@+id/quote_indicator"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_toRightOf="@+id/quote_indicator"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:visibility="gone"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
2015-04-19 16:47:24 +02:00
|
|
|
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
2015-03-30 08:46:08 +02:00
|
|
|
android:id="@+id/location_view"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_below="@+id/twitter_card"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:layout_toEndOf="@+id/quote_indicator"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_toRightOf="@+id/quote_indicator"
|
2015-04-24 19:00:07 +02:00
|
|
|
android:background="?selectableItemBackground"
|
2015-03-30 08:46:08 +02:00
|
|
|
android:drawableLeft="@drawable/ic_indicator_location"
|
|
|
|
android:drawablePadding="4dp"
|
2015-05-04 08:23:47 +02:00
|
|
|
android:drawableStart="@drawable/ic_indicator_location"
|
2015-03-30 08:46:08 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:padding="@dimen/element_spacing_normal"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/view_map"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:textColor="?android:textColorSecondary"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
2015-08-08 15:10:06 +02:00
|
|
|
<org.mariotaku.twidere.view.ActionIconThemedTextView
|
|
|
|
android:id="@+id/quote_original_link"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/location_view"
|
|
|
|
android:layout_toEndOf="@+id/quote_indicator"
|
|
|
|
android:layout_toRightOf="@+id/quote_indicator"
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:drawableLeft="@drawable/ic_indicator_twitter"
|
|
|
|
android:drawablePadding="4dp"
|
|
|
|
android:drawableStart="@drawable/ic_indicator_twitter"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:padding="@dimen/element_spacing_normal"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/original_status"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2015-12-17 15:20:26 +01:00
|
|
|
android:textColor="?android:textColorSecondary"/>
|
2015-08-08 15:10:06 +02:00
|
|
|
|
2015-01-04 16:12:10 +01:00
|
|
|
<LinearLayout
|
2016-02-07 08:45:53 +01:00
|
|
|
android:id="@+id/counts_users_height_holder"
|
|
|
|
android:layout_width="match_parent"
|
2015-01-04 16:12:10 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-08-08 15:10:06 +02:00
|
|
|
android:layout_below="@+id/quote_original_link"
|
2016-02-07 08:45:53 +01:00
|
|
|
android:orientation="horizontal">
|
2015-01-04 16:12:10 +01:00
|
|
|
|
2016-02-07 08:45:53 +01:00
|
|
|
<include layout="@layout/adapter_item_status_count_label"/>
|
2015-12-25 15:21:33 +01:00
|
|
|
|
2016-02-07 08:45:53 +01:00
|
|
|
<include layout="@layout/adapter_item_status_interact_user"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2016-02-07 08:45:53 +01:00
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/counts_users"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignBottom="@+id/counts_users_height_holder"
|
|
|
|
android:layout_alignTop="@+id/counts_users_height_holder"
|
|
|
|
android:layout_marginLeft="@dimen/element_spacing_small"
|
|
|
|
android:layout_marginRight="@dimen/element_spacing_small"
|
|
|
|
android:splitMotionEvents="false"/>
|
|
|
|
|
2015-04-22 16:19:26 +02:00
|
|
|
<android.support.v7.widget.ActionMenuView
|
2015-01-04 16:12:10 +01:00
|
|
|
android:id="@+id/menu_bar"
|
|
|
|
android:layout_width="match_parent"
|
2015-04-07 18:36:54 +02:00
|
|
|
android:layout_height="?android:actionBarSize"
|
2016-02-07 08:45:53 +01:00
|
|
|
android:layout_below="@+id/counts_users_height_holder"/>
|
2015-01-04 16:12:10 +01:00
|
|
|
|
2015-04-07 18:36:54 +02:00
|
|
|
</RelativeLayout>
|