调整个人名片
@@ -34,4 +34,29 @@ public class NobleUtil {
|
||||
}
|
||||
return "未开通";
|
||||
}
|
||||
public static int getNobleBackgroundId(int id){
|
||||
switch (id){
|
||||
case 1:return R.mipmap.img_aristocrat_nanjue;
|
||||
case 2:return R.mipmap.img_aristocrat_zijue;
|
||||
case 3:return R.mipmap.img_aristocrat_houjue;
|
||||
case 4:return R.mipmap.img_aristocrat_gongjue;
|
||||
case 5:return R.mipmap.img_aristocrat_guowang;
|
||||
case 6:return R.mipmap.img_aristocrat_huangdi;
|
||||
case 7:return R.mipmap.img_aristocrat_chaohuang;
|
||||
}
|
||||
return R.mipmap.img_aristocrat_notopen;
|
||||
}
|
||||
|
||||
public static int getUserCardTitleBackgroundId(int id) {
|
||||
switch (id){
|
||||
case 1:return R.drawable.bg_user_card_title_nanjue;
|
||||
case 2:return R.drawable.bg_user_card_title_zijue;
|
||||
case 3:return R.drawable.bg_user_card_title_houjue;
|
||||
case 4:return R.drawable.bg_user_card_title_gongjue;
|
||||
case 5:return R.drawable.bg_user_card_title_guowang;
|
||||
case 6:return R.drawable.bg_user_card_title_huangdi;
|
||||
case 7:return R.drawable.bg_user_card_title_chaohuang;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#F8C4C4" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#C4F8F6" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#F8E4C4" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#E2F6FF" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#F8CEC4" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#ffe9e2ff" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="375dp" android:height="93dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ffffff" android:endColor="#E2FFF7" android:angle="90" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_chaohuang.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_gongjue.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_guowang.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_houjue.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_huangdi.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_nanjue.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_notopen.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_aristocrat_zijue.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_fans_default.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/img_honor_default.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
@@ -707,6 +707,7 @@
|
||||
<string name="live_user_level_anchor">主播等級</string>
|
||||
<string name="live_user_card_level">用户等級</string>
|
||||
<string name="live_noble_level_anchor">貴族等級</string>
|
||||
<string name="live_noble_fens_anchor">粉絲團</string>
|
||||
<string name="live_honor_number_anchor">榮譽墻</string>
|
||||
<string name="live_anchor_error">連接已斷開,請重新開播</string>
|
||||
<string name="search_no_data_2">空空如也</string>
|
||||
|
||||