Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Fix for #1426 Avatar setting on new game start #1428

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,11 @@ public void clothRightListener(View view) {
public boolean onArrowTouchListener(View view, MotionEvent motionEvent) {
if (motionEvent.getAction() == MotionEvent.ACTION_MOVE){
view.setAlpha(0f);
return true;
}
else {
view.setAlpha(1f);
return true;
}
return false;
}


Expand Down
4 changes: 2 additions & 2 deletions PowerUp/app/src/main/res/layout-land/avatar_room.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"></LinearLayout>
android:layout_weight="1" />

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -155,7 +155,7 @@
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="2.3"></LinearLayout>
android:layout_weight="2.3" />

<FrameLayout
android:layout_width="0dp"
Expand Down