Revert "Revert "click "replying to" to scroll up""

This reverts commit 77af7ceae3.
This commit is contained in:
LucasGGamerM 2023-01-20 11:01:39 -03:00
parent 77af7ceae3
commit 885f559092
2 changed files with 7 additions and 4 deletions

View File

@ -676,6 +676,10 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
replyText.setOnClickListener(v->{
scrollView.smoothScrollTo(0, 0);
});
replyText.setOnClickListener(v->{
scrollView.smoothScrollTo(0, 0);
});
ArrayList<String> mentions=new ArrayList<>();
String ownID=AccountSessionManager.getInstance().getAccount(accountID).self.id;

View File

@ -56,10 +56,10 @@
<TextView
android:id="@+id/reply_text"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="-12dp"
android:paddingHorizontal="16dp"
android:layout_marginStart="16dp"
android:paddingTop="16dp"
android:paddingBottom="6dp"
android:textAppearance="@style/m3_title_small"
@ -68,8 +68,7 @@
android:drawableTint="?android:textColorSecondary"
android:drawablePadding="6dp"
android:singleLine="true"
android:ellipsize="end"
android:background="?android:selectableItemBackground"/>
android:ellipsize="end"/>
<RelativeLayout
android:layout_width="match_parent"