用户等级和粉丝团的更改
This commit is contained in:
parent
cceb697739
commit
2df205218c
@ -10,9 +10,9 @@ ext {
|
|||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
//正式
|
//正式
|
||||||
|
|
||||||
serverHost : "https://napi.yaoulive.com",
|
// serverHost : "https://napi.yaoulive.com",
|
||||||
//測試
|
//測試
|
||||||
// serverHost : "https://ceshi.yaoulive.com",
|
serverHost : "https://ceshi.yaoulive.com",
|
||||||
|
|
||||||
//腾讯地图
|
//腾讯地图
|
||||||
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
||||||
|
@ -525,8 +525,14 @@ public class LiveTextRender {
|
|||||||
mPaint.setColor(Color.WHITE);
|
mPaint.setColor(Color.WHITE);
|
||||||
mPaint.setTextSize(50);
|
mPaint.setTextSize(50);
|
||||||
mPaint.setTypeface(font);
|
mPaint.setTypeface(font);
|
||||||
|
int indexX = 80;
|
||||||
//水印的位置坐标
|
//水印的位置坐标
|
||||||
mCanvas.drawText(level, 80, 53, mPaint);
|
if (level.length() > 2) {
|
||||||
|
indexX = 75;
|
||||||
|
} else {
|
||||||
|
indexX = 84;
|
||||||
|
}
|
||||||
|
mCanvas.drawText(level, indexX, 53, mPaint);
|
||||||
mCanvas.save();
|
mCanvas.save();
|
||||||
mCanvas.restore();
|
mCanvas.restore();
|
||||||
return mNewBitmap;
|
return mNewBitmap;
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:paddingLeft="15dp"
|
android:paddingLeft="15dp"
|
||||||
|
android:layout_marginTop="1dp"
|
||||||
android:text="主播"
|
android:text="主播"
|
||||||
android:layout_marginBottom="1dp"
|
android:layout_marginBottom="1dp"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="10sp" />
|
android:textSize="8sp" />
|
||||||
|
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
Loading…
Reference in New Issue
Block a user