Skip to content

Commit d1579c6

Browse files
committed
Adding icon instead of text
Signed-off-by: Umair Khan <[email protected]>
1 parent e6c8230 commit d1579c6

File tree

6 files changed

+2
-1
lines changed

6 files changed

+2
-1
lines changed
4.08 KB
Loading
2.35 KB
Loading
5.67 KB
Loading
10.2 KB
Loading
14.9 KB
Loading

App/src/main/res/menu/main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
tools:context=".MainActivity" >
55
<item android:id="@+id/action_refresh"
66
android:title="@string/action_refresh"
7-
app:showAsAction="withText|ifRoom" />
7+
android:icon="@drawable/icon_refresh"
8+
app:showAsAction="ifRoom" />
89
<item android:id="@+id/action_settings"
910
android:title="@string/action_settings"
1011
android:orderInCategory="100"

0 commit comments

Comments
 (0)