优化[社区评论排版]

修复[官方通知-“點擊查看”-英文翻譯]
This commit is contained in:
Martin 2024-08-05 14:27:52 +08:00
parent 27c2261fac
commit d61d142ec1
3 changed files with 61 additions and 65 deletions

View File

@ -11,7 +11,11 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:orientation="horizontal"> android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.makeramen.roundedimageview.RoundedImageView <com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/avatar" android:id="@+id/avatar"
@ -21,33 +25,16 @@
android:src="@mipmap/icon_data_empty" android:src="@mipmap/icon_data_empty"
app:riv_oval="true" /> app:riv_oval="true" />
<LinearLayout <TextView
android:id="@+id/name"
android:layout_weight="1"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:layout_marginTop="7dp"
android:gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="栗子栗子🌰zzz" android:text="栗子栗子🌰zzz"
android:textColor="#777777" android:textColor="#777777"
android:textSize="12dp" /> android:textSize="12dp" />
<TextView
android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="栗子栗子🌰zzz"
android:textColor="#333333"
android:textSize="12dp" />
</LinearLayout>
<TextView <TextView
android:id="@+id/author" android:id="@+id/author"
android:layout_width="45dp" android:layout_width="45dp"
@ -62,11 +49,6 @@
android:textSize="10dp" android:textSize="10dp"
android:visibility="gone" /> android:visibility="gone" />
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView <TextView
android:id="@+id/del" android:id="@+id/del"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -99,6 +81,19 @@
</LinearLayout> </LinearLayout>
<TextView
android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:layout_marginStart="40dp"
android:layout_marginTop="5dp"
android:text="栗子栗子🌰栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子栗子zzz"
android:textColor="#333333"
android:textSize="12dp" />
</LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/replyLayout" android:id="@+id/replyLayout"
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -83,6 +83,7 @@ public class LiveUserAnchorMsgPopDialog extends AbsDialogFragment {
mIndicator = (MagicIndicator) findViewById(R.id.indicator); mIndicator = (MagicIndicator) findViewById(R.id.indicator);
viewPager = (ViewPager2) findViewById(R.id.viewPager); viewPager = (ViewPager2) findViewById(R.id.viewPager);
titleCount= (TextView) findViewById(R.id.titleCount); titleCount= (TextView) findViewById(R.id.titleCount);
titleCount.setText(getResources().getString(R.string.message_chat_msg_all_an_a)+"(0)");
fragmentList = new ArrayList<>(); fragmentList = new ArrayList<>();
fragmentList.add(new MainMessageChatListFragment(AppManager.getInstance().getLiveActivity())); fragmentList.add(new MainMessageChatListFragment(AppManager.getInstance().getLiveActivity()));
viewPager.setAdapter(new FragmentStateAdapter((FragmentActivity) AppManager.getInstance().getLiveActivity()) { viewPager.setAdapter(new FragmentStateAdapter((FragmentActivity) AppManager.getInstance().getLiveActivity()) {

View File

@ -83,7 +83,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="點擊查看" android:text="@string/click_to_view"
android:textColor="#ffaaaaaa" android:textColor="#ffaaaaaa"
android:textSize="12sp" /> android:textSize="12sp" />