游戏UI 以及顶部UI调整
This commit is contained in:
parent
d95206b871
commit
7e5cda6bdd
@ -48,7 +48,7 @@
|
||||
android:src="@mipmap/ic_yola_game_radus"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginEnd="2dp" />
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gold_coin"
|
||||
|
@ -246,16 +246,16 @@ public class MainHomeViewHolder2 extends AbsMainHomeChildViewHolder implements O
|
||||
mRefreshView.getRefreshView().scrollToPosition(0);
|
||||
mAdapter.clearData();
|
||||
select = bean.getId();
|
||||
Log.i("MainHomeViewHolder2", bean.getChinese()+"::"+bean.getId());
|
||||
// Log.i("MainHomeViewHolder2", bean.getChinese()+"::"+bean.getId());
|
||||
boolean flag = false;
|
||||
if (position == 0) {
|
||||
Log.i("MainHomeViewHolder2", "mLiveOptFollAgent:");
|
||||
// Log.i("MainHomeViewHolder2", "mLiveOptFollAgent:");
|
||||
flag= changeLiveOptAgent(mLiveOptFollAgent);
|
||||
} else if (position == 1) {
|
||||
Log.i("MainHomeViewHolder2", "mLiveOptComAgent:");
|
||||
// Log.i("MainHomeViewHolder2", "mLiveOptComAgent:");
|
||||
flag= changeLiveOptAgent(mLiveOptComAgent);
|
||||
} else {
|
||||
Log.i("MainHomeViewHolder2", "MainHomeViewHolder2:");
|
||||
// Log.i("MainHomeViewHolder2", "MainHomeViewHolder2:");
|
||||
flag= changeLiveOptAgent(MainHomeViewHolder2.this);
|
||||
}
|
||||
typeHot = bean.getEnglish();
|
||||
|
@ -21,7 +21,7 @@
|
||||
android:layout_marginStart="10dp"
|
||||
android:padding="6dp"
|
||||
android:onClick="mainClick"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginTop="@dimen/yola_title_margin_top"
|
||||
android:src="@mipmap/ic_yola_cup"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
@ -30,13 +30,13 @@
|
||||
android:id="@+id/btn_start"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:padding="6dp"
|
||||
android:onClick="mainClick"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/ic_yola_vido"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/img_trophy"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="@+id/img_trophy" />
|
||||
|
||||
<View
|
||||
android:id="@+id/btn_search"
|
||||
@ -100,7 +100,7 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_width="0dp"
|
||||
|
@ -12,7 +12,7 @@
|
||||
android:id="@+id/appBarLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="28dp"
|
||||
android:layout_marginTop="@dimen/yola_title_margin_top2"
|
||||
android:fadingEdge="none"
|
||||
app:elevation="0dp"
|
||||
android:background="@drawable/bg_transform2white"
|
||||
|
@ -32,7 +32,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginTop="@dimen/yola_title_margin_top"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/ic_yola_search"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@ -107,7 +107,7 @@
|
||||
android:id="@+id/house_owner_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:src="@mipmap/ic_yola_game_bot_arrow"
|
||||
app:layout_constraintBottom_toBottomOf="@id/hall"
|
||||
|
@ -52,7 +52,7 @@
|
||||
android:id="@+id/img_setting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginTop="@dimen/yola_title_margin_top"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/ic_yola_setting"
|
||||
|
@ -21,7 +21,7 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="28dp"
|
||||
android:layout_marginTop="@dimen/yola_title_margin_top2"
|
||||
android:background="@android:color/transparent"
|
||||
android:fadingEdge="none"
|
||||
app:elevation="0dp"
|
||||
|
5
main/src/main/res/values/dimens.xml
Normal file
5
main/src/main/res/values/dimens.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="yola_title_margin_top">40dp</dimen>
|
||||
<dimen name="yola_title_margin_top2">36dp</dimen>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user