UI界面基本完成 优化

master
hjw 3 years ago
parent c079278026
commit 882383284e

@ -57,7 +57,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/msg_recycler_view"
android:background="@color/white"
android:background="@drawable/background"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>

@ -1,6 +1,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:background="@color/white"
android:layout_height="match_parent"
tools:context="com.example.leudaemialikeme.Fragment.BlogCollectFragment">

@ -67,6 +67,7 @@
<androidx.viewpager.widget.ViewPager
android:id="@+id/vpNewsListCollect"
android:background="@color/white"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"

@ -3,10 +3,11 @@
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="20dp"
android:background="#ffffff"
android:background="@drawable/background"
android:id="@+id/chat_list_layout">
<androidx.recyclerview.widget.RecyclerView
android:background="@color/white"
android:id="@+id/list_private_msg"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

@ -3,6 +3,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/background"
android:padding="10dp">
@ -11,6 +12,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:paddingLeft="7dp"
android:paddingRight="7dp"
android:background="@drawable/bubble_left"
android:orientation="horizontal">
@ -19,6 +22,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/white"
android:paddingTop="10dp"
android:layout_margin="10dp"
android:text="TextView" />
@ -30,6 +34,8 @@
android:layout_height="wrap_content"
android:layout_gravity="right"
android:background="@drawable/bubble_right"
android:paddingLeft="7dp"
android:paddingRight="7dp"
android:orientation="horizontal">
<TextView
@ -38,6 +44,7 @@
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="10dp"
android:textColor="@color/white"
android:layout_margin="10dp"
android:text="TextView" />
</LinearLayout>

Loading…
Cancel
Save