调整个人卡片UI

This commit is contained in:
zlzw 2022-11-18 15:14:32 +08:00
parent 17ec4753b6
commit 7eb3e567f6
5 changed files with 26 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -421,7 +421,7 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
if (item != null) { if (item != null) {
String url = item.getString("display_src"); String url = item.getString("display_src");
if (item.containsKey("noble_medal")) { if (item.containsKey("noble_medal")) {
mNoble.setVisibility(View.VISIBLE); mNoble.setVisibility(View.GONE);
ImgLoader.display(mContext, item.getString("noble_medal"), mNoble); ImgLoader.display(mContext, item.getString("noble_medal"), mNoble);
} }
if (url != null) { if (url != null) {

View File

@ -31,7 +31,7 @@
android:layout_width="13dp" android:layout_width="13dp"
android:layout_height="13dp" android:layout_height="13dp"
android:src="@mipmap/icon_user_dialog_home" android:src="@mipmap/icon_user_dialog_home"
/> android:visibility="gone" />
<TextView <TextView
android:id="@+id/black_text" android:id="@+id/black_text"
@ -39,8 +39,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:text="@string/home_page" android:text="@string/home_page"
android:textColor="@color/textColor" android:textStyle="bold"
android:textSize="13sp" android:textColor="#000000"
android:textSize="16sp"
/> />
</LinearLayout> </LinearLayout>

View File

@ -294,15 +294,29 @@
android:layout_marginStart="6dp" android:layout_marginStart="6dp"
android:src="@mipmap/emperor_rom" /> android:src="@mipmap/emperor_rom" />
</LinearLayout> </LinearLayout>
<LinearLayout
<TextView
android:id="@+id/sign"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="15dp" android:layout_marginTop="15dp"
android:layout_marginBottom="15dp" android:layout_marginBottom="15dp">
android:textColor="#B1B1B1" <ImageView
android:textSize="14sp" /> android:src="@mipmap/icon_user_card_t1"
android:layout_width="17dp"
android:layout_gravity="top"
android:layout_height="14dp"/>
<TextView
android:id="@+id/sign"
android:text="這家夥很懶,什麽都沒留下"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#B1B1B1"
android:textSize="14sp" />
<ImageView
android:src="@mipmap/icon_user_card_t2"
android:layout_width="17dp"
android:layout_gravity="bottom"
android:layout_height="14dp"/>
</LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -369,7 +383,7 @@
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="0dp"
android:visibility="visible"> android:visibility="visible">
<LinearLayout <LinearLayout