jimu-decompiled/resources/res/layout/tw__tweet_compact.xml
2025-05-13 19:24:51 +02:00

73 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android" style="@style/tw__TweetFillWidth">
<TextView
android:id="@+id/tw__tweet_retweeted_by"
android:layout_alignLeft="@+id/tw__author_attribution"
android:layout_alignStart="@+id/tw__author_attribution"
style="@style/tw__TweetRetweetedBy.Compact"/>
<ImageView
android:id="@+id/tw__tweet_author_avatar"
android:layout_below="@+id/tw__tweet_retweeted_by"
style="@style/tw__TweetAvatar.Compact"/>
<LinearLayout
android:id="@+id/tw__author_attribution"
android:layout_toRightOf="@+id/tw__tweet_author_avatar"
android:layout_below="@+id/tw__tweet_retweeted_by"
android:layout_toEndOf="@+id/tw__tweet_author_avatar"
style="@style/tw__CompactAttributionLine">
<TextView
android:id="@+id/tw__tweet_author_full_name"
style="@style/tw__TweetFullName.Compact"/>
<TextView
android:id="@+id/tw__tweet_author_screen_name"
style="@style/tw__TweetScreenName.Compact"/>
<TextView
android:id="@+id/tw__tweet_timestamp"
style="@style/tw__TweetTimestamp.Compact"/>
</LinearLayout>
<ImageView
android:id="@+id/tw__twitter_logo"
android:layout_below="@+id/tw__tweet_retweeted_by"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
style="@style/tw__TwitterLogo.Compact"/>
<com.twitter.sdk.android.tweetui.internal.AspectRatioFrameLayout
android:id="@+id/tw__aspect_ratio_media_container"
android:layout_below="@+id/tw__author_attribution"
android:layout_alignLeft="@+id/tw__author_attribution"
android:layout_alignStart="@+id/tw__author_attribution"
style="@style/tw__TweetMediaContainer.Compact">
<com.twitter.sdk.android.tweetui.internal.TweetMediaView
android:id="@+id/tweet_media_view"
style="@style/tw__TweetMedia"/>
<com.twitter.sdk.android.tweetui.internal.MediaBadgeView
android:id="@+id/tw__tweet_media_badge"
style="@style/tw__TweetBadge"/>
</com.twitter.sdk.android.tweetui.internal.AspectRatioFrameLayout>
<TextView
android:id="@+id/tw__tweet_text"
android:layout_toRightOf="@+id/tw__tweet_author_avatar"
android:layout_below="@+id/tw__aspect_ratio_media_container"
android:layout_toEndOf="@+id/tw__tweet_author_avatar"
style="@style/tw__TweetText.Compact"/>
<FrameLayout
android:id="@+id/quote_tweet_holder"
android:layout_toRightOf="@+id/tw__tweet_author_avatar"
android:layout_below="@+id/tw__tweet_text"
android:layout_toEndOf="@+id/tw__tweet_author_avatar"
style="@style/tw__QuoteTweetContainer.Compact"/>
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/tw__tweet_author_avatar"
android:layout_below="@+id/quote_tweet_holder"
android:layout_toEndOf="@+id/tw__tweet_author_avatar"
layout="@layout/tw__action_bar"
style="@style/tw__TweetActionButtonBar.Compact"/>
<View
android:id="@+id/bottom_separator"
android:layout_width="match_parent"
android:layout_height="@dimen/tw__compact_tweet_container_bottom_separator"
android:layout_below="@+id/quote_tweet_holder"/>
</merge>