添加EntranceFragment底层view增加方法
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.mogo.service.entrance;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
@@ -19,4 +20,25 @@ public interface IMogoEntranceButtonController extends IProvider {
|
||||
* @return
|
||||
*/
|
||||
TextView getButton( ButtonIndex index );
|
||||
|
||||
/**
|
||||
* 添加低层级view,使用ViewGroup.addView(v,0)实现
|
||||
* @param view 将要添加的view
|
||||
*/
|
||||
void addBottomLayerView(View view);
|
||||
|
||||
/**
|
||||
* 添加低层级view,使用ViewGroup.addView(v,0)实现
|
||||
* 可指定x,y位置
|
||||
* @param view 将要添加的view
|
||||
* @param x leftMargin
|
||||
* @param y topMargin
|
||||
*/
|
||||
void addBottomLayerView(View view, int x, int y);
|
||||
|
||||
/**
|
||||
* 移除对应的底层view
|
||||
* @param view 待移除view
|
||||
*/
|
||||
void removeBottomLayerView(View view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user