Skip to content

Commit 0969e06

Browse files
committed
Theme changes here and there
1 parent d1612b3 commit 0969e06

10 files changed

Lines changed: 38 additions & 26 deletions

File tree

res/drawable-mdpi/activated_color.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<selector xmlns:android="http://schemas.android.com/apk/res/android">
22
<!-- This is used when the Navigation Item is checked -->
3-
<item android:color="#A7FFCA" android:state_checked="true" />
3+
<item android:color="#A7CAFF" android:state_checked="true" />
44
<item android:color="@color/material_blue_grey_800" android:state_enabled="false" />
55
<!-- This is the default text color -->
66
<item android:color="#FCFCFC" />

res/drawable-mdpi/cropbg.png

55.4 KB
Loading

res/layout/mana_hostapd.xml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,74 +20,81 @@
2020
<TextView
2121
android:layout_width="match_parent"
2222
android:layout_height="wrap_content"
23-
android:text="@string/iface"
23+
android:text="interface"
2424
android:padding="4dp" />
2525

2626
<EditText
2727
android:id="@+id/ifc"
2828
android:layout_width="match_parent"
2929
android:layout_height="wrap_content"
30-
android:ems="10"/>
30+
android:ems="10" >
31+
</EditText>
3132

3233
<TextView
3334
android:layout_width="match_parent"
3435
android:layout_height="wrap_content"
35-
android:text="@string/bssid"
36+
android:text="bssid"
3637
android:padding="4dp" />
3738

3839
<EditText
3940
android:id="@+id/bssid"
4041
android:layout_width="match_parent"
4142
android:layout_height="wrap_content"
42-
android:ems="10"/>
43+
android:ems="10" >
44+
</EditText>
4345

4446
<TextView
4547
android:layout_width="match_parent"
4648
android:layout_height="wrap_content"
47-
android:text="@string/ssid"
49+
android:text="ssid"
4850
android:padding="4dp" />
4951

5052
<EditText
5153
android:id="@+id/ssid"
5254
android:layout_width="match_parent"
5355
android:layout_height="wrap_content"
54-
android:ems="10"/>
56+
android:ems="10" >
57+
</EditText>
5558

5659
<TextView
5760
android:layout_width="match_parent"
5861
android:layout_height="wrap_content"
59-
android:text="@string/chanel"
62+
android:text="channel"
6063
android:padding="4dp" />
6164

6265
<EditText
6366
android:id="@+id/channel"
6467
android:layout_width="match_parent"
6568
android:layout_height="wrap_content"
66-
android:ems="10"/>
69+
android:ems="10" >
70+
</EditText>
6771

6872
<TextView
6973
android:layout_width="match_parent"
7074
android:layout_height="wrap_content"
71-
android:text="@string/enable_karma"
75+
android:text="enable_karma"
7276
android:padding="4dp" />
7377

7478
<EditText
7579
android:id="@+id/enable_karma"
7680
android:layout_width="match_parent"
7781
android:layout_height="wrap_content"
78-
android:ems="10"/>
82+
android:ems="10" >
83+
</EditText>
7984

8085
<TextView
8186
android:layout_width="match_parent"
8287
android:layout_height="wrap_content"
83-
android:text="@string/karma_loud"
88+
android:text="karma_loud"
8489
android:padding="4dp" />
8590

8691
<EditText
8792
android:id="@+id/karma_loud"
8893
android:layout_width="match_parent"
8994
android:layout_height="wrap_content"
90-
android:ems="10"/>
95+
android:ems="10" >
96+
</EditText>
97+
9198

9299

93100
<Button
@@ -96,4 +103,4 @@
96103
android:layout_height="wrap_content"
97104
android:text="@string/update" />
98105
</LinearLayout>
99-
</ScrollView>
106+
</ScrollView>

res/layout/mana_hostapd_wpe.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
android:paddingLeft="16dp"
99
android:paddingRight="16dp"
1010
android:orientation="vertical">
11-
11+
1212
<TextView
1313
android:layout_width="match_parent"
1414
android:layout_height="wrap_content"
1515
android:text="@string/mana_hostapd_wpe"
16-
android:layout_gravity="center_horizontal|center"
16+
android:layout_gravity="center_horizontal|center"
1717
android:gravity="center"
1818
android:padding="4dp" />
1919

@@ -90,4 +90,4 @@
9090
android:layout_height="wrap_content"
9191
android:text="@string/update" />
9292
</LinearLayout>
93-
</ScrollView>
93+
</ScrollView>

res/layout/sidenav_header.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<RelativeLayout
1212
android:layout_width="match_parent"
1313
android:layout_height="114dp"
14-
android:background="@drawable/nh_cropbg"
14+
android:background="@drawable/cropbg"
1515
android:orientation="horizontal">
1616

