Revision f647630d
Added by Leszek Koltunski over 5 years ago
src/main/res/layout/numberpicker.xml | ||
---|---|---|
9 | 9 |
android:layout_width="0sp" |
10 | 10 |
android:layout_height="match_parent" |
11 | 11 |
android:layout_weight="1" |
12 |
android:text="-" /> |
|
12 |
android:text="-" |
|
13 |
android:textSize="30sp" /> |
|
13 | 14 |
|
14 | 15 |
<TextView |
15 | 16 |
android:id="@+id/textNumber" |
16 | 17 |
android:layout_width="0sp" |
17 | 18 |
android:layout_height="match_parent" |
18 | 19 |
android:layout_weight="1" |
19 |
android:inputType="number" |
|
20 |
android:text="0" |
|
21 | 20 |
android:textAlignment="center" |
22 |
android:textSize="48sp" />
|
|
21 |
android:textSize="46sp" />
|
|
23 | 22 |
|
24 | 23 |
<Button |
25 | 24 |
android:id="@+id/buttonMore" |
26 | 25 |
android:layout_width="0sp" |
27 | 26 |
android:layout_height="match_parent" |
28 | 27 |
android:layout_weight="1" |
29 |
android:text="+" /> |
|
28 |
android:text="+" |
|
29 |
android:textSize="30sp" /> |
|
30 | 30 |
</LinearLayout> |
Also available in: Unified diff
Simplify the way applications can get notifications when an effect finishes.
Now, instead of the 'DistortedEffects.(de)registerForNotifications()' 2 APIs, we call a single 'Effect.notifyWhenFinished()'.