diff options
Diffstat (limited to 'app/src/main/res/layout/page_fragment_tweet.xml')
-rw-r--r-- | app/src/main/res/layout/page_fragment_tweet.xml | 97 |
1 files changed, 2 insertions, 95 deletions
diff --git a/app/src/main/res/layout/page_fragment_tweet.xml b/app/src/main/res/layout/page_fragment_tweet.xml index 41fcac1f..7038f263 100644 --- a/app/src/main/res/layout/page_fragment_tweet.xml +++ b/app/src/main/res/layout/page_fragment_tweet.xml @@ -1,5 +1,4 @@ <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -20,100 +19,8 @@ android:layout_height="1dp" android:background="?app_divider" /> - <net.lacolaco.smileessence.view.TweetStateFrameLayout + <include android:id="@+id/detail_current_status" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="?status_item_background"> - - <FrameLayout - android:layout_width="2dp" - android:layout_height="match_parent" - android:background="?status_item_accent" - android:duplicateParentState="true" /> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:duplicateParentState="true" - android:orientation="vertical"> - - <include - android:id="@+id/layout_status_header" - layout="@layout/item_status_base" /> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="end"> - - <ImageButton - android:id="@+id/button_status_detail_reply" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginBottom="8dp" - android:layout_marginEnd="8dp" - android:layout_marginTop="8dp" - android:background="?selectableItemBackgroundBorderless" - app:srcCompat="@drawable/ic_reply_all_black_24dp" - android:tint="?android:textColorSecondary" /> - - <ImageButton - android:id="@+id/button_status_detail_retweet" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginBottom="8dp" - android:layout_marginEnd="8dp" - android:layout_marginTop="8dp" - android:background="?selectableItemBackgroundBorderless" - app:srcCompat="@drawable/ic_repeat_black_24dp" - android:tint="@color/green_activatable" /> - - <ImageButton - android:id="@+id/button_status_detail_favorite" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginBottom="8dp" - android:layout_marginEnd="8dp" - android:layout_marginTop="8dp" - android:background="?selectableItemBackgroundBorderless" - app:srcCompat="@drawable/ic_star_black_24dp" - android:tint="@color/orange_activatable" /> - - <ImageButton - android:id="@+id/button_status_detail_delete" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginBottom="8dp" - android:layout_marginEnd="8dp" - android:layout_marginTop="8dp" - android:background="?selectableItemBackgroundBorderless" - app:srcCompat="@drawable/ic_delete_forever_black_24dp" - android:tint="?android:textColorSecondary" /> - - <ImageButton - android:id="@+id/button_status_detail_menu" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginBottom="8dp" - android:layout_marginEnd="8dp" - android:layout_marginTop="8dp" - android:background="?selectableItemBackgroundBorderless" - app:srcCompat="@drawable/ic_more_vert_black_24dp" - android:tint="?android:textColorSecondary" /> - </LinearLayout> - - <FrameLayout - android:id="@+id/detail_dialog_divider_bottom" - android:layout_width="match_parent" - android:layout_height="1dp" - android:background="?app_divider" /> - - <net.lacolaco.smileessence.view.EmbeddedMenuLayout - android:id="@+id/embedded_menu_items" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - </LinearLayout> - </net.lacolaco.smileessence.view.TweetStateFrameLayout> + layout="@layout/list_item_tweet_rich" /> </LinearLayout> </ScrollView> |