Revision 12a991f2
Added by Leszek Koltunski 11 months ago
src/main/java/org/distorted/main/MainActivity.java | ||
---|---|---|
452 | 452 |
scores.show(getSupportFragmentManager(), null); |
453 | 453 |
} |
454 | 454 |
|
455 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
456 |
|
|
457 |
public void onSettings(View v) |
|
458 |
{ |
|
459 |
|
|
460 |
} |
|
461 |
|
|
455 | 462 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
456 | 463 |
|
457 | 464 |
public void onUpdates(View v) |
src/main/res/layout/main.xml | ||
---|---|---|
53 | 53 |
android:orientation="horizontal" |
54 | 54 |
android:gravity="center" |
55 | 55 |
android:background="@android:color/transparent"> |
56 |
|
|
57 |
<ImageButton |
|
58 |
android:id="@+id/buttonSettings" |
|
59 |
android:adjustViewBounds="true" |
|
60 |
android:scaleType="fitCenter" |
|
61 |
android:layout_width="wrap_content" |
|
62 |
android:layout_height="match_parent" |
|
63 |
android:onClick="onSettings" |
|
64 |
android:background="@android:color/transparent" |
|
65 |
android:src="@drawable/ui_settings"/> |
|
66 |
|
|
56 | 67 |
</LinearLayout> |
57 | 68 |
|
58 | 69 |
<LinearLayout |
Also available in: Unified diff
Add the Settings button.