Commit b856e16 1 parent 1bdf9bf commit b856e16 Copy full SHA for b856e16
File tree 6 files changed +12
-11
lines changed
6 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 89
89
</activity-alias >
90
90
91
91
<activity
92
- android : name =" .app.TermuxHelpActivity "
92
+ android : name =" .app.activities.HelpActivity "
93
93
android : exported =" false"
94
94
android : label =" @string/application_name"
95
95
android : parentActivityName =" .app.TermuxActivity"
96
96
android : resizeableActivity =" true"
97
97
android : theme =" @android:style/Theme.Material.Light.DarkActionBar" />
98
98
99
99
<activity
100
- android : name =" .app.TermuxSettingsActivity "
100
+ android : name =" .app.activities.SettingsActivity "
101
101
android : label =" @string/title_activity_termux_settings"
102
102
android : theme =" @style/Theme.AppCompat.Light.DarkActionBar" />
103
103
Original file line number Diff line number Diff line change 32
32
33
33
import com .termux .R ;
34
34
import com .termux .app .TermuxConstants .TERMUX_APP .TERMUX_ACTIVITY ;
35
+ import com .termux .app .activities .HelpActivity ;
36
+ import com .termux .app .activities .SettingsActivity ;
35
37
import com .termux .app .settings .preferences .TermuxAppSharedPreferences ;
36
38
import com .termux .app .terminal .TermuxSessionsListViewController ;
37
39
import com .termux .app .terminal .io .TerminalToolbarViewPager ;
@@ -529,10 +531,10 @@ public boolean onContextItemSelected(MenuItem item) {
529
531
showStylingDialog ();
530
532
return true ;
531
533
case CONTEXT_MENU_HELP_ID :
532
- startActivity (new Intent (this , TermuxHelpActivity .class ));
534
+ startActivity (new Intent (this , HelpActivity .class ));
533
535
return true ;
534
536
case CONTEXT_MENU_SETTINGS_ID :
535
- startActivity (new Intent (this , TermuxSettingsActivity .class ));
537
+ startActivity (new Intent (this , SettingsActivity .class ));
536
538
return true ;
537
539
case CONTEXT_MENU_TOGGLE_KEEP_SCREEN_ON :
538
540
toggleKeepScreenOn ();
Original file line number Diff line number Diff line change 1
- package com .termux .app ;
1
+ package com .termux .app . activities ;
2
2
3
3
import android .app .Activity ;
4
4
import android .content .ActivityNotFoundException ;
13
13
import android .widget .RelativeLayout ;
14
14
15
15
/** Basic embedded browser for viewing help pages. */
16
- public final class TermuxHelpActivity extends Activity {
16
+ public final class HelpActivity extends Activity {
17
17
18
18
WebView mWebView ;
19
19
Original file line number Diff line number Diff line change 1
- package com .termux .app ;
1
+ package com .termux .app . activities ;
2
2
3
3
import android .os .Bundle ;
4
4
8
8
9
9
import com .termux .R ;
10
10
11
- public class TermuxSettingsActivity extends AppCompatActivity {
11
+ public class SettingsActivity extends AppCompatActivity {
12
12
13
13
@ Override
14
14
protected void onCreate (Bundle savedInstanceState ) {
Original file line number Diff line number Diff line change 1
- package com .termux .app .settings ;
1
+ package com .termux .app .fragments . settings ;
2
2
3
3
import android .content .Context ;
4
4
import android .os .Bundle ;
11
11
import androidx .preference .PreferenceManager ;
12
12
13
13
import com .termux .R ;
14
- import com .termux .app .settings .preferences .TermuxPreferenceConstants ;
15
14
import com .termux .app .settings .preferences .TermuxAppSharedPreferences ;
16
15
import com .termux .app .utils .Logger ;
17
16
Original file line number Diff line number Diff line change 3
3
<Preference
4
4
app : title =" @string/debugging_preferences"
5
5
app : summary =" Preferences for debugging"
6
- app : fragment =" com.termux.app.settings.DebuggingPreferencesFragment" />
6
+ app : fragment =" com.termux.app.fragments. settings.DebuggingPreferencesFragment" />
7
7
8
8
</PreferenceScreen >
You can’t perform that action at this time.
0 commit comments