Skip to content

Commit 534244d

Browse files
committed
Replace ic_action_help with vector icon
1 parent a7d101d commit 534244d

File tree

8 files changed

+10
-3
lines changed

8 files changed

+10
-3
lines changed

src/AndroidClient/androidchat/src/main/java/servicestack/net/androidchat/MainActivity.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,6 @@ else if (Objects.equals(selector, "logout")){
212212
}
213213

214214
private void performLogout() {
215-
TextView txtUser = (TextView)findViewById(R.id.txtUserName);
216-
// AccountStore.Create(this).Delete(new Account(txtUser.getText()), "Twitter");
217215
App.get().getServiceClient().clearCookies();
218216
Intent intent = new Intent(getBaseContext(), LoginActivity.class);
219217
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24.0"
5+
android:viewportHeight="24.0">
6+
<path
7+
android:fillColor="#FF000000"
8+
android:pathData="M12,8c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2zM12,16c-1.1,0 -2,0.9 -2,2s0.9,2 2,2 2,-0.9 2,-2 -0.9,-2 -2,-2z"/>
9+
</vector>

src/AndroidClient/androidchat/src/main/res/menu/action_menu.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:myapp="http://schemas.android.com/apk/res-auto">
44

55
<item android:id="@+id/action_help"
6-
android:icon="@mipmap/ic_action_help"
6+
android:icon="@drawable/ic_action_help"
77
android:title="Help"
88
myapp:showAsAction="always"/>
99
</menu>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)