Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #895 from farkam135/quickfixBackInAppraisal
Browse files Browse the repository at this point in the history
Adds back button to appraisal
  • Loading branch information
nahojjjen committed Apr 21, 2018
2 parents 2476425 + 7a76244 commit b40f030
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void onEggOrRaid(boolean checked) {
}
}

@OnClick(R.id.statsButton)
@OnClick({R.id.statsButton, R.id.btnBackAppr})
void onStats() {
pokefly.navigateToInputFraction();
}
Expand Down
31 changes: 26 additions & 5 deletions app/src/main/res/layout/fraction_appraisal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,33 @@

</LinearLayout>

<Button
android:id="@+id/btnCheckIv"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="48dp"
android:layout_marginLeft="48dp"
android:text="@string/check_iv" />
android:orientation="horizontal"
>
<Button
android:id="@+id/btnBackAppr"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginRight="16dp"
android:layout_marginLeft="16dp"
android:text="Back" />

<Button
android:id="@+id/btnCheckIv"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginRight="16dp"
android:layout_marginLeft="16dp"
android:text="@string/check_iv" />





</LinearLayout>

</LinearLayout>

0 comments on commit b40f030

Please sign in to comment.