Commit 576a7725cdd18bb9614862c57db4e942660a265e

Authored by 谷俊
1 parent bebbeaf2

合并

app/src/main/java/com/cnlive/gundam/main/ui/activity/BackBaseActivity.java
... ... @@ -22,7 +22,7 @@ public class BackBaseActivity extends AppCompatActivity {
22 22 TextView toolbarTitle = (TextView) findViewById(R.id.toolbarTitle);
23 23 toolbarTitle.setText(title);
24 24 toolbar.setVisibility(View.VISIBLE);
25   - toolbar.setNavigationIcon(R.drawable.ic_close);
  25 + toolbar.setNavigationIcon(R.drawable.btn_cancel);
26 26 setSupportActionBar(toolbar);
27 27  
28 28 }
... ...
app/src/main/java/com/cnlive/gundam/main/ui/fragment/ConfigFragment.java
... ... @@ -57,9 +57,6 @@ public class ConfigFragment extends Fragment implements View.OnClickListener {
57 57 switch (view.getId()) {
58 58 case R.id.config_header:
59 59 int uid = UserService.getInstance(getActivity()).getActiveAccountInfo().getUid();
60   - if (uid != 0)
61   - startActivity(new Intent(getActivity(), UserPersonalActivity.class));
62   - else
63 60 if (uid != 0) {
64 61 //进入个人中心页面
65 62 Intent intent = new Intent(getActivity(), UserPersonalActivity.class);
... ... @@ -68,6 +65,7 @@ public class ConfigFragment extends Fragment implements View.OnClickListener {
68 65 } else {
69 66 //进入登录页面
70 67 startActivity(new Intent(getActivity(), LoginActivity.class));
  68 + }
71 69 break;
72 70  
73 71 case R.id.message:
... ...
app/src/main/res/layout/layout_actionbar_back.xml
... ... @@ -6,7 +6,6 @@
6 6 xmlns:tools="http://schemas.android.com/tools"
7 7 android:layout_width="match_parent"
8 8 android:layout_height="?attr/actionBarSize"
9   - android:background="@drawable/toolbar_bg"
10 9 android:theme="@style/ThemeOverlay.AppCompat.Light"
11 10 app:contentInsetEnd="?attr/actionBarSize"
12 11 android:visibility="gone"
... ...
app/src/main/res/layout/layout_personal_header_item.xml
... ... @@ -54,8 +54,7 @@
54 54 android:layout_width="wrap_content"
55 55 android:layout_height="wrap_content"
56 56 android:layout_alignParentRight="true"
57   - android:layout_centerVertical="true"
58   - android:src="@drawable/ic_close" />
  57 + android:layout_centerVertical="true"/>
59 58  
60 59 </RelativeLayout>
61 60  
... ...
app/src/main/res/layout/layout_personal_item.xml
... ... @@ -56,8 +56,7 @@
56 56 android:layout_width="wrap_content"
57 57 android:layout_height="wrap_content"
58 58 android:layout_alignParentRight="true"
59   - android:layout_centerVertical="true"
60   - android:src="@drawable/ic_close" />
  59 + android:layout_centerVertical="true"/>
61 60  
62 61 </RelativeLayout>
63 62  
... ...