|
1 |
| -package org.pslab.activity; |
| 1 | +package io.pslab.activity; |
2 | 2 |
|
3 | 3 | import android.app.PendingIntent;
|
4 | 4 | import android.app.ProgressDialog;
|
|
29 | 29 | import android.widget.TextView;
|
30 | 30 | import android.widget.Toast;
|
31 | 31 |
|
32 |
| -import org.pslab.R; |
33 |
| -import org.pslab.communication.CommunicationHandler; |
34 |
| -import org.pslab.fragment.AboutUsFragment; |
35 |
| -import org.pslab.fragment.FAQFragment; |
36 |
| -import org.pslab.fragment.HomeFragment; |
37 |
| -import org.pslab.fragment.InstrumentsFragment; |
38 |
| -import org.pslab.fragment.PSLabPinLayoutFragment; |
39 |
| -import org.pslab.others.CustomTabService; |
40 |
| -import org.pslab.others.InitializationVariable; |
41 |
| -import org.pslab.others.ScienceLabCommon; |
42 |
| -import org.pslab.receivers.USBDetachReceiver; |
| 32 | +import io.pslab.R; |
| 33 | +import io.pslab.communication.CommunicationHandler; |
| 34 | +import io.pslab.fragment.AboutUsFragment; |
| 35 | +import io.pslab.fragment.FAQFragment; |
| 36 | +import io.pslab.fragment.HomeFragment; |
| 37 | +import io.pslab.fragment.InstrumentsFragment; |
| 38 | +import io.pslab.fragment.PSLabPinLayoutFragment; |
| 39 | +import io.pslab.others.CustomTabService; |
| 40 | +import io.pslab.others.InitializationVariable; |
| 41 | +import io.pslab.others.ScienceLabCommon; |
| 42 | +import io.pslab.receivers.USBDetachReceiver; |
43 | 43 |
|
44 | 44 | import java.io.IOException;
|
45 | 45 |
|
46 | 46 | import butterknife.BindView;
|
47 | 47 | import butterknife.ButterKnife;
|
48 | 48 |
|
49 |
| -import static org.pslab.others.ScienceLabCommon.scienceLab; |
| 49 | +import static io.pslab.others.ScienceLabCommon.scienceLab; |
50 | 50 |
|
51 | 51 | public class MainActivity extends AppCompatActivity {
|
52 | 52 |
|
@@ -131,9 +131,9 @@ protected void onCreate(Bundle savedInstanceState) {
|
131 | 131 | mHandler = new Handler();
|
132 | 132 |
|
133 | 133 | navHeader = navigationView.getHeaderView(0);
|
134 |
| - txtName = navHeader.findViewById(org.pslab.R.id.name); |
135 |
| - imgProfile = navHeader.findViewById(org.pslab.R.id.img_profile); |
136 |
| - activityTitles = getResources().getStringArray(org.pslab.R.array.nav_item_activity_titles); |
| 134 | + txtName = navHeader.findViewById(io.pslab.R.id.name); |
| 135 | + imgProfile = navHeader.findViewById(io.pslab.R.id.img_profile); |
| 136 | + activityTitles = getResources().getStringArray(io.pslab.R.array.nav_item_activity_titles); |
137 | 137 |
|
138 | 138 | setPSLabVersionIDs();
|
139 | 139 |
|
@@ -279,7 +279,7 @@ public boolean onNavigationItemSelected(@NonNull MenuItem item) {
|
279 | 279 | });
|
280 | 280 |
|
281 | 281 | if (drawer != null) {
|
282 |
| - ActionBarDrawerToggle actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, org.pslab.R.string.openDrawer, org.pslab.R.string.closeDrawer) { |
| 282 | + ActionBarDrawerToggle actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, io.pslab.R.string.openDrawer, io.pslab.R.string.closeDrawer) { |
283 | 283 | @Override
|
284 | 284 | public void onDrawerClosed(View drawerView) {
|
285 | 285 | super.onDrawerClosed(drawerView);
|
|
0 commit comments