调整个人卡片UI
This commit is contained in:
parent
17ec4753b6
commit
7eb3e567f6
BIN
common/src/main/res/mipmap-xxhdpi/icon_user_card_t1.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/icon_user_card_t1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/icon_user_card_t2.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/icon_user_card_t2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -421,7 +421,7 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
|
||||
if (item != null) {
|
||||
String url = item.getString("display_src");
|
||||
if (item.containsKey("noble_medal")) {
|
||||
mNoble.setVisibility(View.VISIBLE);
|
||||
mNoble.setVisibility(View.GONE);
|
||||
ImgLoader.display(mContext, item.getString("noble_medal"), mNoble);
|
||||
}
|
||||
if (url != null) {
|
||||
|
@ -31,7 +31,7 @@
|
||||
android:layout_width="13dp"
|
||||
android:layout_height="13dp"
|
||||
android:src="@mipmap/icon_user_dialog_home"
|
||||
/>
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/black_text"
|
||||
@ -39,8 +39,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:text="@string/home_page"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="13sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#000000"
|
||||
android:textSize="16sp"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -294,15 +294,29 @@
|
||||
android:layout_marginStart="6dp"
|
||||
android:src="@mipmap/emperor_rom" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sign"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_marginBottom="15dp">
|
||||
<ImageView
|
||||
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
|
||||
android:layout_width="wrap_content"
|
||||
@ -369,7 +383,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
|
Loading…
Reference in New Issue
Block a user