1717
<com.google.android.material.floatingactionbutton.FloatingActionButton xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -21,7 +21,7 @@
2121
android:layout_alignParentEnd="true"
2222
android:layout_alignParentTop="true"
2323
android:layout_gravity="right"
24-
android:layout_margin="16dp"
24+
android:layout_margin="8dp"
2525
android:src="@drawable/ic_action_information"
2626
android:textSize="12sp"
2727
app:elevation="6dp"

res/layout/source_short.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
android:id="@+id/source"
2323
android:layout_width="fill_parent"
2424
android:layout_height="wrap_content"
25-
android:lines="29"
25+
android:lines="25"
2626
android:includeFontPadding="false"
2727
android:paddingTop="0px"
2828
android:gravity="top"

res/values-v21/colors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<item name="blue" type="color">#A7FFEB</item>
4+
<item name="blue" type="color">#65B7F6</item>
55
<item name="darkorange" type="color">#FFFF8800</item>
66

77
<item name="clearTitle" type="color">#fcfcfc</item>

res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
<string name="extractinganddeploying">Extracting and Deploying</string>
323323
<string name="nhwarning">WARNING:\nNethunter installs and uses a standard Kali Linux distribution \"under the hood\". To support this functionality, some <u>standard Android security features such as Security Enhanced Linux (SELinux) are disabled</u>. Moreover, Kali\'s Linux processes may run with full root privileges and can therefore access system functionality well beyond the normal Android security model. Consider therefore that this device, as a hybrid, may not be as secure as either standard Kali Linux OR standard Android, and you are advised not to install or use Nethunter on \"daily driver\" devices or devices which store or access sensitive/private data.</string>
324324
<string name="nhteam">DEVELOPERS:\ngitlab.com/groups/kalilinux/nethunter/-/group_members</string>
325-
<string name="kekteam">CONTRIBUTORS:\n * t.me/@hilledkinged \n * t.me/@S133PY \n * t.me/@mirivan </string>
325+
<string name="kekteam">CONTRIBUTORS:\n * t.me/hilledkinged \n * t.me/S133PY \n * t.me/mirivan </string>
326326
<string name="telegramgroup">OUR GROUP IN TG:\n * t.me/kekhunter \n * t.me/team420nethunter</string>
327327
<string name="unknown">Unknown</string>
328328
<string name="statusText">Status:</string>

res/values/styles.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<item name="materialButtonStyle">@style/kekbutton</item>
1111
<item name="android:textColorLink">#476CCD</item>
1212
<item name="android:textColor">#E5E8ED</item>
13+
<item name="android:textSize">14dp</item>
1314
<item name="colorBackgroundFloating">#1C1C1C</item>
1415
<item name="android:negativeButtonText">#FFFFFF</item>
1516

@@ -39,9 +40,13 @@
3940
<!-- Button styles go here-->
4041

4142
<!-- Overall buttons styles-->
42-
<style name="kekbutton" parent="@style/Widget.MaterialComponents.Button.TextButton">
43-
<item name="backgroundTint">#1C1C1C</item>
43+
<style name="kekbutton" parent="@style/Widget.MaterialComponents.Button.OutlinedButton">
44+
<item name="backgroundTint">#2C2C30</item>
4445
<item name="android:textColor">#FFFFFF</item>
46+
47+
<item name="android:maxHeight">5dp</item>
48+
<item name="android:paddingLeft">5dp</item>
49+
<item name="android:paddingRight">5dp</item>
4550
</style>
4651

4752
<!-- Alert dialog button styles go here-->

src/com/offsec/nethunter/AppNavHomeActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ private void setRootView() {
349349
TextView buildInfo1 = navigationHeadView.findViewById(R.id.buildinfo1);
350350
TextView buildInfo2 = navigationHeadView.findViewById(R.id.buildinfo2);
351351
buildInfo1.setText(String.format("Version: %s", BuildConfig.VERSION_NAME, Build.TAGS));
352-
buildInfo2.setText(String.format("Developer preview", BuildConfig.BUILD_NAME, buildTime));
352+
buildInfo2.setText(String.format("KekHunter-420", BuildConfig.BUILD_NAME, buildTime));
353353

354354
if (navigationView != null) {
355355
setupDrawerContent(navigationView);
@@ -400,7 +400,7 @@ private void setRootView() {
400400

401401
private void checkUpdate() {
402402
WVersionManager versionManager = new WVersionManager(this);
403-
versionManager.setVersionContentUrl("https://raw.githubusercontent.com/KekHunterOS/Nethunter_app/kek-2020.4/verison.txt");
403+
versionManager.setVersionContentUrl("https://raw.githubusercontent.com/KekHunterOS/Nethunter_app/kek-2020.4/version.txt");
404404
versionManager.setUpdateUrl("https://github.com/KekHunterOS/Nethunter_app/releases/latest/download/Nethunter_app-debug.apk");
405405
if (ActivityCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) {
406406
// TODO: Consider calling

0 commit comments

Comments
 (0)