Skip to content

Commit 2f20205

Browse files
committed
Rubenoo's New portcount design(small changes) squished + 1 change
1 parent d728f45 commit 2f20205

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
3-
<solid android:color="@color/gray_text"/>
3+
<solid android:color="@color/app_color"/>
44
<corners android:radius="2dp"/>
55
</shape>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:shape="rectangle">
4+
<solid android:drawable="@drawable/card_background_dark" />
5+
<corners android:radius="2dp" />
6+
</shape>

cSploit/res/layout/target_list_item.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
android:layout_row="0"
6565
android:gravity="top|center_horizontal"
6666
android:text="@string/ports"
67-
android:textColor="@color/selectable_blue"
67+
android:textColor="@color/primary_material_light"
6868
android:textSize="12dp"
6969
android:textStyle="bold" />
7070

cSploit/src/org/csploit/android/MainActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,8 @@ public View getView(int position, View convertView, ViewGroup parent) {
857857
.findViewById(R.id.portCount) : null);
858858
holder.portCountLayout = (LinearLayout) (row != null ? row
859859
.findViewById(R.id.portCountLayout) : null);
860+
if (isDark)
861+
holder.portCountLayout.setBackgroundResource(R.drawable.rounded_square_grey);
860862
if (row != null)
861863
row.setTag(holder);
862864
} else

0 commit comments

Comments
 (0)